diff --git a/resources/templates/provision/yealink/t20p/{$mac}.cfg b/resources/templates/provision/yealink/t20p/{$mac}.cfg index 6b91047e78..dad27aa6de 100644 --- a/resources/templates/provision/yealink/t20p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t20p/{$mac}.cfg @@ -7,7 +7,11 @@ ####################################################################################### #Enable or disable the account 1; 0-Disabled (default), 1-Enabled; +{if isset($user_password_1) } account.1.enable = 1 +{else} +account.1.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 1. account.1.label = {$display_name_1} @@ -317,7 +321,11 @@ account.1.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 2; 0-Disabled (default), 1-Enabled; +{if isset($user_password_2) } account.2.enable = 1 +{else} +account.2.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 2. account.2.label = {$display_name_2} @@ -626,7 +634,11 @@ account.2.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 3; 0-Disabled (default), 1-Enabled; -account.3.enable = +{if isset($user_password_3) } +account.3.enable = 1 +{else} +account.3.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 3. account.3.label = {$display_name_3} @@ -935,7 +947,11 @@ account.3.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 4; 0-Disabled (default), 1-Enabled; -account.4.enable = +{if isset($user_password_4) } +account.4.enable = 1 +{else} +account.4.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 4. account.4.label = {$display_name_4} @@ -969,7 +985,7 @@ account.4.outbound_host = {$outbound_proxy_4} account.4.outbound_port = #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; -{if $sip_transport_4== 'udp'}account.4.transport = 0{/if} +{if $sip_transport_4 == 'udp'}account.4.transport = 0{/if} {if $sip_transport_4 == 'tcp'}account.4.transport = 1{/if} {if $sip_transport_4 == 'tls'}account.4.transport = 2{/if} {if $sip_transport_4 == 'dns srv'}account.4.transport = 3{/if} @@ -1247,7 +1263,11 @@ account.4.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 5; 0-Disabled (default), 1-Enabled; -account.5.enable = +{if isset($user_password_5) } +account.5.enable = 1 +{else} +account.5.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 5. account.5.label = {$display_name_5} @@ -1554,7 +1574,11 @@ account.5.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 6; 0-Disabled (default), 1-Enabled; -account.6.enable = +{if isset($user_password_6) } +account.6.enable = 1 +{else} +account.6.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 6. account.6.label = {$display_name_6} diff --git a/resources/templates/provision/yealink/t22p/{$mac}.cfg b/resources/templates/provision/yealink/t22p/{$mac}.cfg index 6b91047e78..6b4aca2d41 100644 --- a/resources/templates/provision/yealink/t22p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t22p/{$mac}.cfg @@ -7,7 +7,11 @@ ####################################################################################### #Enable or disable the account 1; 0-Disabled (default), 1-Enabled; +{if isset($user_password_1) } account.1.enable = 1 +{else} +account.1.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 1. account.1.label = {$display_name_1} @@ -317,7 +321,11 @@ account.1.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 2; 0-Disabled (default), 1-Enabled; +{if isset($user_password_2) } account.2.enable = 1 +{else} +account.2.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 2. account.2.label = {$display_name_2} @@ -626,7 +634,11 @@ account.2.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 3; 0-Disabled (default), 1-Enabled; -account.3.enable = +{if isset($user_password_3) } +account.3.enable = 1 +{else} +account.3.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 3. account.3.label = {$display_name_3} @@ -935,7 +947,11 @@ account.3.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 4; 0-Disabled (default), 1-Enabled; -account.4.enable = +{if isset($user_password_4) } +account.4.enable = 1 +{else} +account.4.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 4. account.4.label = {$display_name_4} @@ -969,11 +985,12 @@ account.4.outbound_host = {$outbound_proxy_4} account.4.outbound_port = #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; -{if $sip_transport_4== 'udp'}account.4.transport = 0{/if} +{if $sip_transport_4 == 'udp'}account.4.transport = 0{/if} {if $sip_transport_4 == 'tcp'}account.4.transport = 1{/if} {if $sip_transport_4 == 'tls'}account.4.transport = 2{/if} {if $sip_transport_4 == 'dns srv'}account.4.transport = 3{/if} + #Configure the address of the backup outbound proxy server. account.4.backup_outbound_host = @@ -1247,7 +1264,11 @@ account.4.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 5; 0-Disabled (default), 1-Enabled; -account.5.enable = +{if isset($user_password_5) } +account.5.enable = 1 +{else} +account.5.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 5. account.5.label = {$display_name_5} @@ -1554,7 +1575,11 @@ account.5.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 6; 0-Disabled (default), 1-Enabled; -account.6.enable = +{if isset($user_password_6) } +account.6.enable = 1 +{else} +account.6.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 6. account.6.label = {$display_name_6} diff --git a/resources/templates/provision/yealink/t26p/{$mac}.cfg b/resources/templates/provision/yealink/t26p/{$mac}.cfg index 9e198e7bcb..93ffca75b3 100644 --- a/resources/templates/provision/yealink/t26p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t26p/{$mac}.cfg @@ -7,7 +7,11 @@ ####################################################################################### #Enable or disable the account 1; 0-Disabled (default), 1-Enabled; +{if isset($user_password_1) } account.1.enable = 1 +{else} +account.1.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 1. account.1.label = {$display_name_1} @@ -317,7 +321,11 @@ account.1.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 2; 0-Disabled (default), 1-Enabled; +{if isset($user_password_2) } account.2.enable = 1 +{else} +account.2.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 2. account.2.label = {$display_name_2} @@ -626,7 +634,11 @@ account.2.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 3; 0-Disabled (default), 1-Enabled; -account.3.enable = +{if isset($user_password_3) } +account.3.enable = 1 +{else} +account.3.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 3. account.3.label = {$display_name_3} @@ -935,7 +947,11 @@ account.3.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 4; 0-Disabled (default), 1-Enabled; -account.4.enable = +{if isset($user_password_4) } +account.4.enable = 1 +{else} +account.4.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 4. account.4.label = {$display_name_4} @@ -969,7 +985,7 @@ account.4.outbound_host = {$outbound_proxy_4} account.4.outbound_port = #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; -{if $sip_transport_4== 'udp'}account.4.transport = 0{/if} +{if $sip_transport_4 == 'udp'}account.4.transport = 0{/if} {if $sip_transport_4 == 'tcp'}account.4.transport = 1{/if} {if $sip_transport_4 == 'tls'}account.4.transport = 2{/if} {if $sip_transport_4 == 'dns srv'}account.4.transport = 3{/if} @@ -1247,7 +1263,11 @@ account.4.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 5; 0-Disabled (default), 1-Enabled; -account.5.enable = +{if isset($user_password_5) } +account.5.enable = 1 +{else} +account.5.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 5. account.5.label = {$display_name_5} @@ -1554,7 +1574,11 @@ account.5.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 6; 0-Disabled (default), 1-Enabled; -account.6.enable = +{if isset($user_password_6) } +account.6.enable = 1 +{else} +account.6.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 6. account.6.label = {$display_name_6} diff --git a/resources/templates/provision/yealink/t28p/{$mac}.cfg b/resources/templates/provision/yealink/t28p/{$mac}.cfg index 9e198e7bcb..93ffca75b3 100644 --- a/resources/templates/provision/yealink/t28p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t28p/{$mac}.cfg @@ -7,7 +7,11 @@ ####################################################################################### #Enable or disable the account 1; 0-Disabled (default), 1-Enabled; +{if isset($user_password_1) } account.1.enable = 1 +{else} +account.1.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 1. account.1.label = {$display_name_1} @@ -317,7 +321,11 @@ account.1.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 2; 0-Disabled (default), 1-Enabled; +{if isset($user_password_2) } account.2.enable = 1 +{else} +account.2.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 2. account.2.label = {$display_name_2} @@ -626,7 +634,11 @@ account.2.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 3; 0-Disabled (default), 1-Enabled; -account.3.enable = +{if isset($user_password_3) } +account.3.enable = 1 +{else} +account.3.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 3. account.3.label = {$display_name_3} @@ -935,7 +947,11 @@ account.3.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 4; 0-Disabled (default), 1-Enabled; -account.4.enable = +{if isset($user_password_4) } +account.4.enable = 1 +{else} +account.4.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 4. account.4.label = {$display_name_4} @@ -969,7 +985,7 @@ account.4.outbound_host = {$outbound_proxy_4} account.4.outbound_port = #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; -{if $sip_transport_4== 'udp'}account.4.transport = 0{/if} +{if $sip_transport_4 == 'udp'}account.4.transport = 0{/if} {if $sip_transport_4 == 'tcp'}account.4.transport = 1{/if} {if $sip_transport_4 == 'tls'}account.4.transport = 2{/if} {if $sip_transport_4 == 'dns srv'}account.4.transport = 3{/if} @@ -1247,7 +1263,11 @@ account.4.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 5; 0-Disabled (default), 1-Enabled; -account.5.enable = +{if isset($user_password_5) } +account.5.enable = 1 +{else} +account.5.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 5. account.5.label = {$display_name_5} @@ -1554,7 +1574,11 @@ account.5.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 6; 0-Disabled (default), 1-Enabled; -account.6.enable = +{if isset($user_password_6) } +account.6.enable = 1 +{else} +account.6.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 6. account.6.label = {$display_name_6} diff --git a/resources/templates/provision/yealink/t32g/y000000000032.cfg b/resources/templates/provision/yealink/t32g/y000000000032.cfg index 8357390f9a..8004922f79 100644 --- a/resources/templates/provision/yealink/t32g/y000000000032.cfg +++ b/resources/templates/provision/yealink/t32g/y000000000032.cfg @@ -382,12 +382,6 @@ security.trust_certificates = #If your username is defined as: security.user_name.admin = adminuser. #and your password must like this: security.user_password = adminuser:adminpassword. #adminuser is the value of "security.user_name.admin"; adminpassword is the password you want to set. -#security.user_name.admin = adminuser -#security.user_password = adminuser:adminpwd -#security.user_name.user = user1 -#security.user_password = user1:user1pwd -#security.user_name.var = varuser -#security.user_password = varuser:adminpwd {if isset($user_name) } security.user_name.user = {$user_name} security.user_password = {$user_name}:{$user_password} @@ -688,7 +682,7 @@ action_url.transfer_finished = action_url.transfer_failed = ####################################################################################### -## Language Settings ## +## Language Settings ## ####################################################################################### #Specify the web language, the valid values are: English, Chinese_S, Turkish, Portuguese, Spanish, Italian, French, Russian, Deutsch and Czech. @@ -699,7 +693,7 @@ lang.wui = lang.gui = ####################################################################################### -## Time Settings ## +## Time Settings ## ####################################################################################### #Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. @@ -745,8 +739,9 @@ local_time.dhcp_time = #Enable or disable the manual time; 0-NTP time, 1-manual time. The default value is 0. local_time.manual_time_enable = + ####################################################################################### -## Hot Desking ## +## Hot Desking ## ####################################################################################### #Enable or disable the phone to show the following items on the login wizard during startup; 0-Disabled, 1-Enabled; #hotdesking.startup_register_name_enable = 0 (default) @@ -1064,6 +1059,9 @@ features.pickup.blf_audio_enable = #0-Disabled (default), 1-Enabled; features.blf_and_callpark_idle_led_enable = +#Enable or disable reset by long press on OK key. 0-Disable 1-Enable(Defautl) +#features.reset_by_long_press_enable = 0 + #Configure the time (in seconds) the phone automatically dial out the dialed digits. It ranges from 1 to 14, the default value is 4. phone_setting.inter_digit_time = diff --git a/resources/templates/provision/yealink/t32g/{$mac}.cfg b/resources/templates/provision/yealink/t32g/{$mac}.cfg index 4bd84a82a7..93ffca75b3 100644 --- a/resources/templates/provision/yealink/t32g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t32g/{$mac}.cfg @@ -7,7 +7,11 @@ ####################################################################################### #Enable or disable the account 1; 0-Disabled (default), 1-Enabled; +{if isset($user_password_1) } account.1.enable = 1 +{else} +account.1.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 1. account.1.label = {$display_name_1} @@ -317,7 +321,11 @@ account.1.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 2; 0-Disabled (default), 1-Enabled; +{if isset($user_password_2) } account.2.enable = 1 +{else} +account.2.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 2. account.2.label = {$display_name_2} @@ -626,7 +634,11 @@ account.2.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 3; 0-Disabled (default), 1-Enabled; -account.3.enable = +{if isset($user_password_3) } +account.3.enable = 1 +{else} +account.3.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 3. account.3.label = {$display_name_3} @@ -935,7 +947,11 @@ account.3.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 4; 0-Disabled (default), 1-Enabled; -account.4.enable = +{if isset($user_password_4) } +account.4.enable = 1 +{else} +account.4.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 4. account.4.label = {$display_name_4} @@ -1247,7 +1263,11 @@ account.4.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 5; 0-Disabled (default), 1-Enabled; -account.5.enable = +{if isset($user_password_5) } +account.5.enable = 1 +{else} +account.5.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 5. account.5.label = {$display_name_5} @@ -1554,7 +1574,11 @@ account.5.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 6; 0-Disabled (default), 1-Enabled; -account.6.enable = +{if isset($user_password_6) } +account.6.enable = 1 +{else} +account.6.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 6. account.6.label = {$display_name_6} diff --git a/resources/templates/provision/yealink/t38g/y000000000038.cfg b/resources/templates/provision/yealink/t38g/y000000000038.cfg index c79416a231..5f063d5d29 100644 --- a/resources/templates/provision/yealink/t38g/y000000000038.cfg +++ b/resources/templates/provision/yealink/t38g/y000000000038.cfg @@ -741,7 +741,7 @@ local_time.dhcp_time = local_time.manual_time_enable = ####################################################################################### -## Hot Desking ## +## Hot Desking ## ####################################################################################### #Enable or disable the phone to show the following items on the login wizard during startup; 0-Disabled, 1-Enabled; #hotdesking.startup_register_name_enable = 0 (default) diff --git a/resources/templates/provision/yealink/t38g/{$mac}.cfg b/resources/templates/provision/yealink/t38g/{$mac}.cfg index 9e198e7bcb..93ffca75b3 100644 --- a/resources/templates/provision/yealink/t38g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t38g/{$mac}.cfg @@ -7,7 +7,11 @@ ####################################################################################### #Enable or disable the account 1; 0-Disabled (default), 1-Enabled; +{if isset($user_password_1) } account.1.enable = 1 +{else} +account.1.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 1. account.1.label = {$display_name_1} @@ -317,7 +321,11 @@ account.1.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 2; 0-Disabled (default), 1-Enabled; +{if isset($user_password_2) } account.2.enable = 1 +{else} +account.2.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 2. account.2.label = {$display_name_2} @@ -626,7 +634,11 @@ account.2.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 3; 0-Disabled (default), 1-Enabled; -account.3.enable = +{if isset($user_password_3) } +account.3.enable = 1 +{else} +account.3.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 3. account.3.label = {$display_name_3} @@ -935,7 +947,11 @@ account.3.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 4; 0-Disabled (default), 1-Enabled; -account.4.enable = +{if isset($user_password_4) } +account.4.enable = 1 +{else} +account.4.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 4. account.4.label = {$display_name_4} @@ -969,7 +985,7 @@ account.4.outbound_host = {$outbound_proxy_4} account.4.outbound_port = #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; -{if $sip_transport_4== 'udp'}account.4.transport = 0{/if} +{if $sip_transport_4 == 'udp'}account.4.transport = 0{/if} {if $sip_transport_4 == 'tcp'}account.4.transport = 1{/if} {if $sip_transport_4 == 'tls'}account.4.transport = 2{/if} {if $sip_transport_4 == 'dns srv'}account.4.transport = 3{/if} @@ -1247,7 +1263,11 @@ account.4.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 5; 0-Disabled (default), 1-Enabled; -account.5.enable = +{if isset($user_password_5) } +account.5.enable = 1 +{else} +account.5.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 5. account.5.label = {$display_name_5} @@ -1554,7 +1574,11 @@ account.5.codec.13.rtpmap = 97 ####################################################################################### #Enable or disable the account 6; 0-Disabled (default), 1-Enabled; -account.6.enable = +{if isset($user_password_6) } +account.6.enable = 1 +{else} +account.6.enable = 0 +{/if} #Configure the label displayed on the LCD screen for account 6. account.6.label = {$display_name_6} diff --git a/resources/templates/provision/yealink/t42g/y000000000029.cfg b/resources/templates/provision/yealink/t42g/y000000000029.cfg index 80aa60557c..5ac56ff49a 100644 --- a/resources/templates/provision/yealink/t42g/y000000000029.cfg +++ b/resources/templates/provision/yealink/t42g/y000000000029.cfg @@ -761,6 +761,9 @@ features.pickup.direct_pickup_code = features.pickup.blf_visual_enable = features.pickup.blf_audio_enable = +#Enable or disable reset by long press on OK key. 0-Disable 1-Enable(Defautl) +#features.reset_by_long_press_enable = 0 + ####################################################################################### ## Phone Setting ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t42g/{$mac}.cfg b/resources/templates/provision/yealink/t42g/{$mac}.cfg index 726d5b0153..2e7ce16894 100644 --- a/resources/templates/provision/yealink/t42g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t42g/{$mac}.cfg @@ -481,6 +481,8 @@ account.2.outbound_proxy_enable = account.2.outbound_host = {$outbound_proxy_2} account.2.outbound_port = 5060 account.2.sip_listen_port = 5060 +#Configure the register expiry time (in seconds), the default value is 3600. +account.2.expires = {$register_expires_2} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; {if $sip_transport_2 == 'udp'}account.2.transport = 0{/if} {if $sip_transport_2 == 'tcp'}account.2.transport = 1{/if} @@ -974,6 +976,8 @@ account.3.outbound_proxy_enable = account.3.outbound_host = {$outbound_proxy_3} account.3.outbound_port = 5060 account.3.sip_listen_port = 5060 +#Configure the register expiry time (in seconds), the default value is 3600. +account.3.expires = {$register_expires_3} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; {if $sip_transport_3 == 'udp'}account.3.transport = 0{/if} {if $sip_transport_3 == 'tcp'}account.3.transport = 1{/if} @@ -1467,6 +1471,8 @@ account.4.outbound_proxy_enable = account.4.outbound_host = {$outbound_proxy_4} account.4.outbound_port = 5060 account.4.sip_listen_port = 5060 +#Configure the register expiry time (in seconds), the default value is 3600. +account.4.expires = {$register_expires_4} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; {if $sip_transport_4 == 'udp'}account.4.transport = 0{/if} {if $sip_transport_4 == 'tcp'}account.4.transport = 1{/if} @@ -1958,6 +1964,8 @@ account.5.outbound_proxy_enable = account.5.outbound_host = {$outbound_proxy_5} account.5.outbound_port = 5060 account.5.sip_listen_port = 5060 +#Configure the register expiry time (in seconds), the default value is 3600. +account.5.expires = {$register_expires_5} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; {if $sip_transport_5 == 'udp'}account.5.transport = 0{/if} {if $sip_transport_5 == 'tcp'}account.5.transport = 1{/if} @@ -2449,6 +2457,8 @@ account.6.outbound_proxy_enable = account.6.outbound_host = {$outbound_proxy_6} account.6.outbound_port = 5060 account.6.sip_listen_port = 5060 +#Configure the register expiry time (in seconds), the default value is 3600. +account.6.expires = {$register_expires_6} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; {if $sip_transport_6 == 'udp'}account.6.transport = 0{/if} {if $sip_transport_6 == 'tcp'}account.6.transport = 1{/if} @@ -2916,8 +2926,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 ## diff --git a/resources/templates/provision/yealink/t46g/y000000000028.cfg b/resources/templates/provision/yealink/t46g/y000000000028.cfg index 4b1722d0b2..87be02254a 100644 --- a/resources/templates/provision/yealink/t46g/y000000000028.cfg +++ b/resources/templates/provision/yealink/t46g/y000000000028.cfg @@ -761,6 +761,9 @@ features.pickup.direct_pickup_code = features.pickup.blf_visual_enable = features.pickup.blf_audio_enable = +#Enable or disable reset by long press on OK key. 0-Disable 1-Enable(Defautl) +#features.reset_by_long_press_enable = 0 + ####################################################################################### ## Phone Setting ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t46g/{$mac}.cfg b/resources/templates/provision/yealink/t46g/{$mac}.cfg index 3190f538a8..2e7ce16894 100644 --- a/resources/templates/provision/yealink/t46g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t46g/{$mac}.cfg @@ -481,6 +481,8 @@ account.2.outbound_proxy_enable = account.2.outbound_host = {$outbound_proxy_2} account.2.outbound_port = 5060 account.2.sip_listen_port = 5060 +#Configure the register expiry time (in seconds), the default value is 3600. +account.2.expires = {$register_expires_2} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; {if $sip_transport_2 == 'udp'}account.2.transport = 0{/if} {if $sip_transport_2 == 'tcp'}account.2.transport = 1{/if} @@ -951,6 +953,7 @@ network.internet_port.mask = network.internet_port.gateway = network.primary_dns= network.secondary_dns = +network.static_dns_enable = 0 ####################################################################################### ## Account 3 Basic Settings ## @@ -973,12 +976,15 @@ account.3.outbound_proxy_enable = account.3.outbound_host = {$outbound_proxy_3} account.3.outbound_port = 5060 account.3.sip_listen_port = 5060 +#Configure the register expiry time (in seconds), the default value is 3600. +account.3.expires = {$register_expires_3} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; {if $sip_transport_3 == 'udp'}account.3.transport = 0{/if} {if $sip_transport_3 == 'tcp'}account.3.transport = 1{/if} {if $sip_transport_3 == 'tls'}account.3.transport = 2{/if} {if $sip_transport_3 == 'dns srv'}account.3.transport = 3{/if} + ####################################################################################### ## Failback ## ####################################################################################### @@ -1465,6 +1471,8 @@ account.4.outbound_proxy_enable = account.4.outbound_host = {$outbound_proxy_4} account.4.outbound_port = 5060 account.4.sip_listen_port = 5060 +#Configure the register expiry time (in seconds), the default value is 3600. +account.4.expires = {$register_expires_4} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; {if $sip_transport_4 == 'udp'}account.4.transport = 0{/if} {if $sip_transport_4 == 'tcp'}account.4.transport = 1{/if} @@ -1956,6 +1964,8 @@ account.5.outbound_proxy_enable = account.5.outbound_host = {$outbound_proxy_5} account.5.outbound_port = 5060 account.5.sip_listen_port = 5060 +#Configure the register expiry time (in seconds), the default value is 3600. +account.5.expires = {$register_expires_5} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; {if $sip_transport_5 == 'udp'}account.5.transport = 0{/if} {if $sip_transport_5 == 'tcp'}account.5.transport = 1{/if} @@ -2447,6 +2457,8 @@ account.6.outbound_proxy_enable = account.6.outbound_host = {$outbound_proxy_6} account.6.outbound_port = 5060 account.6.sip_listen_port = 5060 +#Configure the register expiry time (in seconds), the default value is 3600. +account.6.expires = {$register_expires_6} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; {if $sip_transport_6 == 'udp'}account.6.transport = 0{/if} {if $sip_transport_6 == 'tcp'}account.6.transport = 1{/if} diff --git a/resources/templates/provision/yealink/t48g/y000000000035.cfg b/resources/templates/provision/yealink/t48g/y000000000035.cfg index 4b1722d0b2..87be02254a 100644 --- a/resources/templates/provision/yealink/t48g/y000000000035.cfg +++ b/resources/templates/provision/yealink/t48g/y000000000035.cfg @@ -761,6 +761,9 @@ features.pickup.direct_pickup_code = features.pickup.blf_visual_enable = features.pickup.blf_audio_enable = +#Enable or disable reset by long press on OK key. 0-Disable 1-Enable(Defautl) +#features.reset_by_long_press_enable = 0 + ####################################################################################### ## Phone Setting ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t48g/{$mac}.cfg b/resources/templates/provision/yealink/t48g/{$mac}.cfg index 3190f538a8..93efdbbd92 100644 --- a/resources/templates/provision/yealink/t48g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t48g/{$mac}.cfg @@ -481,6 +481,8 @@ account.2.outbound_proxy_enable = account.2.outbound_host = {$outbound_proxy_2} account.2.outbound_port = 5060 account.2.sip_listen_port = 5060 +#Configure the register expiry time (in seconds), the default value is 3600. +account.2.expires = {$register_expires_2} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; {if $sip_transport_2 == 'udp'}account.2.transport = 0{/if} {if $sip_transport_2 == 'tcp'}account.2.transport = 1{/if} @@ -973,6 +975,8 @@ account.3.outbound_proxy_enable = account.3.outbound_host = {$outbound_proxy_3} account.3.outbound_port = 5060 account.3.sip_listen_port = 5060 +#Configure the register expiry time (in seconds), the default value is 3600. +account.3.expires = {$register_expires_3} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; {if $sip_transport_3 == 'udp'}account.3.transport = 0{/if} {if $sip_transport_3 == 'tcp'}account.3.transport = 1{/if} @@ -1465,6 +1469,8 @@ account.4.outbound_proxy_enable = account.4.outbound_host = {$outbound_proxy_4} account.4.outbound_port = 5060 account.4.sip_listen_port = 5060 +#Configure the register expiry time (in seconds), the default value is 3600. +account.4.expires = {$register_expires_4} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; {if $sip_transport_4 == 'udp'}account.4.transport = 0{/if} {if $sip_transport_4 == 'tcp'}account.4.transport = 1{/if} @@ -1956,6 +1962,8 @@ account.5.outbound_proxy_enable = account.5.outbound_host = {$outbound_proxy_5} account.5.outbound_port = 5060 account.5.sip_listen_port = 5060 +#Configure the register expiry time (in seconds), the default value is 3600. +account.5.expires = {$register_expires_5} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; {if $sip_transport_5 == 'udp'}account.5.transport = 0{/if} {if $sip_transport_5 == 'tcp'}account.5.transport = 1{/if} @@ -2447,6 +2455,8 @@ account.6.outbound_proxy_enable = account.6.outbound_host = {$outbound_proxy_6} account.6.outbound_port = 5060 account.6.sip_listen_port = 5060 +#Configure the register expiry time (in seconds), the default value is 3600. +account.6.expires = {$register_expires_6} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; {if $sip_transport_6 == 'udp'}account.6.transport = 0{/if} {if $sip_transport_6 == 'tcp'}account.6.transport = 1{/if}