1) Is this method per user?<br>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&#39;s why it should be reliable..<br>
<br><div class="gmail_quote">On Mon, Nov 21, 2011 at 11:43 AM, Alex Balashov <span dir="ltr">&lt;<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On 11/21/2011 05:42 AM, Mino Haluz wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I was using cdrtool (prepaid table) and callcontrol to limit<br>
concurrent calls. In fact this is only limiting the outbound calls,<br>
but I would like to use another mechanism which should limit the<br>
inbound calls too. So basically to limit voice channels.<br>
<br>
So is there some reliable method/module how to achieve this?<br>
</blockquote>
<br></div></div>
The &#39;dialog&#39; 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.<br>
<br>
-- <br>
Alex Balashov - Principal<br>
Evariste Systems LLC<br>
260 Peachtree Street NW<br>
Suite 2200<br>
Atlanta, GA 30303<br>
Tel: <a href="tel:%2B1-678-954-0670" value="+16789540670" target="_blank">+1-678-954-0670</a><br>
Fax: <a href="tel:%2B1-404-961-1892" value="+14049611892" target="_blank">+1-404-961-1892</a><br>
Web: <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a><br>
<br>
______________________________<u></u>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
</blockquote></div><br>