<br><br>
<div><span class="gmail_quote">On 9/5/07, <b class="gmail_sendername">Sebastian Mangelkramer</b> &lt;<a href="mailto:openser@mangelkramer.com">openser@mangelkramer.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><br><br>Am 05.09.2007 um 18:15 schrieb Iñaki Baz Castillo:
<br><br>&gt; El Wednesday 05 September 2007 18:11:40 Sebastian Mangelkramer<br>&gt; escribió:<br>&gt;&gt; Dear list,<br>&gt;&gt;<br>&gt;&gt; actually I&#39;m searching for a solution to limit the max. simultaneous<br>&gt;&gt; calls per user.
<br>&gt;&gt; I`ve searched the internet and list-archives for possible solutions.<br>&gt;&gt; But until now i haven`t found a solution.<br>&gt;&gt;<br>&gt;&gt; What i exactly need is to define the max. simultaneous calls per user
<br>&gt;&gt; (e.g. 2,4,6,8,...).<br>&gt;&gt; I know, that openSER is transaction-stateful, not call-stateful but<br>&gt;<br>&gt;<br>&gt;&gt; is there a way<br>&gt;&gt; to monitor the number of RTP-Sessions per user from Mediaproxy and
<br>&gt;&gt; set the<br>&gt;&gt; &quot;max_calls&quot;-variable via an AVP?<br>&gt;<br>&gt; Sure not since the reason you gave above ;)<br><br>:-)<br><br>&gt;<br>&gt;<br>&gt; I don&#39;t know a solution, but what about using the dialog module for
<br>&gt; that?<br>&gt; With that you can know how man calls are active (note that a died<br>&gt; call with no<br>&gt; BYE is still considered as active &lt;= OpenSer not call-stateful).<br>&gt; You could<br>&gt; parse the result of the command about the active calls in order to
<br>&gt; find<br>&gt; the &quot;From&quot; and count them.<br><br>I know that openSER is only &quot;transaction stateful&quot;, not &quot;call<br>stateful&quot; and i thought the dialog-module works only global.<br>But parsing the output for &quot;From&quot; could be a solution. That`s a good
<br>idea.<br>I`ll try that tonight.<br><br><br>&gt;<br>&gt; But I think a more solid solution could be using a B2BUA.<br><br>Perhaps i could use Asterisk with mySQL-views to the subscriber-table<br>of openSER and<br>create &quot;virtual&quot; peers in asterisk with a &quot;call-limit&quot; from the
<br>subscriber-table.<br><br>Kind regards,<br><br>Sebastian.</blockquote>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Hi</div>
<div>&nbsp;</div>
<div>I have read this some time back</div>
<div>&nbsp;</div>
<div>may be its possible with dialog module</div>
<div>&nbsp;</div>
<div>ram</div></div><br>