diff --git a/resources/templates/provision/fanvil/x5u/{$mac}.cfg b/resources/templates/provision/fanvil/x5u/{$mac}.cfg index b41bcc4343..cd5e37a823 100644 --- a/resources/templates/provision/fanvil/x5u/{$mac}.cfg +++ b/resources/templates/provision/fanvil/x5u/{$mac}.cfg @@ -206,7 +206,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 @@ -368,7 +368,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 @@ -530,7 +530,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 @@ -692,7 +692,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 @@ -854,7 +854,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 @@ -1016,7 +1016,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 @@ -1178,7 +1178,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 @@ -1340,7 +1340,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 @@ -1502,7 +1502,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 @@ -1664,7 +1664,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 @@ -1826,7 +1826,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 @@ -1988,7 +1988,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 @@ -2150,7 +2150,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 @@ -2312,7 +2312,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 @@ -2474,7 +2474,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 @@ -2636,7 +2636,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 @@ -3392,15 +3392,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 6 keys --*}{/strip} {foreach $keys["memory"] as $row}