root/doc/QuotaSystem.txt

Revision 1052, 1.1 kB (checked in by Adrian Georgescu <ag@…>, 2 months ago)

Removed memcached from documentation

Line 
1
2The quota system
3----------------
4
5The quota system works with OpenSER data sources. It enforces usage limits
6for post-paid accounts.
7
8The quota system builds incremental statistics with usage information from
9the normalized SIP sessions, it compares the curent usage with the monthly
10quota assigned by administrator and blocks the accounts in the SIP Proxy
11when the quota is exceeded.
12
13The system will not stop in real-time ongoing calls but provides in practice
14a practical protection against fraudulent usage of the platform.
15
16The quota is checked by a cron job:
17
18/var/www/CDRTool/scripts/SER/quotaCheck.php
19
20At the beginning of each calendar month the quota usage is reset and all
21users are unblocked:
22
23/var/www/CDRTool/scripts/SER/quotaReset.php
24
25The current quota usage can be monitored in Rating -> Quota usage web page.
26
27When quota is exceeded, an email notification is sent to the user and a copy
28of the message to the platform administrator. To customize the email message
29subject, body and other header fields you must create some entries in
30cdrtool.settings table. See CDRTool/setup/mysql/custom_notifications.mysql
31for an example.
Note: See TracBrowser for help on using the browser.