Ipaccount: Difference between revisions

From VoIPmonitor.org
Jump to navigation Jump to search
(Created page with "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 by default 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...")
 
No edit summary
Line 4: Line 4:
  ipaccount = yes
  ipaccount = yes
   
   
by default the counts are increased every ipaccount_interval which is by default 300second
the counts are increased every ipaccount_interval which is by default 300second
  ipaccount_interval = 300
  ipaccount_interval = 300



Revision as of 17:21, 26 August 2024

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', 'customers');

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');