On 05/23/2012 01:47 PM, dotnetdub wrote:
Just one question. I want to enable a daily limit of 10% of the monthly limit.
I've added "daily_quota" => "10", to my global.inc
I've noticed that in rating.php that this is here:
var $daily_quota = 0; // by default do not check daily quota
Do I comment this out, set it to 10 or 1 to enable or delete it?
Don't edit rating.php. the value in global.inc should be enough. (line
5685 of rating.php overrides it)
And one other question.
I add a quota to the opensips table. When does it get copied to the
cdrtool.quota_usage table?
I have added quota now for all subscribers but they don't go the cdrtool table.
Try the quotaReset script and then quotaCheck. It should now rebuild
from radius/opensips db
--
Tijmen de Mes
AG Projects
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users