TNG not loading data - Asterisk PBX

Web based, multi-user, Telephone Management System with budget management and barring control

Moderators: Leon van Heerden, Luanda_Junzi, Belinda Frick, Lee Hendricks

TNG not loading data - Asterisk PBX

Postby Andrew.Engelbrecht » Thu Jan 24, 2019 3:01 pm

Dear Sir / Madam

We have a customer with 424 peers/extensions defined on their Asterisk PBX. TNG has not loaded any CDR data for 10 days as it is unable to process the Peer List.

TNG logfile is full of entries below

2019-01-23 10:46:14:704 [1.1.1.13] - [AMI LOG] - Waiting on Dial Plan and Peer List
2019-01-23 11:36:21:369 [1.1.1.13] - [AMI LOG] - Waiting on Dial Plan and Peer List [Repeated 50 times]
2019-01-23 12:26:28:398 [1.1.1.13] - [AMI LOG] - Waiting on Dial Plan and Peer List [Repeated 50 times]
2019-01-23 13:16:35:685 [1.1.1.13] - [AMI LOG] - Waiting on Dial Plan and Peer List [Repeated 50 times]
2019-01-23 14:06:42:058 [1.1.1.13] - [AMI LOG] - Waiting on Dial Plan and Peer List [Repeated 50 times]
2019-01-23 14:56:48:937 [1.1.1.13] - [AMI LOG] - Waiting on Dial Plan and Peer List [Repeated 50 times]
2019-01-23 15:46:55:616 [1.1.1.13] - [AMI LOG] - Waiting on Dial Plan and Peer List [Repeated 50 times]
2019-01-23 16:37:02:067 [1.1.1.13] - [AMI LOG] - Waiting on Dial Plan and Peer List [Repeated 50 times]
2019-01-23 17:27:08:325 [1.1.1.13] - [AMI LOG] - Waiting on Dial Plan and Peer List [Repeated 50 times]
2019-01-23 18:17:14:802 [1.1.1.13] - [AMI LOG] - Waiting on Dial Plan and Peer List [Repeated 50 times]
2019-01-23 19:07:20:930 [1.1.1.13] - [AMI LOG] - Waiting on Dial Plan and Peer List [Repeated 50 times]
2019-01-23 19:57:27:090 [1.1.1.13] - [AMI LOG] - Waiting on Dial Plan and Peer List [Repeated 50 times]
2019-01-23 20:47:33:399 [1.1.1.13] - [AMI LOG] - Waiting on Dial Plan and Peer List [Repeated 50 times]
2019-01-23 21:37:39:551 [1.1.1.13] - [AMI LOG] - Waiting on Dial Plan and Peer List [Repeated 50 times]
2019-01-23 22:27:45:990 [1.1.1.13] - [AMI LOG] - Waiting on Dial Plan and Peer List [Repeated 50 times]
2019-01-23 23:17:52:143 [1.1.1.13] - [AMI LOG] - Waiting on Dial Plan and Peer List [Repeated 50 times]

Manager settings are
[tng]
secret = ???????????
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read = system,command
write = system,command
writetimeout = 20000

Is there any way that TNG can process CDR's without having to process the Peer List or if the timeout for procesing the Peer list be changed from 60 seconds to 120+ seconds or be a user defined option on the Tech screen?

I look forward to hear from you as a matter of urgency.

Andrew
Andrew.Engelbrecht
 
Posts: 27
Joined: Mon Oct 15, 2012 8:47 am

Re: TNG not loading data - Asterisk PBX

Postby Andrew.Engelbrecht » Thu Jan 24, 2019 5:12 pm

Hi Odette

Below is the information as requested. As mentioned, when we ran 1.0.7.0 we had very little problems. The main reason for upgrading was the fact the 1.0.7.0 could not cost 06X numbers. We had the same issue on 1.0.7.0 with the peer list, but we did not go for days where the list was not processed.

We are only storing 2018/2019 data in the TMS system; dropped everything else.

Asterisk 1.4.42
Intel(R) Core(TM)2 Quad CPU Q9400 @ 2.66GHz
4GB Ram

Thanks
Andrew
Andrew.Engelbrecht
 
Posts: 27
Joined: Mon Oct 15, 2012 8:47 am

Re: TNG not loading data - Asterisk PBX

Postby Belinda Frick » Wed Jan 30, 2019 12:34 pm

Dear Andrew

Can you please start TNG up using the following:

export LANG=C
strace -f -s 255 ./tng 2> trace.log

It will create a file 'trace.log' only logging the first 255 events on startup.
We also require the full tng.log for the same date-time as the trace.log

Please use 'Upload attachement' to attach:
trace.log
tng.log

Thank you
Belinda Frick
 
Posts: 3808
Joined: Fri Nov 12, 2010 4:25 pm

Re: TNG not loading data - Asterisk PBX

Postby Andrew.Engelbrecht » Thu Jan 31, 2019 3:37 pm

Hi Belinda

Ran TNG using strace as requested. Attached logfile. The trace file is too large to upload. Below please find the Dropbox link.

https://www.dropbox.com/s/cspf8st8lrwn4 ... og.gz?dl=0

I ran it yesterday and today; yesterday TNG processed the CDR flatfiles; same today; took an hour and 20 minutes before the peerlist was processed.

Regards
Andrew
You do not have the required permissions to view the files attached to this post.
Andrew.Engelbrecht
 
Posts: 27
Joined: Mon Oct 15, 2012 8:47 am

Re: TNG not loading data - Asterisk PBX

Postby Andrew.Engelbrecht » Fri Feb 22, 2019 9:40 am

Since my last update to this ticket TNG processed data for 4 days (up till 4 February) and never again. Any feedback on my previous post? Is this something that can be rectified?

Thanks
Andrew
Andrew.Engelbrecht
 
Posts: 27
Joined: Mon Oct 15, 2012 8:47 am

Re: TNG not loading data - Asterisk PBX

Postby Andrew.Engelbrecht » Fri Mar 01, 2019 8:38 am

Ami Log As Requested.

Andrew
You do not have the required permissions to view the files attached to this post.
Andrew.Engelbrecht
 
Posts: 27
Joined: Mon Oct 15, 2012 8:47 am

Re: TNG not loading data - Asterisk PBX

Postby Lee Hendricks » Fri Mar 01, 2019 9:03 am

Good day Andrew

Thank you for the requested AMT log.

We will investigate and advise you as soon as we have feedback for you
Lee Hendricks
 
Posts: 150
Joined: Mon Aug 25, 2014 2:18 pm


Return to TNG

Who is online

Users browsing this forum: No registered users and 1 guest