diff --git a/resources/templates/provision/yealink/t42g/{$mac}.cfg b/resources/templates/provision/yealink/t42g/{$mac}.cfg index ce3b44bed0..726d5b0153 100644 --- a/resources/templates/provision/yealink/t42g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t42g/{$mac}.cfg @@ -23,6 +23,8 @@ account.1.outbound_proxy_enable = account.1.outbound_host = {$outbound_proxy_1} account.1.outbound_port = 5060 account.1.sip_listen_port = 5060 +#Configure the register expiry time (in seconds), the default value is 3600. +account.1.expires = {$register_expires_1} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; {if $sip_transport_1 == 'udp'}account.1.transport = 0{/if} {if $sip_transport_1 == 'tcp'}account.1.transport = 1{/if} @@ -949,6 +951,7 @@ network.internet_port.mask = network.internet_port.gateway = network.primary_dns= network.secondary_dns = +network.static_dns_enable = 0 ####################################################################################### ## Account 3 Basic Settings ## @@ -977,6 +980,7 @@ account.3.sip_listen_port = 5060 {if $sip_transport_3 == 'tls'}account.3.transport = 2{/if} {if $sip_transport_3 == 'dns srv'}account.3.transport = 3{/if} + ####################################################################################### ## Failback ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t46g/{$mac}.cfg b/resources/templates/provision/yealink/t46g/{$mac}.cfg index ce3b44bed0..3190f538a8 100644 --- a/resources/templates/provision/yealink/t46g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t46g/{$mac}.cfg @@ -23,6 +23,8 @@ account.1.outbound_proxy_enable = account.1.outbound_host = {$outbound_proxy_1} account.1.outbound_port = 5060 account.1.sip_listen_port = 5060 +#Configure the register expiry time (in seconds), the default value is 3600. +account.1.expires = {$register_expires_1} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; {if $sip_transport_1 == 'udp'}account.1.transport = 0{/if} {if $sip_transport_1 == 'tcp'}account.1.transport = 1{/if} @@ -2912,8 +2914,9 @@ network.internet_port.type = network.internet_port.ip = network.internet_port.mask = network.internet_port.gateway = -network.primary_dns= -network.secondary_dns = +network.primary_dns = +network.secondary_dns = +network.static_dns_enable = 0 ####################################################################################### ## Line Key ##