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