If FS chooses a busy UDP port taken by another app, is it recheck another available UDP port ? Thx F
I mean the UDP ports inside the range set in switch conf not port 5060 or 5080 ----- Original Message ----- From: "Sergey Okhapkin" <sos@sokhapkin.dyndns.org> To: "FreeSWITCH Users Help" <freeswitch-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@sokhapkin.dyndns.org> To: "FreeSWITCH Users Help" <freeswitch-users@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@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@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 FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
ok. to be sure the UDP port range is for 127.0.0.1 or the ext-rtp-ip ? ----- Original Message ----- From: Anthony Minessale To: FreeSWITCH Users Help 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@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@sokhapkin.dyndns.org> To: "FreeSWITCH Users Help" <freeswitch-users@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@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@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 FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900 ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@gmail.com> *To:* FreeSWITCH Users Help <freeswitch-users@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@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@sokhapkin.dyndns.org> To: "FreeSWITCH Users Help" <freeswitch-users@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@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@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
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
------------------------------
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@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@gmail.com> *To:* FreeSWITCH Users Help <freeswitch-users@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@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@sokhapkin.dyndns.org> To: "FreeSWITCH Users Help" <freeswitch-users@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@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@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
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
------------------------------
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@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@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 FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
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@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@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@gmail.com> *To:* FreeSWITCH Users Help <freeswitch-users@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@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@sokhapkin.dyndns.org> To: "FreeSWITCH Users Help" <freeswitch-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessa le@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@co nference.freeswitch.org> pstn:+19193869900
------------------------------
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@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@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@gmail.com> *To:* FreeSWITCH Users Help <freeswitch-users@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@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@sokhapkin.dyndns.org> To: "FreeSWITCH Users Help" <freeswitch-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@hotmail.com<MSN%3Aanthony_minessale@hotmail.com>< MSN%3Aanthony_minessale@hotmail.com<MSN%253Aanthony_minessale@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> <PAYPAL%3Aanthony.minessa le@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org<sip%3A888@conference.freeswitch.org>< sip%3A888@conference.freeswitch.org<sip%253A888@conference.freeswitch.org>
googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> <googletalk%3Aconf%2B888@co nference.freeswitch.org> pstn:+19193869900
------------------------------
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
IP Masquerading in Linux is something you can configure, AFAIK. David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 30/07/2010 à 21:06, Sergey Okhapkin a écrit :
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@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@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@gmail.com> *To:* FreeSWITCH Users Help <freeswitch-users@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@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@sokhapkin.dyndns.org> To: "FreeSWITCH Users Help" <freeswitch- users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@hotmail.com <MSN%3Aanthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL %3Aanthony.minessa le@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf %2B888@co nference.freeswitch.org> pstn:+19193869900
------------------------------
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Check /proc/sys/net/ipv4/ip_local_port_range The default on my system doesn't overlap with this except possibly by one port number (fs ends at 32768, kernel starts there). Your kernel shouldn't assign any ports other than those unless the port number has been specifically requested by the application, so that should stop the kernel using the fs ports for nat or other software. There's a similar setting for reserving a port range in the windows registry (check google). Steve on iPhone On 30 Jul 2010, at 20:06, Sergey Okhapkin <sos@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@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@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@gmail.com> *To:* FreeSWITCH Users Help <freeswitch-users@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@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@sokhapkin.dyndns.org> To: "FreeSWITCH Users Help" <freeswitch-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessa le@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@co nference.freeswitch.org> pstn:+19193869900
------------------------------
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
right, thx for this precisions ----- Original Message ----- From: Anthony Minessale To: FreeSWITCH Users Help Sent: Friday, July 30, 2010 2:50 PM Subject: Re: [Freeswitch-users] udp port range 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@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@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 To: FreeSWITCH Users Help 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@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@sokhapkin.dyndns.org> To: "FreeSWITCH Users Help" <freeswitch-users@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@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@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 FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900 ------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@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@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 FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900 ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
That's what I mean too... Call will fail if FS selects UDP RTP port, but the port is occupied by some other process. On Friday 30 July 2010, Madovsky wrote:
I mean the UDP ports inside the range set in switch conf not port 5060 or 5080
----- Original Message ----- From: "Sergey Okhapkin" <sos@sokhapkin.dyndns.org> To: "FreeSWITCH Users Help" <freeswitch-users@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (6)
-
Anthony Minessale
-
David Ponzone
-
Madovsky
-
Nyamul Hassan
-
Sergey Okhapkin
-
Steven Ayre