<br><br>
<div><span class="gmail_quote">On 9/5/07, <b class="gmail_sendername">Sebastian Mangelkramer</b> <<a href="mailto:openser@mangelkramer.com">openser@mangelkramer.com</a>> 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>> El Wednesday 05 September 2007 18:11:40 Sebastian Mangelkramer<br>> escribió:<br>>> Dear list,<br>>><br>>> actually I'm searching for a solution to limit the max. simultaneous<br>>> calls per user.
<br>>> I`ve searched the internet and list-archives for possible solutions.<br>>> But until now i haven`t found a solution.<br>>><br>>> What i exactly need is to define the max. simultaneous calls per user
<br>>> (e.g. 2,4,6,8,...).<br>>> I know, that openSER is transaction-stateful, not call-stateful but<br>><br>><br>>> is there a way<br>>> to monitor the number of RTP-Sessions per user from Mediaproxy and
<br>>> set the<br>>> "max_calls"-variable via an AVP?<br>><br>> Sure not since the reason you gave above ;)<br><br>:-)<br><br>><br>><br>> I don't know a solution, but what about using the dialog module for
<br>> that?<br>> With that you can know how man calls are active (note that a died<br>> call with no<br>> BYE is still considered as active <= OpenSer not call-stateful).<br>> You could<br>> parse the result of the command about the active calls in order to
<br>> find<br>> the "From" and count them.<br><br>I know that openSER is only "transaction stateful", not "call<br>stateful" and i thought the dialog-module works only global.<br>But parsing the output for "From" could be a solution. That`s a good
<br>idea.<br>I`ll try that tonight.<br><br><br>><br>> 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 "virtual" peers in asterisk with a "call-limit" from the
<br>subscriber-table.<br><br>Kind regards,<br><br>Sebastian.</blockquote>
<div> </div>
<div> </div>
<div>Hi</div>
<div> </div>
<div>I have read this some time back</div>
<div> </div>
<div>may be its possible with dialog module</div>
<div> </div>
<div>ram</div></div><br>