[Freeswitch-users] Call limit on RTP-IP Address
Ken Rice
krice at freeswitch.org
Tue Jun 20 15:52:29 UTC 2017
No Defining multiple RTP IPs has been there for a while.... you don’t define them in different lines, the parser will filter out previous ones, you define them all together
<param name="rtp-ip" value1.2.3.4,1.2.3.5,1.2.3.6,1.2.3.7"/>
The stack will then round robin them. This feature was added several years ago so that FreeSWITCH can handle the required RTP load in traffic flows that can exceed that of 1Gig-E network connections while only using 1 SIP Profile for traffic. It's still useful although less of a requirement with 10GigE coming down in price. (you can now find managed 48port 10GE switches, NICs and Cables on the secondary market for a combined cost under $200/port now.
-----Original Message-----
From: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Serge S. Yuriev
Sent: Tuesday, June 20, 2017 10:35 AM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Call limit on RTP-IP Address
I mean if we can define multiple IPs at all. I was under impression parser uses only one last defined.
On 20/06/17 17:40, Ken Rice wrote:
> This is not a bug... there is just no way to select which IP or port is used nor is there an effective way to limit it short of just killing the call due to the way the IP/Port allocation works in the RTP stack currently.
>
> -----Original Message-----
> From: FreeSWITCH-users
> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
> Serge S. Yuriev
> Sent: Tuesday, June 20, 2017 9:17 AM
> To: freeswitch-users at lists.freeswitch.org
> Subject: Re: [Freeswitch-users] Call limit on RTP-IP Address
>
> Is this multi-IP config expected to work this way or it's eventuality/bug?
>
> On 20/06/17 17:05, Ken Rice wrote:
>> Theres no way to limit or select which IP/Port combination is used
>> from the available RTP IP/Port Range in the config you have. The
>> only way to do this would be to create a profile for each IP and then
>> limit the number of calls per profile
>>
>> *From:* FreeSWITCH-users
>> [mailto:freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of
>> *Nabeel Ahmad
>> *Sent:* Tuesday, June 20, 2017 4:16 AM
>> *To:* freeswitch-users at lists.freeswitch.org
>> *Subject:* [Freeswitch-users] Call limit on RTP-IP Address
>>
>> Hello all,
>>
>> If we assign more then one RTP-IP parameter to a sip profile , they
>> are used in round robin.
>>
>> Its perfect . I want to know is there a way to use some limit on that ip ?
>>
>> Say i've 5 ip address listening on box , and i want one concurrent
>> call limit on each media ip.
>>
>> How can i set limit on profile level or set from dialplan.
>>
>> I tried to do but it didn't work .
>>
>> Any help or advice will be highly appreciated
>>
>> Thanking all
>>
>> Nabeel.
>
>
> --
> Serge S. Yuriev
> Lead VoIP engineer
>
>
> ______________________________________________________________________
> ___ Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use
> rs
> http://www.freeswitch.org
>
>
> ______________________________________________________________________
> ___ Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use
> rs
> http://www.freeswitch.org
>
--
Serge S. Yuriev
Lead VoIP engineer
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
More information about the FreeSWITCH-users
mailing list