diff --git a/resources/templates/provision/yealink/t46s/{$mac}.cfg b/resources/templates/provision/yealink/t46s/{$mac}.cfg index f1c124bd29..9b9cfa655a 100644 --- a/resources/templates/provision/yealink/t46s/{$mac}.cfg +++ b/resources/templates/provision/yealink/t46s/{$mac}.cfg @@ -37,12 +37,12 @@ account.1.outbound_proxy_enable = {if isset($account.1.outbound_proxy_primary)}1 {if isset($outbound_proxy_1_port)} account.1.outbound_proxy.1.port = {$outbound_proxy_1_port} {else} -account.1.outbound_proxy.1.port = 5060 +account.1.outbound_proxy.1.port = {$account.1.sip_port} {/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 +account.1.outbound_proxy.2.port = {$account.1.sip_port} {/if} #######################################################################################