Home Forums SecAst (Security for Asterisk) Configuration & Optimization License violation but no calls in progress Reply To: License violation but no calls in progress

Avatar photoTelium Support Group
Participant
Post count: 262

The fact that the license violation occurs close to the time of a log rotation is a red herring (no relationship).

SecAst does not track calls in progress; it asks Asterisk to report the number of calls in progress. You can perform the same query from the command line:

asterisk -vx ‘core show calls’


So the question is why is your Asterisk installation reporting 8 calls in progress. This can be due to:

  • Valid users making calls in or out
  • Valid user starting the conference feature
  • Incoming callers leaving a voicemail
  • Automated calls
  • Hackers calling in to probe your dialplan
  • Asterisk incorrectly not releasing channels
  • Dialplan errors

If the number of calls reports higher than you expect, you can delve deeper into the calls in progress using a command like:

asterisk -vx ‘core show channels’

If you are using FreePBX then Sangoma recently started making automatic calls in the background to set ‘time condition’ variables. In essence FreepBX is making invisible calls, and Asterisk will report these as calls in progress; nothing we can do about it, and that won’t explain 8 calls in progress.

So…in a nutshell SecAst does not count calls – it gets that number from Asterisk. Something else is going on with your Asterisk setup. Repeat the first command above once every 30 seconds and watch if your ‘calls processed’ count is increasing even when users aren’t making calls. That should help you figure out why Asterisk is reporting a count you don’t expect!

And now the bad news…it sounds like you’re struggling with some basic Linux admin and Asterisk admin tasks. If this is a commercial installation I would recommend purchasing 2 hours of support so we can help you through setup. If this is a home installation you probably have a big learning curve ahead of you in terms of Ubuntu and Asterisk – I’m not sure if it’s worthwhile for you to continue but we can’t really offer free support for Asterisk (or Ubuntu). I’m not sure if you are using a configuration generator either (you don’t offer any details of your system), but if this is a commercial installation you may want to move up to a package like xCALLY which provides a very professional turnkey solution without many of the headaches involved with many smaller packages (you don’t need to know anything about Linux or Asterisk).