From 5a183ddadb4a801a161bbe38831c86840244d6c2 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Wed, 3 Jun 2020 05:19:35 -0500 Subject: [PATCH] Dirty fix for jigasi transcriber (cherry picked from commit ab9e30ca1c6c6ff86b641ab82de7a43c1b86bffb) --- jigasi.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/jigasi.sh b/jigasi.sh index b8f5b1a..7033a1b 100644 --- a/jigasi.sh +++ b/jigasi.sh @@ -208,6 +208,15 @@ sed -i "/xmpp.acc.ANONYMOUS_AUTH/ s|# ||" $JIG_SIP_PROP prosodyctl register transcript auth.$DOMAIN jigasi +#Temp fix Jigasi Transcript +if [ grep -x "sleep" /etc/init.d/jicofo ]; then + echo "Jicofo delay already present." + else + echo "Adding Jicofo delay..." + sed -i "/\/lib\/lsb\/init-functions/i sleep 20" /etc/init.d/jicofo + systemctl daemon-reload +fi + systemctl restart prosody \ jicofo \ jibri* \