Hi Borislav,
Perhaps the problem can be solved by checking with RADIUS before allowing the INVITE to complete. RADIUS can be set up to query a database to check for "simultaneous usage".
Another suggestion would be for you to maintain (and then check) your own use counters with the avp_db_* functions. If the count is too high, then the INVITE is not allowed to complete.
I'm not aware of any posted example configurations that perform either of the above functions. Maybe someone on the list has one they would be willing to share with the community.
Regards, Norm
Borislav Ivandic wrote:
Hi Norman,
Thanks for your proposal, but it seems I didn't explain in the right way my question. With "max_contacts", you have a generic limitation of AOR's. That means it's for all users the same limit. What I was looking for, was a way to limit individual users with customized limits. i.e: user A, 10 simultaneous calls; user B, 1 call; user C, 3 simultaneous calls.
Borislav
2007/8/22, Norman Brandinger <norm@goes.com mailto:norm@goes.com>:
Hi Borislav, The "registrar" module has a "max_contacts" parameter. This parameter can be used to limit the number of contacts per AOR (Address of Record) in the user location database. Perhaps, using this parameter will solve your problem. Regards, Norm Borislav Ivandic wrote: > Hi All, > > > Is there any way to limit the number of active calls for a single > user? I was looking the dialog module, but I think it's more oriented > a global number of calls. > > Any tips or ideas? > > Thanks in advance, > > Borislav > > > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > Users@openser.org <mailto:Users@openser.org> > http://openser.org/cgi-bin/mailman/listinfo/users >