Merge pull request #6753 from ffdixon/fix-bbbconf-17

Clear previous SIP errors in sip.log
This commit is contained in:
Fred Dixon 2019-02-10 22:24:53 -08:00 committed by GitHub
commit 0c09e63d21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -401,6 +401,11 @@ start_bigbluebutton () {
rm -rf /opt/freeswitch/var/lib/freeswitch/db/*
fi
# Clear any previous registration errors
if [ -f /usr/share/red5/log/sip.log ]; then
sed -i 's/Failed to register with Sip Server/Failed to register with Sip server/g' /usr/share/red5/log/sip.log
fi
echo "Starting BigBlueButton"
if command -v systemctl >/dev/null; then
if [ -f /usr/lib/systemd/system/bbb-html5.service ]; then
@ -547,7 +552,7 @@ start_bigbluebutton () {
display_bigbluebutton_status () {
if command -v systemctl >/dev/null; then
units="red5 $TOMCAT_SERVICE bbb-web nginx freeswitch $REDIS_SERVICE bbb-apps-akka bbb-transcode-akka bbb-fsesl-akka"
units="red5 $TOMCAT_SERVICE nginx freeswitch $REDIS_SERVICE bbb-apps-akka bbb-transcode-akka bbb-fsesl-akka"
if [ -f /usr/lib/systemd/system/bbb-html5.service ]; then
units="$units mongod bbb-html5 bbb-webrtc-sfu kurento-media-server"