|
@@ -12,5 +12,8 @@ fi
|
12
|
12
|
BBB_WEB_URL=$(cat ${SERVLET_DIR}/WEB-INF/classes/bigbluebutton.properties | grep -v '#' | sed -n '/^bigbluebutton.web.serverURL/{s/.*=//;p}')
|
13
|
13
|
RESULT=$(echo $BBB_WEB_URL | awk 'sub(/^.{8}/,"")')
|
14
|
14
|
|
|
15
|
+#This should be dropped into apply-config.sh, but for now we are going to call it here once we update the instance.
|
|
16
|
+#xmlstarlet edit --inplace --update '//X-PRE-PROCESS[@cmd="set" and starts-with(@data, "external_rtp_ip=")]/@data' --value "external_rtp_ip=234.32.3.3" /opt/freeswitch/conf/vars.xml
|
|
17
|
+
|
15
|
18
|
bbb-conf --setip $RESULT
|
16
|
19
|
bbb-conf --restart
|