From eaa138f412a1350262eafff5d1f4df82d1f9a7f3 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 1 Nov 2015 22:25:17 +0000 Subject: [PATCH] configurable sip params --- src/freedombone | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/freedombone b/src/freedombone index 5988fb16..9a2862cc 100755 --- a/src/freedombone +++ b/src/freedombone @@ -908,6 +908,12 @@ function read_configuration { if grep -q "VOIP_SERVER_PASSWORD" $CONFIGURATION_FILE; then VOIP_SERVER_PASSWORD=$(grep "VOIP_SERVER_PASSWORD" $CONFIGURATION_FILE | awk -F '=' '{print $2}') fi + if grep -q "SIP_PORT" $CONFIGURATION_FILE; then + SIP_PORT=$(grep "SIP_PORT" $CONFIGURATION_FILE | awk -F '=' '{print $2}') + fi + if grep -q "SIP_SERVER_PASSWORD" $CONFIGURATION_FILE; then + SIP_SERVER_PASSWORD=$(grep "SIP_SERVER_PASSWORD" $CONFIGURATION_FILE | awk -F '=' '{print $2}') + fi if grep -q "GET_IP_ADDRESS_URL" $CONFIGURATION_FILE; then GET_IP_ADDRESS_URL=$(grep "GET_IP_ADDRESS_URL" $CONFIGURATION_FILE | awk -F '=' '{print $2}') fi