What would happen if a selected rtp port is used?
Hi, I'm running more than one FS on a server, just want to know, how does FS chose a free rtp port? If a rtp port selected by one FS already used by another FS or another process, can it pick another free one automatically? Another option I know would be limit the rtp port range for each FS instance or bind to different address. But definitely need more configuration. Thanks.
it uses a port allocator to reserve ports and distribute them randomly per distinct ip used by the rtp stack. the range is configurable in switch.conf.xml On Sun, Apr 26, 2009 at 10:06 PM, seven <dujinfang@gmail.com> wrote:
Hi,
I'm running more than one FS on a server, just want to know, how does FS chose a free rtp port? If a rtp port selected by one FS already used by another FS or another process, can it pick another free one automatically?
Another option I know would be limit the rtp port range for each FS instance or bind to different address. But definitely need more configuration.
Thanks.
_______________________________________________ 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/ 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> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
Thank you. I configured with different port range on different FS instance. I also run a couple of skype instances using skypiax, and unfortunately skype ports is not likely controllable and perhaps have potential conflict. But I don't care at this time as the traffic is low and the chance is very rare. Maybe configure multiple ip addresses is the simplest solution to more complicated scenario. On Apr 27, 2009, at 11:30 AM, Anthony Minessale wrote:
it uses a port allocator to reserve ports and distribute them randomly per distinct ip used by the rtp stack. the range is configurable in switch.conf.xml
On Sun, Apr 26, 2009 at 10:06 PM, seven <dujinfang@gmail.com> wrote: Hi,
I'm running more than one FS on a server, just want to know, how does FS chose a free rtp port? If a rtp port selected by one FS already used by another FS or another process, can it pick another free one automatically?
Another option I know would be limit the rtp port range for each FS instance or bind to different address. But definitely need more configuration.
Thanks.
_______________________________________________ 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/
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 iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org pstn:213-799-1400 _______________________________________________ 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
Hi, there is a similar JIRA ticket for auto port selection. Probably it is not exactly what you want but lets take a look. http://jira.freeswitch.org/browse/SFSIP-54 Regards, Tamas seven írta:
Hi,
I'm running more than one FS on a server, just want to know, how does FS chose a free rtp port? If a rtp port selected by one FS already used by another FS or another process, can it pick another free one automatically?
Another option I know would be limit the rtp port range for each FS instance or bind to different address. But definitely need more configuration.
Thanks.
_______________________________________________ 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
auto sip port is only useful for outbound profiles I think. It generally needs tons of rtp ports vs a few sip ones. On Apr 27, 2009, at 3:49 PM, Tamas wrote:
Hi,
there is a similar JIRA ticket for auto port selection. Probably it is not exactly what you want but lets take a look. http://jira.freeswitch.org/browse/SFSIP-54
Regards, Tamas
seven írta:
Hi,
I'm running more than one FS on a server, just want to know, how does FS chose a free rtp port? If a rtp port selected by one FS already used by another FS or another process, can it pick another free one automatically?
Another option I know would be limit the rtp port range for each FS instance or bind to different address. But definitely need more configuration.
Thanks.
_______________________________________________ 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 (3)
-
Anthony Minessale
-
seven
-
Tamas