1) Is this method per user?
2) Another thing is, what happens if the BYE is not received (network issue
or whatever), will the dialog expire on the kamailio side so the dialog
count could me decremented? I mean, if the user has just 1 voice channel,
he could not make a call anymore, that's why it should be reliable..
On Mon, Nov 21, 2011 at 11:43 AM, Alex Balashov
<abalashov(a)evaristesys.com>wrote;wrote:
On 11/21/2011 05:42 AM, Mino Haluz wrote:
I was using cdrtool (prepaid table) and callcontrol to limit
concurrent calls. In fact this is only limiting
the outbound calls,
but I would like to use another mechanism which should limit the
inbound calls too. So basically to limit voice channels.
So is there some reliable method/module how to achieve this?
The 'dialog' module is a common approach to this problem. Organise both
inbound and outbound dialogs into profiles, and then get_profile_size() in
both your inbound and outbound call processing.
--
Alex Balashov - Principal
Evariste Systems LLC
260 Peachtree Street NW
Suite 2200
Atlanta, GA 30303
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web:
http://www.evaristesys.com/
______________________________**_________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**users<http:/…