'Call-limit' in database

Hello everyone!

Well, I have a problem.
I keep my sip devices in the database (PostgreSQL) and I have a filled ‘call-limit’ column.
But this scheme is not working - I recieved ‘not in use’ status for peers who in queue and call is active.
If I keep my configuration in sip.conf no problems there, ‘In use’ status is correct.

So, may be it’s an invalid column ‘call-limit’ in DB? Or something else?

solved, I added rtcachefriends = yes to sip.conf and everything was good.