Skip to content

Commit

Permalink
Starting to add logic in bbb-conf to help debug record and playback
Browse files Browse the repository at this point in the history
  • Loading branch information
ffdixon committed Jun 26, 2011
1 parent 737e1c9 commit 09d7224
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# The address of your asterisk server
# The address of your FreeSWITCH/asterisk server
sip.server.host=192.168.0.166
sip.server.port=5070
sip.server.username=bbbuser
Expand Down
58 changes: 57 additions & 1 deletion bigbluebutton-config/bin/bbb-conf
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
# 2010-12-12 FFD Fixed bug #778
# 2010-12-12 FFD Added support for Intalio VM
# 2010-02-28 FFD Fixed #834
# 2011-06-26 FFD Updates for 0.8

#set -x

Expand Down Expand Up @@ -528,7 +529,7 @@ fi

if [ $SALT ]; then
need_root
change_var_salt ${SERVLET_DIR}/bigbluebutton/WEB-INF/classes/bigbluebutton.properties beans.dynamicConferenceService.securitySalt $SALT
change_var_salt ${SERVLET_DIR}/bigbluebutton/WEB-INF/classes/bigbluebutton.properties securitySalt $SALT
echo "Changed the security salt to $SALT"
fi

Expand Down Expand Up @@ -1464,6 +1465,61 @@ if [ $DEBUG ]; then
fi
fi

#
# Additional checks for record and playback
#
rm -rf /tmp/t
if ls /var/log/bigbluebutton/simple-process-* > /dev/null 2>1; then
sudo grep -i Error /var/log/bigbluebutton/simple-process-* > /tmp/t
if [ -s /tmp/t ]; then
echo " -- Ingest and Processing errors found in /var/log/bigbluebutton/simple-process-*.log -- "
cat /tmp/t
echo
fi
fi

rm -rf /tmp/t
if ls /var/log/bigbluebutton/simple-publish-* > /dev/null 2>1; then
sudo grep -i Error /var/log/bigbluebutton/simple-publish-* > /tmp/t
if [ -s /tmp/t ]; then
echo " -- Ingest and Processing errors found in /var/log/bigbluebutton/simple-publish-*.log -- "
cat /tmp/t
echo
fi
fi

rm -rf /tmp/t
if ls /var/log/bigbluebutton/simple-process-* > /dev/null 2>1; then
for file in /var/log/bigbluebutton/simple-process-*; do
if [ ! -f $(echo $file | sed 's/process/publish/g') ]; then
echo " $file" >> /tmp/t
fi
done

if [ -s /tmp/t ]; then
echo " -- Ingest and Processing: found process file but not publish -- "
cat /tmp/t
echo
fi
fi


rm -rf /tmp/t
if ls /var/bigbluebutton/recording/status/recorded/*.done > /dev/null 2>1; then
for file in /var/bigbluebutton/recording/status/recorded/*.done; do
if [ ! -f $(echo $file | sed 's/recorded/archived/g') ]; then
echo " $file" >> /tmp/t
fi
done

if [ -s /tmp/t ]; then
echo " -- Ingest and Processing: found recorded meeting but no archive files-- "
cat /tmp/t
echo
fi
fi


exit 0
fi

Expand Down

0 comments on commit 09d7224

Please sign in to comment.