File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
+ # Public IP address of the BBB server
4
+ PUBLIC_IP=" 148.251.131.28"
5
+
3
6
# Pull in the helper functions for configuring BigBlueButton
4
7
source /etc/bigbluebutton/bbb-conf/apply-lib.sh
5
8
6
9
enableUFWRules
7
10
8
- echo " Warning: change external_rtp_ip and external_sip_ip to the public IP of your BBB server."
9
-
10
11
echo " Running three parallel Kurento media server"
11
12
enableMultipleKurentos
12
13
@@ -89,8 +90,8 @@ sed -i "s/defaultCopyright = .*/defaultCopyright = \'<p>HigherEdLab.com<\/p>\';/
89
90
echo " Fix for 1007 and 1020 - https://github.com/manishkatyan/bbb-optimize#fix-1007-and-1020-errors"
90
91
xmlstarlet edit --inplace --update ' //profile/settings/param[@name="ext-rtp-ip"]/@value' --value " \$\$ {external_rtp_ip}" /opt/freeswitch/etc/freeswitch/sip_profiles/external.xml
91
92
xmlstarlet edit --inplace --update ' //profile/settings/param[@name="ext-sip-ip"]/@value' --value " \$\$ {external_sip_ip}" /opt/freeswitch/etc/freeswitch/sip_profiles/external.xml
92
- xmlstarlet edit --inplace --update ' //X-PRE-PROCESS[@cmd="set" and starts-with(@data, "external_rtp_ip=")]/@data' --value " external_rtp_ip=176.9.30.208 " /opt/freeswitch/etc/freeswitch/vars.xml
93
- xmlstarlet edit --inplace --update ' //X-PRE-PROCESS[@cmd="set" and starts-with(@data, "external_sip_ip=")]/@data' --value " external_sip_ip=176.9.30.208 " /opt/freeswitch/etc/freeswitch/vars.xml
93
+ xmlstarlet edit --inplace --update ' //X-PRE-PROCESS[@cmd="set" and starts-with(@data, "external_rtp_ip=")]/@data' --value " external_rtp_ip=$PUBLIC_IP " /opt/freeswitch/etc/freeswitch/vars.xml
94
+ xmlstarlet edit --inplace --update ' //X-PRE-PROCESS[@cmd="set" and starts-with(@data, "external_sip_ip=")]/@data' --value " external_sip_ip=$PUBLIC_IP " /opt/freeswitch/etc/freeswitch/vars.xml
94
95
95
96
echo " Fix till 2.2.30 - https://github.com/bigbluebutton/bigbluebutton/issues/9667"
96
97
yq w -i /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml public.media.sipjsHackViaWs true
You can’t perform that action at this time.
0 commit comments