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

Nabeel Ahmad nabeel.10.ahmed at gmail.com
Tue Jun 20 18:39:56 UTC 2017


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.168.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-
> 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
>
>
> _________________________________________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170620/1d4b3072/attachment.html>


More information about the FreeSWITCH-users mailing list