Hi all,
I'm trying to find a way to get a number of the registered user locations and if it is bigger that some limit then kamailio will not save new registrations.
reg_fetch_contacts() from registrar module doesn't help as it can fetch contacts only for one user. max_contacts parameter of the registrar module limits the number of contacts per AOR, but i need to limit max number of all contacts that proxy will keep in usrloc.