I figured it out!<br><br>thanks<br><br><br><div class="gmail_quote">On Sat, Oct 31, 2009 at 5:21 PM, Mouncifbb <span dir="ltr"><<a href="mailto:mouncifbb@gmail.com">mouncifbb@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dynamic, number of allowed channels<br>
Per DID will be stored in mysql db<br>
<br>
So how can find out how many channels a particular DID is using?<div><div></div><div class="h5"><br>
<br>
On Oct 31, 2009, at 9:45 AM, Uwe Kastens <<a href="mailto:kiste@kiste.org" target="_blank">kiste@kiste.org</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am trying to limit number of channels on a called DID going to opensips.<br>
I read the following doc:<br>
<a href="http://www.opensips.org/Resources/DocsTutConcurrentCalls" target="_blank">http://www.opensips.org/Resources/DocsTutConcurrentCalls</a><br>
how do I use it for inbound calls coming from PSTN to opensips and limit<br>
simultaneous calls on it?<br>
</blockquote>
<br>
How would you like to configure your channel limit? Static or dynamic?<br>
<br>
You need to identify the source of the number (User Part of RURI?),<br>
mabye make a lookup against a db and then test, if the channel limit is<br>
reached.<br>
<br>
Its not so complicated.<br>
<br>
BR<br>
<br>
Uwe<br>
<br>
<br>
-- <br>
<br>
kiste lat: 54.322684, lon: 10.13586<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote>
</div></div></blockquote></div><br>