From f5ee7b3c6a09c132d47c17ef444e9892a71db5c7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 25 Mar 2016 22:23:29 +0000 Subject: [PATCH] Another sip port --- src/freedombone | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/freedombone b/src/freedombone index 60ee1831..e68e75b7 100755 --- a/src/freedombone +++ b/src/freedombone @@ -380,7 +380,7 @@ VOIP_SERVER_PASSWORD= # Port on which VoIP server listens VOIP_PORT=64738 SIP_SERVER_PASSWORD= -SIP_PORT=5061 +SIP_PORT=5062 VOIP_TURN_PORT=3478 VOIP_TURN_TLS_PORT=5349 VOIP_TURN_NONCE= @@ -4032,11 +4032,11 @@ function configure_firewall_for_voip_turn { } -function configure_firewall_for_sip2 { +function configure_firewall_for_sip3 { if [[ $SYSTEM_TYPE == "$VARIANT_WRITER" || $SYSTEM_TYPE == "$VARIANT_MAILBOX" || $SYSTEM_TYPE == "$VARIANT_CLOUD" || $SYSTEM_TYPE == "$VARIANT_SOCIAL" || $SYSTEM_TYPE == "$VARIANT_MEDIA" || $SYSTEM_TYPE == "$VARIANT_DEVELOPER" ]]; then return fi - if grep -Fxq "configure_firewall_for_sip2" $COMPLETION_FILE; then + if grep -Fxq "configure_firewall_for_sip3" $COMPLETION_FILE; then return fi if [[ $ONION_ONLY != "no" ]]; then @@ -4045,7 +4045,7 @@ function configure_firewall_for_sip2 { iptables -A INPUT -p udp --dport $SIP_PORT -j ACCEPT iptables -A INPUT -p tcp --dport $SIP_PORT -j ACCEPT save_firewall_settings - echo 'configure_firewall_for_sip2' >> $COMPLETION_FILE + echo 'configure_firewall_for_sip3' >> $COMPLETION_FILE } function configure_firewall_for_ipfs { @@ -10596,7 +10596,7 @@ configure_firewall_for_ftp configure_firewall_for_web_access configure_firewall_for_voip configure_firewall_for_voip_turn -configure_firewall_for_sip2 +configure_firewall_for_sip3 configure_firewall_for_avahi configure_firewall_for_zeronet configure_firewall_for_ipfs