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