Hi everyone.

I have a need to run two separate Freeswitch PCs behind my router and I'm trying to figure out the best way to do this.

For the first PC, in vars.xml I have set external_sip_port to 5060 and its TLS equivalent to 5061, and in switch.conf.xml I have set rtp-start-port to 17408 and rtp-end-port to 17920.
For the second PC, in vars.xml I have set external_sip_port to 5040 and its TLS equivalent to 5041, and in switch.conf.xml I have set rtp-start-port to 16384 and rtp-end-port to 16896.
On the router I have opened up UDP port 5060 and UDP ports 17408 to 17920 to the IP address of the first PC. I have opened up UDP port 5040 and UDP ports 16384 to 16896 to the IP address of the second PC.
Things are half working. But when I phone in on a number that should connect to the first PC, the call goes through and I can answer it, but I'm only getting audio one way.

Is there more I have to do to get Freeswitch to only use a certain range of ports for RTP so I can route correctly and avoid clashes? What am I missing here.

Cheers.


Clive Lansink
Email: Clive@Lansink.Co.NZ
Phone: +64 9 520-4242
Mobile: +64 21 663-999
Fax: +64 21 789-150

