diff --git a/src/freedombone-app-sip b/src/freedombone-app-sip index 4fb300b5..a85b2886 100755 --- a/src/freedombone-app-sip +++ b/src/freedombone-app-sip @@ -181,28 +181,20 @@ function remove_sip { } function configure_firewall_for_turn { - if [[ $(is_completed $FUNCNAME) == "1" ]]; then - return - fi if [[ $ONION_ONLY != "no" ]]; then return fi firewall_add TURN ${TURN_PORT} firewall_add "TURN TLS" ${TURN_TLS_PORT} tcp - mark_completed $FUNCNAME } function configure_firewall_for_sip4 { - if [[ $(is_completed $FUNCNAME) == "1" ]]; then - return - fi if [[ $ONION_ONLY != "no" ]]; then return fi firewall_add SIP ${SIP_PORT} firewall_add "SIP TLS" ${SIP_TLS_PORT} - mark_completed $FUNCNAME } function get_sip_server_password {