[OpenSIPS-Users] Opensips/MediaProxy

Jeff Pyle jpyle at fidelityvoice.com
Fri Feb 8 23:03:06 CET 2013


Good point, and great suggestion!


On Fri, Feb 8, 2013 at 4:33 PM, Muhammad Shahzad <shaheryarkh at gmail.com>wrote:

> Well, there is one way to do that, simply shorten the port range. A
> typical audio call with two way media consumes 4 ports (caller rtp + caller
> rtcp + callee rtp + callee rtcp), So if you want media relay to stop
> accepting calls beyond 500 concurrent calls just set port range to 2,000.
> For 501th call media relay will reject telling dispatcher that its out of
> available ports and dispatch will try another relay (if available) or
> reject call to opensips (if no other relay) and in turn opensips will
> reject call with response code 500.
>
> Thank you.
>
>
> On Fri, Feb 8, 2013 at 10:24 PM, Jeff Pyle <jpyle at fidelityvoice.com>wrote:
>
>> Hi Muhammad,
>>
>> My thinking is not so much in the network requirements, but only in the
>> ability to artificially limit the number of calls a particular relay can
>> accept at one time.  As an example, let's say I have a relay that I want to
>> handle only 50 concurrent calls before it tells the dispatcher, "Sorry, I'm
>> full", so the dispatcher can find another relay.
>>
>> If there is enough interest, perhaps it will make its way into the
>> feature list at some point in the future.
>>
>>
>> - Jeff
>>
>>
>>
>> On Fri, Feb 8, 2013 at 3:38 PM, Muhammad Shahzad <shaheryarkh at gmail.com>wrote:
>>
>>> There is no software limit but rather available bandwidth that limits
>>> number of concurrent calls as far as media proxy is concerned.
>>> Theoretically a G711A/U call (with two way media) requires roughly 160 kbps
>>> bandwidth, which yields around 640 concurrent calls on 100 mbps connection.
>>> And if you have say iLBC or G729 call (with two way media) then should be
>>> able to handle around 5 times more. However this assumes that you have
>>> dedicated / consistant bandwidth which is only used by RTP traffic, which
>>> almost never happens in practice, since there are always some other
>>> services running using network.
>>>
>>> Thank you.
>>>
>>>
>>> On Fri, Feb 8, 2013 at 5:17 PM, Saúl Ibarra Corretgé <
>>> saul at ag-projects.com> wrote:
>>>
>>>>
>>>> > How does one configure the maximum number of calls per relay?
>>>> >
>>>>
>>>> There is no such a setting :-)
>>>>
>>>> --
>>>> Saúl Ibarra Corretgé
>>>> AG Projects
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opensips.org
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>>
>>>
>>>
>>> --
>>> Muhammad Shahzad
>>> -----------------------------------
>>> CISCO Rich Media Communication Specialist (CRMCS)
>>> CISCO Certified Network Associate (CCNA)
>>> Cell: +49 176 99 83 10 85
>>> MSN: shari_786pk at hotmail.com
>>> Email: shaheryarkh at googlemail.com
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
> --
> Muhammad Shahzad
> -----------------------------------
> CISCO Rich Media Communication Specialist (CRMCS)
> CISCO Certified Network Associate (CCNA)
> Cell: +49 176 99 83 10 85
> MSN: shari_786pk at hotmail.com
> Email: shaheryarkh at googlemail.com
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130208/f63739a3/attachment-0001.htm>


More information about the Users mailing list