[OpenSIPS-Users] Quota - CDRTool Question

dotnetdub dotnetdub at gmail.com
Wed May 23 13:47:34 CEST 2012


On 23 May 2012 12:35, dotnetdub <dotnetdub at gmail.com> wrote:
> 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.
>

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.

Thanks
Stephen.



More information about the Users mailing list