[Freeswitch-users] Call limit on RTP-IP Address

Anthony Minessale anthony.minessale at gmail.com
Thu Jun 22 20:55:52 UTC 2017


Its possible in theory as there is a spec for it but it would require both
ends supporting it and would have to be researched and a price figured
out.  You can contact consulting at freeswitch.org if you would like.


On Thu, Jun 22, 2017 at 3:24 PM, Nabeel Ahmad <nabeel.10.ahmed at gmail.com>
wrote:

> Hi,
> Ok call limit per media ip can be achieved in many ways though i was
> looking some straight FSish method .
> can we use rtp over tcp ? I know its a bad idea but where extreme udp
> filtering is done , only way is to work on tcp. So can FS work with coturn
> to relay media in tcp some how (or any other way )? If have to pay for this
> will do.
>
>
> On Wed, Jun 21, 2017 at 3:01 AM, Anthony Minessale <
> anthony.minessale at gmail.com> wrote:
>
>> Its not possible.  Maybe file a bounty.
>>
>> On Tue, Jun 20, 2017 at 2:44 PM Nabeel Ahmad <nabeel.10.ahmed at gmail.com>
>> wrote:
>>
>>> Umm...I am on limit page since Morning . limit on any user , outbound
>>> gateway all is working well. they are all in dialplan . How can i limit
>>> inbound profile this i still can't figure from the link given.
>>>
>>> And one question for rtp-ip value as i was doing it some other way .
>>> If i do like you have mentioned ,sofia replies with this sdp .
>>>
>>> *<param name="rtp-ip" value="192.168.1.1,192.168.1.2,192.168.1.3" />*
>>>
>>> o=FreeSWITCH 1497955081 1497955082 IN IP4 192.168.1.1,192.168.1.2,192.16
>>> 8.1.4
>>> s=FreeSWITCH
>>> *c=IN IP4 192.168.1.1,192.168.1.2,192.168.1.4    *
>>>
>>> I am not sure if this is valid sdp attribute or not.
>>>
>>> I am doing like this
>>> <param name="rtp-ip"value="192.168.1.1"/>
>>> <param name="rtp-ip value="192.168.1.2"/>
>>> <param name="rtp-ip value="192.168.1.3" />
>>>
>>> Which on each call offers one ip in sdp like this .
>>> o=FreeSWITCH 1497961414 1497961415 IN IP4 192.168.1.3
>>> s=FreeSWITCH
>>> c=IN IP4 192.168.1.3
>>>
>>> and this on another call .
>>>
>>> o=FreeSWITCH 1497961414 1497961415 IN IP4 192.168.1.1
>>> s=FreeSWITCH
>>> c=IN IP4 192.168.1.1
>>>
>>>
>>>
>>> On Tue, Jun 20, 2017 at 8:52 PM, Ken Rice <krice at freeswitch.org> wrote:
>>>
>>>> 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-bounc
>>>> es 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
>>>>
>>>>
>>>> ____________________________________________________________
>>>> _____________
>>>> 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
>>>>
>>>
>>> ____________________________________________________________
>>> _____________
>>> 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
>>
>> --
>> Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬
>>
>>http://freeswitch.org/http://cluecon.com/>> http://twitter.com/FreeSWITCH
>> ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
>> <http://freeswitch.org/g+>*
>>
>> ClueCon Weekly Development Call
>> ☎ sip:888 at conference.freeswitch.org  ☎ +19193869900 <(919)%20386-9900>
>>
>> https://www.youtube.com/watch?v=9XXgW34t40s
>> https://www.youtube.com/watch?v=NLaDpGQuZDA
>>
>> _________________________________________________________________________
>> 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
>>
>
>
> _________________________________________________________________________
> 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
>



-- 
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬

☞ http://freeswitch.org/http://cluecon.com/http://twitter.com/FreeSWITCH
☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
<http://freeswitch.org/g+>*

ClueCon Weekly Development Call
☎ sip:888 at conference.freeswitch.org  ☎ +19193869900

https://www.youtube.com/watch?v=9XXgW34t40s
https://www.youtube.com/watch?v=NLaDpGQuZDA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170622/dc3962af/attachment-0001.html>


More information about the FreeSWITCH-users mailing list