Dear BigBlueButton Friends,
For some odd reason, I cannot get Freeswitch to listen to the external IP address of our BBB Server. I've followed the instructions outlined in this issue:
http://code.google.com/p/bigbluebutton/issues/detail?id=1133/opt/freeswitch/conf/vars.xml- <X-PRE-PROCESS cmd="set" data="domain=${local_ip_v4}"/> (is already there)
- local_ip_v4 I comment out since in the issue 1133 it says that there is no definition for local_ip_v4
/opt/freeswitch/conf/sip_profiles/external.xml - <param name="rtp-ip" value="${local_ip_v4}"/> (left unchanged)
- <param name="sip-ip" value="${local_ip_v4}"/> (left unchanged)
- <param name="ext-rtp-ip" value="auto-nat"/>
- <param name="ext-sip-ip" value="auto-nat"/>
I've also tried a dozen other combinations. However, after rebooting bbb with bbb-conf --clean Freeswitch still binds to
127.0.0.1:5060 and does't respond to external SIP calls.
Is there anything I am missing here?
As a side note, the only
workaround which works for me, is by adjusting the variable
local_ip_v4 in
vars.xml to our public IP and then adjusting all of the dependencies:
- /opt/freeswitch/conf/autoload_configs/event_socket.conf.xml -> set listen-ip to external IP
- /usr/share/red5/webapps/bigbluebutton/WEB-INF/bigbluebutton.properties -> set freeswitch.esl.host to external IP
- /usr/share/red5/webapps/sip/WEB-INF/bigbluebuton-sip.properties -> set bbb.sip.app.ip and freeswitch.ip to external IP
The firewall (iptables) is configured to only accept TCP/UDP traffic on port 5060 from the ip addresses of our sip provider.
So far this works, Freeswitch listens on the external IP and accepts calls from our SIP provider. Except that when rebooting the server, Freeswitch doesn't start automatically. We have to run bbb-conf --clean manually after every reboot.
Thank you for your appreciated feedback!
Kind regards,
Romeo