Ipaccount

From VoIPmonitor.org
Revision as of 17:22, 26 August 2024 by Petr.halounek (talk | contribs)
Jump to navigation Jump to search

It is used for enabling the counting of the packets per customer/resseler.

in /etc/voipmonitor.conf enable following option and restart sniffer service

ipaccount = yes

the counts are increased every ipaccount_interval which is by default 300second

ipaccount_interval = 300

After the sniffer service creates the agreggation tables in a DB in the GUI appears the new menuitems under the user&audit section (resellers and customers) In a GUI's configuration you can then enable following in configuration.php for the GUI in /var/www/html/config/configuration.php (when default path for the GUI is used /var/www/html):

define('ENABLE_CUSTOMERS', true);
define('TYPE_CUSTOMERS_TABLES', 'users');

above will stores the Customers into Users table, but you can force the GUI to store the Customers into separate table by definition of

define('ENABLE_CUSTOMERS', true);
define('TYPE_CUSTOMERS_TABLES', 'customers');