瀏覽代碼

Adding External Sip IP

master
lmartin 3 年之前
父節點
當前提交
c2edc1dab3
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. 3
    0
      update-bbb.sh

+ 3
- 0
update-bbb.sh 查看文件

@@ -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

Loading…
取消
儲存