From 1f0bd9dd2968ee3feeb3ef634e3040ef04ad5c23 Mon Sep 17 00:00:00 2001 From: Len Date: Thu, 28 Sep 2017 23:53:32 -0400 Subject: [PATCH] Update {$mac}.cfg --- resources/templates/provision/yealink/t56a/{$mac}.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/templates/provision/yealink/t56a/{$mac}.cfg b/resources/templates/provision/yealink/t56a/{$mac}.cfg index 3d2fc1c1ba..0d57126c75 100644 --- a/resources/templates/provision/yealink/t56a/{$mac}.cfg +++ b/resources/templates/provision/yealink/t56a/{$mac}.cfg @@ -16,6 +16,7 @@ account.1.auth_name = {$auth_id_1} account.1.user_name = {$user_id_1} account.1.password = {$user_password_1} 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} {if isset($outbound_proxy_1_port)} account.1.outbound_proxy.1.port = {$outbound_proxy_1_port} @@ -24,7 +25,7 @@ account.1.outbound_proxy.1.port = 5060 {/if} account.1.dial_tone = account.1.outbound_proxy.2.address = {$outbound_proxy_secondary_1} -account.1.outbound_proxy.2.port = {if isset($outbound_proxy_1_port)} +{if isset($outbound_proxy_1_port)} account.1.outbound_proxy.2.port = {$outbound_proxy_2_port} {else} account.1.outbound_proxy.2.port = 5060