From 3094933c107428763944117c383199e7de91bffe Mon Sep 17 00:00:00 2001 From: Len Date: Tue, 7 Apr 2020 11:52:28 -0400 Subject: [PATCH] Update {$mac}.xml (#5233) --- .../provision/grandstream/dp750/{$mac}.xml | 43 +++++++++++++++---- 1 file changed, 34 insertions(+), 9 deletions(-) diff --git a/resources/templates/provision/grandstream/dp750/{$mac}.xml b/resources/templates/provision/grandstream/dp750/{$mac}.xml index 46970f1101..b759950d6f 100644 --- a/resources/templates/provision/grandstream/dp750/{$mac}.xml +++ b/resources/templates/provision/grandstream/dp750/{$mac}.xml @@ -27,11 +27,16 @@ -{$account.1.server_address} +{$account.1.server_address}:{$account.1.sip_port} - + +{if isset($account.1.server_address_secondary)} +{$account.1.server_address_secondary}:{$account.1.sip_port} +{else} +{$account.1.server_address_secondary} +{/if} @@ -40,7 +45,12 @@ -{$account.1.outbound_proxy} + +{if isset($account.1.outbound_proxy_primary)} +{$account.1.outbound_proxy_primary}:{$account.1.sip_port} +{else} +{$account.1.outbound_proxy_primary} +{/if} @@ -570,7 +580,7 @@ - +{$account.2.server_address_secondary} @@ -579,7 +589,12 @@ -{$account.2.outbound_proxy} + +{if isset($account.2.outbound_proxy_primary)} +{$account.2.outbound_proxy_primary}:{$account.2.sip_port} +{else} +{$account.2.outbound_proxy_primary} +{/if} @@ -1094,7 +1109,7 @@ - +{$account.3.server_address_secondary} @@ -1103,7 +1118,12 @@ -{$account.3.outbound_proxy} + +{if isset($account.3.outbound_proxy_primary)} +{$account.3.outbound_proxy_primary}:{$account.3.sip_port} +{else} +{$account.3.outbound_proxy_primary} +{/if} @@ -1619,7 +1639,7 @@ - +{$account.4.server_address_secondary} @@ -1628,7 +1648,12 @@ -{$account.4.outbound_proxy} + +{if isset($account.4.outbound_proxy_primary)} +{$account.4.outbound_proxy_primary}:{$account.4.sip_port} +{else} +{$account.4.outbound_proxy_primary} +{/if}