configurable sip params
This commit is contained in:
parent
44753855b3
commit
eaa138f412
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue