This commit is contained in:
+2
-2
@@ -36,8 +36,8 @@ else
|
||||
curl -s https://ap5.gonknet.org/modules/$HOSTNAME/$GONK_KEY > /etc/asterisk/modules.conf
|
||||
curl -s https://ap5.gonknet.org/logger/$HOSTNAME/$GONK_KEY > /etc/asterisk/logger.conf
|
||||
|
||||
sed -i "s/##EXTERNAL_IP##/$(curl -s https://ipv4.myip.wtf/text)/g" /etc/asterisk/pjsip.config
|
||||
|
||||
sed -i "s/##EXTERNAL_IP##/$(curl -s https://ipv4.myip.wtf/text)/g" /etc/asterisk/pjsip.conf
|
||||
|
||||
|
||||
echo " Setting up config updater cron..."
|
||||
echo "26 * * * * gonk /usr/bin/reload" > /etc/cron.d/reload
|
||||
|
||||
Reference in New Issue
Block a user