From c3dd94a0678228f2df5b1831e9ab1a127d38368b Mon Sep 17 00:00:00 2001 From: Len Date: Fri, 28 Apr 2017 12:59:05 -0400 Subject: [PATCH] Update {$mac}.cfg --- .../provision/yealink/t21p/{$mac}.cfg | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/resources/templates/provision/yealink/t21p/{$mac}.cfg b/resources/templates/provision/yealink/t21p/{$mac}.cfg index c394793340..3186387282 100644 --- a/resources/templates/provision/yealink/t21p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t21p/{$mac}.cfg @@ -30,19 +30,19 @@ account.1.sip_listen_port = 5060 {if $sip_transport_1 == 'dns srv'}account.1.transport = 3{/if} account.1.outbound_proxy.1.address = {$outbound_proxy_primary_1} -+account.1.outbound_proxy.2.address = {$outbound_proxy_secondary_1} -+account.1.outbound_proxy_enable = {if isset($outbound_proxy_primary_1)}1{else}0{/if} -+ -+{if isset($outbound_proxy_1_port)} -+account.1.outbound_proxy.1.port = {$outbound_proxy_1_port} -+{else} -+account.1.outbound_proxy.1.port = 5060 -+{/if} -+{if isset($outbound_proxy_1_port)} -+account.1.outbound_proxy.2.port = {$outbound_proxy_2_port} -+{else} -+account.1.outbound_proxy.2.port = 5060 -+{/if} +account.1.outbound_proxy.2.address = {$outbound_proxy_secondary_1} +account.1.outbound_proxy_enable = {if isset($outbound_proxy_primary_1)}1{else}0{/if} + +{if isset($outbound_proxy_1_port)} +account.1.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.1.outbound_proxy.1.port = 5060 +{/if} +{if isset($outbound_proxy_1_port)} +account.1.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.1.outbound_proxy.2.port = 5060 +{/if} ####################################################################################### @@ -205,7 +205,7 @@ account.1.out_dialog_blf_enable = 0 ##account.X.shared_line = #Assign account1 as shared line; 0-Disabled (default), 1-Broadsoft SCA, 2-BLA; -if isset($shared_line_1) } +{if isset($shared_line_1) } account.1.shared_line = {$shared_line_1} {else} account.1.shared_line = 0