radius + mysql + hotspot

I install radius and give my customers 5GB download and Upload limits then it works good but i see traffic limit reached but i know they have quato and i look their accounts in radreply it shows

Mikrotik-Xmit-Limit = 1
Mikrotik-Recv-Limit = 1

I dont understand what it cause, because its working good 2 or 3 days sometimes but sometimes few hours later it do this?

where i’m wrong can you help me

what exactly the problem. .? can you post screenshot ?

This account used only 1GB but we give him 5GB limit

I’m not current on this, but here is the wiki
http://wiki.mikrotik.com/wiki/Manual:RADIUS_Client

The explanation there is Mikrotik-Recv-Limit is 32 bits, and may only go to 1G. If you want to use Gigabytes,
Mikrotik-Recv-Limit-Gigawords is the high order 32 bits if you need more. Both need to be sent in the same Access-Accept message. At least that is what the doc implies. I’m not sure if Mikrotik-Recv-Limit is needed if you use Mikrotik-Recv-Limit-Gigawords.

And it appears even then, the limit is 4GB.

I try it but nothing change.

Are you using FreeRADIUS? I use radtest to insure the radius server is sending the correct values. On a shell on the radius server:
radtest user password 127.0.0.1 0 radiussecret
If it is not being sent, you might want to check the radius mikrotik dictionary and insure those variables are allowed in your version. You can modify that list.

yes i use Freeradius, its working only problem is Quato