diff --git a/resources/templates/provision/yealink/t58v/{$mac}.cfg b/resources/templates/provision/yealink/t58v/{$mac}.cfg index 4c2de0c3b9..1cdfa527da 100644 --- a/resources/templates/provision/yealink/t58v/{$mac}.cfg +++ b/resources/templates/provision/yealink/t58v/{$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 @@ -86,7 +87,6 @@ account.1.dns_cache_type = account.1.static_cache_pri = account.1.register_expires_overlap = account.1.subscribe_expires_overlap = - ####################################################################################### ## Register Advanced ## #######################################################################################