From 22fea7375efd59045954f5a625a769eb78d398b6 Mon Sep 17 00:00:00 2001
From: chansizzle <14916599+chansizzle@users.noreply.github.com>
Date: Thu, 19 Nov 2020 22:40:53 -0700
Subject: [PATCH] Update {$mac}.cfg
tls
side key update
---
.../templates/provision/fanvil/x6u/{$mac}.cfg | 47 ++++++++++---------
1 file changed, 24 insertions(+), 23 deletions(-)
diff --git a/resources/templates/provision/fanvil/x6u/{$mac}.cfg b/resources/templates/provision/fanvil/x6u/{$mac}.cfg
index 6bde547c52..e01b216bd7 100644
--- a/resources/templates/provision/fanvil/x6u/{$mac}.cfg
+++ b/resources/templates/provision/fanvil/x6u/{$mac}.cfg
@@ -211,7 +211,7 @@
5060
{if $account.1.sip_transport == 'udp'}0{/if}
{if $account.1.sip_transport == 'tcp'}1{/if}
- {if $account.1.sip_transport == 'tls'}2{/if}
+ {if $account.1.sip_transport == 'tls'}3{/if}
0
0
@@ -373,7 +373,7 @@
5060
{if $account.2.sip_transport == 'udp'}0{/if}
{if $account.2.sip_transport == 'tcp'}1{/if}
- {if $account.2.sip_transport == 'tls'}2{/if}
+ {if $account.2.sip_transport == 'tls'}3{/if}
0
0
@@ -535,7 +535,7 @@
5060
{if $account.3.sip_transport == 'udp'}0{/if}
{if $account.3.sip_transport == 'tcp'}1{/if}
- {if $account.3.sip_transport == 'tls'}2{/if}
+ {if $account.3.sip_transport == 'tls'}3{/if}
0
0
@@ -697,7 +697,7 @@
5060
{if $account.4.sip_transport == 'udp'}0{/if}
{if $account.4.sip_transport == 'tcp'}1{/if}
- {if $account.4.sip_transport == 'tls'}2{/if}
+ {if $account.4.sip_transport == 'tls'}3{/if}
0
0
@@ -859,7 +859,7 @@
5060
{if $account.5.sip_transport == 'udp'}0{/if}
{if $account.5.sip_transport == 'tcp'}1{/if}
- {if $account.5.sip_transport == 'tls'}2{/if}
+ {if $account.5.sip_transport == 'tls'}3{/if}
0
0
@@ -1021,7 +1021,7 @@
5060
{if $account.6.sip_transport == 'udp'}0{/if}
{if $account.6.sip_transport == 'tcp'}1{/if}
- {if $account.6.sip_transport == 'tls'}2{/if}
+ {if $account.6.sip_transport == 'tls'}3{/if}
0
0
@@ -1183,7 +1183,7 @@
5060
{if $account.7.sip_transport == 'udp'}0{/if}
{if $account.7.sip_transport == 'tcp'}1{/if}
- {if $account.7.sip_transport == 'tls'}2{/if}
+ {if $account.7.sip_transport == 'tls'}3{/if}
0
0
@@ -1345,7 +1345,7 @@
5060
{if $account.8.sip_transport == 'udp'}0{/if}
{if $account.8.sip_transport == 'tcp'}1{/if}
- {if $account.8.sip_transport == 'tls'}2{/if}
+ {if $account.8.sip_transport == 'tls'}3{/if}
0
0
@@ -1507,7 +1507,7 @@
5060
{if $account.9.sip_transport == 'udp'}0{/if}
{if $account.9.sip_transport == 'tcp'}1{/if}
- {if $account.9.sip_transport == 'tls'}2{/if}
+ {if $account.9.sip_transport == 'tls'}3{/if}
0
0
@@ -1669,7 +1669,7 @@
5060
{if $account.10.sip_transport == 'udp'}0{/if}
{if $account.10.sip_transport == 'tcp'}1{/if}
- {if $account.10.sip_transport == 'tls'}2{/if}
+ {if $account.10.sip_transport == 'tls'}3{/if}
0
0
@@ -1831,7 +1831,7 @@
5060
{if $account.11.sip_transport == 'udp'}0{/if}
{if $account.11.sip_transport == 'tcp'}1{/if}
- {if $account.11.sip_transport == 'tls'}2{/if}
+ {if $account.11.sip_transport == 'tls'}3{/if}
0
0
@@ -1993,7 +1993,7 @@
5060
{if $account.12.sip_transport == 'udp'}0{/if}
{if $account.12.sip_transport == 'tcp'}1{/if}
- {if $account.12.sip_transport == 'tls'}2{/if}
+ {if $account.12.sip_transport == 'tls'}3{/if}
0
0
@@ -2154,7 +2154,7 @@
5060
{if $account.13.sip_transport == 'udp'}0{/if}
{if $account.13.sip_transport == 'tcp'}1{/if}
- {if $account.13.sip_transport == 'tls'}2{/if}
+ {if $account.13.sip_transport == 'tls'}3{/if}
0
0
@@ -2316,7 +2316,7 @@
5060
{if $account.14.sip_transport == 'udp'}0{/if}
{if $account.14.sip_transport == 'tcp'}1{/if}
- {if $account.14.sip_transport == 'tls'}2{/if}
+ {if $account.14.sip_transport == 'tls'}3{/if}
0
0
@@ -2478,7 +2478,7 @@
5060
{if $account.15.sip_transport == 'udp'}0{/if}
{if $account.15.sip_transport == 'tcp'}1{/if}
- {if $account.15.sip_transport == 'tls'}2{/if}
+ {if $account.15.sip_transport == 'tls'}3{/if}
0
0
@@ -2640,7 +2640,7 @@
5060
{if $account.16.sip_transport == 'udp'}0{/if}
{if $account.16.sip_transport == 'tcp'}1{/if}
- {if $account.16.sip_transport == 'tls'}2{/if}
+ {if $account.16.sip_transport == 'tls'}3{/if}
0
0
@@ -2803,7 +2803,7 @@
5060
{if $account.17.sip_transport == 'udp'}0{/if}
{if $account.17.sip_transport == 'tcp'}1{/if}
- {if $account.17.sip_transport == 'tls'}2{/if}
+ {if $account.17.sip_transport == 'tls'}3{/if}
0
0
@@ -2966,7 +2966,7 @@
5060
{if $account.18.sip_transport == 'udp'}0{/if}
{if $account.18.sip_transport == 'tcp'}1{/if}
- {if $account.18.sip_transport == 'tls'}2{/if}
+ {if $account.18.sip_transport == 'tls'}3{/if}
0
0
@@ -3129,7 +3129,7 @@
5060
{if $account.19.sip_transport == 'udp'}0{/if}
{if $account.19.sip_transport == 'tcp'}1{/if}
- {if $account.19.sip_transport == 'tls'}2{/if}
+ {if $account.19.sip_transport == 'tls'}3{/if}
0
0
@@ -3292,7 +3292,7 @@
5060
{if $account.20.sip_transport == 'udp'}0{/if}
{if $account.20.sip_transport == 'tcp'}1{/if}
- {if $account.20.sip_transport == 'tls'}2{/if}
+ {if $account.20.sip_transport == 'tls'}3{/if}
0
0
@@ -4048,15 +4048,16 @@
+
{foreach $keys["line"] as $row}
-
+
{if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}
{if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if}
{$row.device_key_label}
{$row.device_key_icon}
-
+
{/foreach}
-
+
{strip}{*-- Each Internal Index contains 12 keys --*}{/strip}
{foreach $keys["memory"] as $row}