[Freeswitch-users] udp port range

Nyamul Hassan mnhassan at usa.net
Fri Jul 30 12:16:32 PDT 2010


If you re-read Anthony's email, you would get a better idea of how FS gets
the ports.  There is probably a very good reason why the ports are chosen at
an earlier stage that they cannot be changed if binding fails.

In any case, if changing this affects CPS and stability, it's better not to
change at all!
Regards
HASSAN



On Sat, Jul 31, 2010 at 01:06, Sergey Okhapkin <sos at sokhapkin.dyndns.org>wrote:

> I can't reserve ports for  FS 100% reliable, the FS box works as NAT router
> also and kernel can catch any port for NAT mapping.
>
> Why not just try next available port from the allocated range if the
> current
> selected port is not available? Up to 10 retries.
>
> On Friday 30 July 2010, Anthony Minessale wrote:
> > no, like I said you must reserve the ports you allocated to FreeSWITCH,
> to
> > FreeSWITCH.
> > It is smart enough to not use the same ports but it won't deal with
> > something else stealing one of them, it will hangup the call with a port
> > error.
> >
> > The port is already reserved before it is ever actually open and by the
> >  time you realize it's already taken it's too late to do anything about
> it.
> >  Opening it ahead is a giant waste of resources and would cost you in
> call
> >  volume and CPS.
> >
> > On Fri, Jul 30, 2010 at 1:33 PM, Nyamul Hassan <mnhassan at usa.net> wrote:
> > > Is there a workaround for trying to bind to another port within the
> > > range, instead of dropping the call?
> > >
> > > Regards
> > > HASSAN
> > >
> > > On Sat, Jul 31, 2010 at 00:11, Madovsky <infos at madovsky.org> wrote:
> > >>  ok.
> > >> to be sure the UDP port range is for 127.0.0.1 or the ext-rtp-ip ?
> > >>
> > >> ----- Original Message -----
> > >> *From:* Anthony Minessale <anthony.minessale at gmail.com>
> > >> *To:* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> > >> *Sent:* Friday, July 30, 2010 2:04 PM
> > >> *Subject:* Re: [Freeswitch-users] udp port range
> > >>
> > >> failure to bind to a port results in a dropped call.
> > >> you must allocate the ports to be exclusive to FreeSWITCH if you want
> to
> > >> a avoid that.
> > >>
> > >> On Fri, Jul 30, 2010 at 12:49 PM, Madovsky <infos at madovsky.org>
> wrote:
> > >>> I mean the UDP ports inside the range set in switch conf
> > >>> not port 5060 or 5080
> > >>>
> > >>> ----- Original Message -----
> > >>> From: "Sergey Okhapkin" <sos at sokhapkin.dyndns.org>
> > >>> To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
> > >>> Sent: Friday, July 30, 2010 6:15 AM
> > >>> Subject: Re: [Freeswitch-users] udp port range
> > >>>
> > >>> > No :-(
> > >>> >
> > >>> > On Friday 30 July 2010, Madovsky wrote:
> > >>> >> If FS chooses a busy UDP port taken by another app,
> > >>> >> is it recheck another available UDP port ?
> > >>> >>
> > >>> >> Thx
> > >>> >>
> > >>> >> F
> > >>> >
> > >>> > _______________________________________________
> > >>> > 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
> > >>>
> > >>> _______________________________________________
> > >>> 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-user
> > >>>s http://www.freeswitch.org
> > >>
> > >> --
> > >> Anthony Minessale II
> > >>
> > >> FreeSWITCH http://www.freeswitch.org/
> > >> ClueCon http://www.cluecon.com/
> > >> Twitter: http://twitter.com/FreeSWITCH_wire
> > >>
> > >> AIM: anthm
> > >> MSN:anthony_minessale at hotmail.com<MSN%3Aanthony_minessale at hotmail.com><
> MSN%3Aanthony_minessale at hotmail.com<MSN%253Aanthony_minessale at hotmail.com>
> >
> > >> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> <PAYPAL%3Aanthony.minessa
> > >>le at gmail.com> IRC: irc.freenode.net #freeswitch
> > >>
> > >> FreeSWITCH Developer Conference
> > >> sip:888 at conference.freeswitch.org<sip%3A888 at conference.freeswitch.org><
> sip%3A888 at conference.freeswitch.org<sip%253A888 at conference.freeswitch.org>
> >
> > >> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> <googletalk%3Aconf%2B888 at co
> > >>nference.freeswitch.org> pstn:+19193869900
> > >>
> > >> ------------------------------
> > >>
> > >> _______________________________________________
> > >> 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
> > >>
> > >>
> > >> _______________________________________________
> > >> 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
> > >
> > > _______________________________________________
> > > 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
> >
>
>
> _______________________________________________
> 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/20100731/1f604a7b/attachment.html 


More information about the FreeSWITCH-users mailing list