Add dns srv port 0 to more yealink phones.

This commit is contained in:
markjcrane 2015-10-16 11:10:59 -07:00
parent a63cbada9b
commit ec4c0d8025
12 changed files with 53 additions and 17 deletions

View File

@ -44,7 +44,11 @@ account.1.naptr_build = 0
account.1.fallback.redundancy_type = 0
account.1.fallback.timeout = 120
account.1.sip_server.1.address =
account.1.sip_server.1.port = 5060
{if $sip_transport_1 == 'dns srv'}
account.1.sip_server.1.port = 0
{else}
account.1.sip_server.1.port = {$sip_port_1}
{/if}
#Configure the register expiry time (in seconds), the default value is 3600.
account.1.sip_server.1.expires = {$register_expires_1}
account.1.sip_server.1.retry_counts = 3
@ -122,7 +126,7 @@ account.1.nat.stun_server =
account.1.nat.stun_port = 3478
#Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify;
account.1.nat.udp_update_enable = 1
account.1.nat.udp_update_enable = 3
#Specify the keep-alive interval (in seconds), the default value is 30.
account.1.nat.udp_update_time = 30

View File

@ -223,8 +223,8 @@ account.1.nat.stun_server =
#Configure the STUN server port, the default value is 3478.
account.1.nat.stun_port =
#Enable or disable the NAT keep-alive; 0-Disabled, 1-Enabled (default);
account.1.nat.udp_update_enable =
#Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify;
account.1.nat.udp_update_enable = 3
#Specify the keep-alive interval (in seconds), the default value is 30.
account.1.nat.udp_update_time =

View File

@ -44,7 +44,11 @@ account.1.naptr_build = 0
account.1.fallback.redundancy_type = 0
account.1.fallback.timeout = 120
account.1.sip_server.1.address =
account.1.sip_server.1.port = 5060
{if $sip_transport_1 == 'dns srv'}
account.1.sip_server.1.port = 0
{else}
account.1.sip_server.1.port = {$sip_port_1}
{/if}
#Configure the register expiry time (in seconds), the default value is 3600.
account.1.sip_server.1.expires = {$register_expires_1}
account.1.sip_server.1.retry_counts = 3
@ -122,7 +126,7 @@ account.1.nat.stun_server =
account.1.nat.stun_port = 3478
#Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify;
account.1.nat.udp_update_enable = 1
account.1.nat.udp_update_enable = 3
#Specify the keep-alive interval (in seconds), the default value is 30.
account.1.nat.udp_update_time = 30

View File

@ -44,7 +44,11 @@ account.1.naptr_build = 0
account.1.fallback.redundancy_type = 0
account.1.fallback.timeout = 120
account.1.sip_server.1.address =
account.1.sip_server.1.port = 5060
{if $sip_transport_1 == 'dns srv'}
account.1.sip_server.1.port = 0
{else}
account.1.sip_server.1.port = {$sip_port_1}
{/if}
#Configure the register expiry time (in seconds), the default value is 3600.
account.1.sip_server.1.expires = {$register_expires_1}
account.1.sip_server.1.retry_counts = 3

View File

@ -44,7 +44,11 @@ account.1.naptr_build = 0
account.1.fallback.redundancy_type = 0
account.1.fallback.timeout = 120
account.1.sip_server.1.address =
account.1.sip_server.1.port = 5060
{if $sip_transport_1 == 'dns srv'}
account.1.sip_server.1.port = 0
{else}
account.1.sip_server.1.port = {$sip_port_1}
{/if}
#Configure the register expiry time (in seconds), the default value is 3600.
account.1.sip_server.1.expires = {$register_expires_1}
account.1.sip_server.1.retry_counts = 3

View File

@ -44,7 +44,11 @@ account.1.naptr_build = 0
account.1.fallback.redundancy_type = 0
account.1.fallback.timeout = 120
account.1.sip_server.1.address =
account.1.sip_server.1.port = 5060
{if $sip_transport_1 == 'dns srv'}
account.1.sip_server.1.port = 0
{else}
account.1.sip_server.1.port = {$sip_port_1}
{/if}
#Configure the register expiry time (in seconds), the default value is 3600.
account.1.sip_server.1.expires = {$register_expires_1}
account.1.sip_server.1.retry_counts = 3

View File

@ -44,7 +44,11 @@ account.1.naptr_build = 0
account.1.fallback.redundancy_type = 0
account.1.fallback.timeout = 120
account.1.sip_server.1.address =
account.1.sip_server.1.port = 5060
{if $sip_transport_1 == 'dns srv'}
account.1.sip_server.1.port = 0
{else}
account.1.sip_server.1.port = {$sip_port_1}
{/if}
#Configure the register expiry time (in seconds), the default value is 3600.
account.1.sip_server.1.expires = {$register_expires_1}
account.1.sip_server.1.retry_counts = 3

View File

@ -44,7 +44,11 @@ account.1.naptr_build = 0
account.1.fallback.redundancy_type = 0
account.1.fallback.timeout = 120
account.1.sip_server.1.address =
account.1.sip_server.1.port = 5060
{if $sip_transport_1 == 'dns srv'}
account.1.sip_server.1.port = 0
{else}
account.1.sip_server.1.port = {$sip_port_1}
{/if}
#Configure the register expiry time (in seconds), the default value is 3600.
account.1.sip_server.1.expires = {$register_expires_1}
account.1.sip_server.1.retry_counts = 3

View File

@ -47,7 +47,7 @@ account.1.sip_server.1.address =
{if $sip_transport_1 == 'dns srv'}
account.1.sip_server.1.port = 0
{else}
account.1.sip_server.1.port = 5060
account.1.sip_server.1.port = {$sip_port_1}
{/if}
#Configure the register expiry time (in seconds), the default value is 3600.
account.1.sip_server.1.expires = {$register_expires_1}

View File

@ -47,7 +47,7 @@ account.1.sip_server.1.address =
{if $sip_transport_1 == 'dns srv'}
account.1.sip_server.1.port = 0
{else}
account.1.sip_server.1.port = 5060
account.1.sip_server.1.port = {$sip_port_1}
{/if}
#Configure the register expiry time (in seconds), the default value is 3600.
account.1.sip_server.1.expires = {$register_expires_1}
@ -126,7 +126,7 @@ account.1.nat.stun_server =
account.1.nat.stun_port = 3478
#Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify;
account.1.nat.udp_update_enable = 1
account.1.nat.udp_update_enable = 3
#Specify the keep-alive interval (in seconds), the default value is 30.
account.1.nat.udp_update_time = 30

View File

@ -44,7 +44,11 @@ account.1.naptr_build = 0
account.1.fallback.redundancy_type = 0
account.1.fallback.timeout = 120
account.1.sip_server.1.address =
account.1.sip_server.1.port = 5060
{if $sip_transport_1 == 'dns srv'}
account.1.sip_server.1.port = 0
{else}
account.1.sip_server.1.port = {$sip_port_1}
{/if}
#Configure the register expiry time (in seconds), the default value is 3600.
account.1.sip_server.1.expires = {$register_expires_1}
account.1.sip_server.1.retry_counts = 3
@ -121,8 +125,8 @@ account.1.nat.nat_traversal = 0
account.1.nat.stun_server =
account.1.nat.stun_port = 3478
#Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default)2-Option3-Notify;
account.1.nat.udp_update_enable = 1
#Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify;
account.1.nat.udp_update_enable = 3
#Specify the keep-alive interval (in seconds), the default value is 30.
account.1.nat.udp_update_time = 30

View File

@ -29,7 +29,11 @@ account.1.sip_trust_ctrl = 1
account.1.sip_server_host = {$server_address_1}
#Specify the port for the SIP server. The default value is 5060.
{if $sip_transport_1 == 'dns srv'}
account.1.sip_server_port = 0
{else}
account.1.sip_server_port = {$sip_port_1}
{/if}
#Enable or disable the use of the outbound proxy server; 0-Disabled (default), 1-Enabled;
account.1.outbound_proxy_enable =