📜 ⬆️ ⬇️

Asterisk statistics interface. New version, new functionality

As I expected, completing the previous publication , my journey was just beginning, and there was still a lot of accomplishments ahead.

During this, almost two-month, odyssey, a lot of interesting and significant for the project of the statistics of calls of IP-PBX Asterisk happened.

First of all, the dedicated server from ServerClub is still with us, for which many thanks to them. Secondly, on the way, we were joined by an intelligent comrade and friend of komivlad , who actively joined the development. And together, rolling up our sleeves, we managed to implement several new, useful functions.
')
What and I hasten to tell you. Here are some of them:


To begin with, one screenshot:



And under the cut, I will describe, as well as demonstrate, the main innovations in detail. And of course, there is a small gift waiting for you there.

Innovations


Let us examine in order all the points indicated before the kata.


Upload your logo and it will be displayed in several blocks of the interface, as in the screenshot:




You may have several sales teams or cold call groups. Using this feature you can group all PBX users and view reports in the context of these groups. For example, add the group "Hunters":



And let's look at the outgoing report in the context of this group:




The supervisor can be the head of a department, branch or business unit. The person to whom you want to provide the ability to access not all PBX data, but only to view reports, search and listen to calls of specific groups of users or Asterisk queues.

On the appropriate page:



It is added, edited, and access for supervisors is turned on and off.


Several city phone numbers can be connected to Asterisk and it is sometimes important to estimate how many calls have been made to each of them at a certain date and time. In the “Settings - Numbers” menu item, phone numbers of the company and processing contexts of each of them are entered:


The report "Summary statistics on external numbers" is displayed on the first screenshot before kat.


In a few comments to the previous post, as well as by mail and social networks asked about the general call log. Plus, this item was one of the first on our TODO list.
Well, we said we would do it - we did it!

The “Statistics” menu item has undergone changes and is divided into “External Calls”, where only incoming / outgoing to the world are displayed, and “All Calls”, where you can find all the calls that are in the Asterisk database.


Starting with Asterisk 12+, the logic of the CDR module has changed. Suppose there is a Hunters queue on Asterisk with a ringall call distribution strategy. And there is a local telephone number 111-222-333, incoming calls to which are sent to this queue.

Earlier, when a call arrived, one record fell into the CDR and this call was marked as Answered.
In Asterisk 12+ records in the CDR will fall as much as the operators in the queue. By altering the sql queries somewhat and adding the code, we managed to bypass this Asterisk chip and display the correct indicators.

And, finally, the last one at the moment, but by no means the last point on the way of our march.


You probably noticed the Excel icon in the first screenshot. So, by clicking this icon on the Main section in the context of incoming or outgoing calls, you get an xls file with a report for the selected period.

Terms of Service. Plans


At the moment we offer 2 options for cooperation on the product Stat.ViStep.RU :

- Local version, for permanent use

Offered as a docker container. It is installed on your server (VM), in the local network.
And, accordingly, the web-interface is also available only in the local network (NAT decides, indisputably, but not for everyone).

It does not matter how many Asterisk you have, since on a separate VM, you can run as many containers as needed and connect each one to a specific Asterisk server (more precisely, to an Asterisk database).

All updates will be available to you at no additional charge.

- Cloud version

This implies the installation of a script that synchronizes all data from the server (database and call recording) of client telephony to the cloud service. When choosing this version, the web-interface is available from anywhere in the world where there is Internet access at stat.vistep.ru

Assistance in installing / configuring the product is free in both versions.

All the details you can find out by writing to us at sales@vistep.ru

In the near future:


Conclusion


Another forced march behind. The journal of travel notes was replenished with another portion of impressions and control points of the journey ... And now, the time of the halt comes to an end. The route of the next route is outlined and we again set off to conquer new “paths, rivers, seas and peaks” ...

As a presentation today 10% discount on your chosen version of the product!

If you need help configuring Asterisk, I’ll be happy to email us at support@vistep.ru .
For cooperation, terms of service and other, we are waiting for letters to sales@vistep.ru

Let me remind you - all my contacts are in my profile, and I will also be happy to answer your questions in the comments.

Thank you for your attention and let me leave, that's all!

Source: https://habr.com/ru/post/315910/


All Articles