From 816b1c7a2bc0673173e9c54311800215dc3324db Mon Sep 17 00:00:00 2001 From: mbarvoipdrs <71390678+mbarvoipdrs@users.noreply.github.com> Date: Mon, 9 Nov 2020 15:18:26 -0500 Subject: [PATCH] Update Yealink T54W mac.cfg Allows for updating the server address to that of the primary server address if the username = user@domain --- resources/templates/provision/yealink/t54w/{$mac}.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/templates/provision/yealink/t54w/{$mac}.cfg b/resources/templates/provision/yealink/t54w/{$mac}.cfg index 734c94d05b..73196af299 100644 --- a/resources/templates/provision/yealink/t54w/{$mac}.cfg +++ b/resources/templates/provision/yealink/t54w/{$mac}.cfg @@ -123,7 +123,7 @@ account.1.user_name = {$account.1.user_id}@{$account.1.server_address} account.1.user_name = {$account.1.user_id} {/if} -account.1.sip_server.1.address= {$account.1.server_address} +{if isset($account.1.server.1.address)} account.1.sip_server.1.address= {$account.1.server.1.address} {else} account.1.sip_server.1.address= {$account.1.server_address} {/if} account.1.sip_server.1.port= {$account.1.sip_port}