mirror of
https://github.com/bigbluebutton/docker.git
synced 2025-02-16 17:51:33 +01:00
Remove IPV6 in FreeSWITCH
This commit is contained in:
parent
c1796a7863
commit
eeffa1c6b0
@ -12,7 +12,7 @@ docker build -t bigbluebutton .
|
||||
Here we called the BigBlueButton container `bigbluebutton`. To run BigBlueButton in Docker, run the command
|
||||
|
||||
~~~
|
||||
docker run -p 80:80/tcp -p 443:443/tcp -p 1935:1935 -p 5066:5066 -p 3478:3478 -p 3478:3478/udp bigbluebutton -h <HOST_IP>
|
||||
docker run -rm -p 80:80/tcp -p 443:443/tcp -p 1935:1935 -p 5066:5066 -p 3478:3478 -p 3478:3478/udp bigbluebutton -h <HOST_IP>
|
||||
~~~
|
||||
|
||||
Make sure you provide the host IP of the server on which you run the docker command. Once running, you can navigate to `http://<HOST_IP>` to access your BigBlueButton server.
|
||||
|
7
setup.sh
7
setup.sh
@ -75,6 +75,13 @@ xmlstarlet edit --inplace --update '//X-PRE-PROCESS[@cmd="set" and starts-with(@
|
||||
xmlstarlet edit --inplace --update '//X-PRE-PROCESS[@cmd="set" and starts-with(@data, "external_sip_ip=")]/@data' --value "stun:coturn" /opt/freeswitch/conf/vars.xml
|
||||
xmlstarlet edit --inplace --update '//X-PRE-PROCESS[@cmd="set" and starts-with(@data, "local_ip_v4=")]/@data' --value "${IP}" /opt/freeswitch/conf/vars.xml
|
||||
|
||||
if [ -f /opt/freeswitch/conf/sip_profiles/external-ipv6.xml ]; then
|
||||
mv /opt/freeswitch/conf/sip_profiles/external-ipv6.xml /opt/freeswitch/conf/sip_profiles/external-ipv6.xml_
|
||||
fi
|
||||
if [ -f /opt/freeswitch/conf/sip_profiles/internal-ipv6.xml ]; then
|
||||
mv /opt/freeswitch/conf/sip_profiles/internal-ipv6.xml /opt/freeswitch/conf/sip_profiles/internal-ipv6.xml_
|
||||
fi
|
||||
|
||||
sed -i "s/proxy_pass .*/proxy_pass $PROTOCOL_HTTP:\/\/$IP:5066;/g" /etc/bigbluebutton/nginx/sip.nginx
|
||||
|
||||
sed -i "s/http[s]*:\/\/\([^\"\/]*\)\([\"\/]\)/$PROTOCOL_HTTP:\/\/$HOST\2/g" /var/www/bigbluebutton/client/conf/config.xml
|
||||
|
Loading…
Reference in New Issue
Block a user