Another sip port
This commit is contained in:
parent
0906c7533e
commit
f5ee7b3c6a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue