[OpenSIPS-Users] Quota - CDRTool Question

dotnetdub dotnetdub at gmail.com
Wed May 23 13:35:03 CEST 2012


On 23 May 2012 10:06, Tijmen de Mes <tijmen at ag-projects.com> wrote:
> Hi Stephen
>
>
>> What exactly needs to be defined in global.inc for the quota system to
>> function correctly?
>
> A few things can be configured in global.inc. Please see look at
> http://cdrtool.ag-projects.com/projects/cdrtool/repository/entry/setup/global.inc.complex.sample
>
>> Is there detailed documentation anywhere?
>
> Quota docs are here
> http://cdrtool.ag-projects.com/projects/cdrtool/repository/entry/doc/QuotaSystem.txt
>
> If you still don't get it working or things are unclear, please let me know.
>
> --
> Tijmen de Mes
> AG Projects
>


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?

Should the daily % work out of the box?

Forgot to mention I am running opensips1.72 and CDRTool 8.3

Thanks in advance.

Stephen.


>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users



More information about the Users mailing list