From 17a3ec2ca4ba467df65eab16fd80e960a927667f Mon Sep 17 00:00:00 2001 From: Len Date: Wed, 25 Oct 2017 21:45:21 -0400 Subject: [PATCH] Update {$mac}.cfg --- .../provision/yealink/t46s/{$mac}.cfg | 58 +++++++++---------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/resources/templates/provision/yealink/t46s/{$mac}.cfg b/resources/templates/provision/yealink/t46s/{$mac}.cfg index 79582d923a..c24bfe10da 100644 --- a/resources/templates/provision/yealink/t46s/{$mac}.cfg +++ b/resources/templates/provision/yealink/t46s/{$mac}.cfg @@ -232,31 +232,31 @@ account.1.auth_name = {$auth_id_1} account.1.password = {$user_password_1} account.1.user_name = {$user_id_1} -account.1.sip_server.1.address= {$server_address_1} -account.1.sip_server.1.port= {$sip_port_1} +account.1.sip_server.1.address = {$server_address_1} +account.1.sip_server.1.port = {$sip_port_1} {if $sip_transport_1 == 'udp'}account.1.sip_server.1.transport_type = 0{/if} {if $sip_transport_1 == 'tcp'}account.1.sip_server.1.transport_type = 1{/if} {if $sip_transport_1 == 'tls'}account.1.sip_server.1.transport_type = 2{/if} {if $sip_transport_1 == 'dns srv'}account.1.sip_server.1.transport_type = 3{/if} -account.1.sip_server.1.expires= {$register_expires_1} -account.1.sip_server.1.retry_counts= 3 +account.1.sip_server.1.expires = {$register_expires_1} +account.1.sip_server.1.retry_counts = 3 -account.1.sip_server.2.address= {$server_address_2} -account.1.sip_server.2.port= {$sip_port_2} +account.1.sip_server.2.address = {$server_address_2} +account.1.sip_server.2.port = {$sip_port_2} {if $sip_transport_1 == 'udp'}account.1.sip_server.2.transport_type = 0{/if} {if $sip_transport_1 == 'tcp'}account.1.sip_server.2.transport_type = 1{/if} {if $sip_transport_1 == 'tls'}account.1.sip_server.2.transport_type = 2{/if} {if $sip_transport_1 == 'dns srv'}account.1.sip_server.2.transport_type = 3{/if} -account.1.sip_server.2.expires= {$register_expires_2} -account.1.sip_server.2.retry_counts= 3 +account.1.sip_server.2.expires = {$register_expires_2} +account.1.sip_server.2.retry_counts = 3 -account.1.outbound_proxy_enable= {if isset($outbound_proxy_primary_1)}1{else}0{/if} +account.1.outbound_proxy_enable = {if isset($outbound_proxy_primary_1)}1{else}0{/if} -account.1.outbound_proxy.1.address= {$outbound_proxy_primary_1} +account.1.outbound_proxy.1.address = {$outbound_proxy_primary_1} {if isset($outbound_proxy_1_port)} account.1.outbound_proxy.1.port = {$outbound_proxy_1_port} @@ -264,7 +264,7 @@ account.1.outbound_proxy.1.port = {$outbound_proxy_1_port} account.1.outbound_proxy.1.port = 5060 {/if} -account.1.outbound_proxy.2.address= {$outbound_proxy_secondary_1} +account.1.outbound_proxy.2.address = {$outbound_proxy_secondary_1} {if isset($outbound_proxy_1_port)} account.1.outbound_proxy.2.port = {$outbound_proxy_2_port} @@ -278,7 +278,7 @@ account.1.outbound_proxy_fallback_interval = {$outbound_proxy_fallback_interval} account.1.outbound_proxy_fallback_interval = 120 {/if} -account.1.nat.nat_traversal= {if isset($stun_server)}1{else}0{/if} +account.1.nat.nat_traversal = {if isset($stun_server)}1{else}0{/if} {if isset($user_password_2) } @@ -292,8 +292,8 @@ account.2.auth_name = {$auth_id_2} account.2.password = {$user_password_2} account.2.user_name = {$user_id_2} -account.2.sip_server.1.address= {$server_address_2} -account.2.sip_server.1.port= {$sip_port_2} +account.2.sip_server.1.address = {$server_address_2} +account.2.sip_server.1.port = {$sip_port_2} {if $sip_transport_1 == 'udp'}account.2.sip_server.1.transport_type = 0{/if} @@ -301,11 +301,11 @@ account.2.sip_server.1.port= {$sip_port_2} {if $sip_transport_1 == 'tls'}account.2.sip_server.1.transport_type = 2{/if} {if $sip_transport_1 == 'dns srv'}account.2.sip_server.1.transport_type = 3{/if} -account.2.sip_server.1.expires= {$register_expires_1} -account.2.sip_server.1.retry_counts= 3 +account.2.sip_server.1.expires = {$register_expires_1} +account.2.sip_server.1.retry_counts = 3 -account.2.sip_server.2.address= {$server_address_2} -account.2.sip_server.2.port= {$sip_port_2} +account.2.sip_server.2.address = {$server_address_2} +account.2.sip_server.2.port = {$sip_port_2} {if $sip_transport_2 == 'udp'}account.2.sip_server.2.transport_type = 0{/if} @@ -313,12 +313,12 @@ account.2.sip_server.2.port= {$sip_port_2} {if $sip_transport_2 == 'tls'}account.2.sip_server.2.transport_type = 2{/if} {if $sip_transport_2 == 'dns srv'}account.2.sip_server.2.transport_type = 3{/if} -account.2.sip_server.2.expires= {$register_expires_2} -account.2.sip_server.2.retry_counts= 3 +account.2.sip_server.2.expires = {$register_expires_2} +account.2.sip_server.2.retry_counts = 3 -account.2.outbound_proxy_enable= {if isset($outbound_proxy_primary_2)}1{else}0{/if} +account.2.outbound_proxy_enable = {if isset($outbound_proxy_primary_2)}1{else}0{/if} -account.2.outbound_proxy.1.address= {$outbound_proxy_primary_2} +account.2.outbound_proxy.1.address = {$outbound_proxy_primary_2} {if isset($outbound_proxy_1_port)} account.2.outbound_proxy.1.port = {$outbound_proxy_2_port} @@ -365,9 +365,9 @@ account.1.dtmf.dtmf_payload= account.1.100rel_enable= {$yealink_retransmission} account.1.subscribe_register= -account.1.cid_source= {$yealink_cid_source} +account.1.cid_source = {$yealink_cid_source} account.1.enable_user_equal_phone= -account.1.srtp_encryption= {$yealink_srtp_encryption} +account.1.srtp_encryption = {$yealink_srtp_encryption} account.1.ptime= 20 account.1.register_line= account.1.register_mac= @@ -376,7 +376,7 @@ account.1.unregister_on_reboot= account.1.session_timer.refresher= account.1.session_timer.expires= -account.1.session_timer.enable= {$yealink_session_timer} +account.1.session_timer.enable = {$yealink_session_timer} account.1.conf_type= account.1.sip_server_type= @@ -391,9 +391,9 @@ account.2.dtmf.dtmf_payload= account.2.100rel_enable= {$yealink_retransmission} account.2.subscribe_register= -account.2.cid_source= {$yealink_cid_source} +account.2.cid_source = {$yealink_cid_source} account.2.enable_user_equal_phone= -account.2.srtp_encryption= {$yealink_srtp_encryption} +account.2.srtp_encryption = {$yealink_srtp_encryption} account.2.ptime= 20 account.2.register_line= account.2.register_mac= @@ -402,7 +402,7 @@ account.2.unregister_on_reboot= account.2.session_timer.refresher= account.2.session_timer.expires= -account.2.session_timer.enable= {$yealink_session_timer} +account.2.session_timer.enable = {$yealink_session_timer} account.2.conf_type= account.2.sip_server_type= @@ -622,7 +622,7 @@ account.1.blf.subscribe_event= ####################################################################################### ## SCA ## ####################################################################################### -account.1.shared_line= {$shared_line_1} +account.1.shared_line = {$shared_line_1} account.1.line_seize.expires= account.1.shared_line_one_touch_bargein.enable= account.1.shared_line_one_touch_retrieve.enable=