diff --git a/resources/templates/provision/fanvil/x6/{$mac}.cfg b/resources/templates/provision/fanvil/x6/{$mac}.cfg
index 315db1a23b..79af0fc36c 100644
--- a/resources/templates/provision/fanvil/x6/{$mac}.cfg
+++ b/resources/templates/provision/fanvil/x6/{$mac}.cfg
@@ -87,7 +87,7 @@
{$sip_port_1}
{$auth_id_1}
{$user_password_1}
- 3600
+ {$register_expires_1}
{if isset($user_password_1) }
1
@@ -152,14 +152,12 @@
1
0
5060
-
- 0
-
+
#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
{if $sip_transport_1 == 'udp'}0{/if}
{if $sip_transport_1 == 'tcp'}1{/if}
{if $sip_transport_1 == 'tls'}2{/if}
- {if $sip_transport_1 == 'dns srv'}0{/if}
+ {if $sip_transport_1 == 'dns srv'}3{/if}
0
@@ -167,7 +165,7 @@
1
1
0
-
+ *97
@@ -235,7 +233,7 @@
{$sip_port_2}
{$auth_id_2}
{$user_password_2}
- 3600
+ {$register_expires_2}
{if isset($user_password_2) }
1
@@ -300,7 +298,13 @@
1
0
5060
- 0
+
+ #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
+ {if $sip_transport_2 == 'udp'}0{/if}
+ {if $sip_transport_2 == 'tcp'}1{/if}
+ {if $sip_transport_2 == 'tls'}2{/if}
+ {if $sip_transport_2 == 'dns srv'}3{/if}
+
0
0
@@ -375,7 +379,7 @@
{$sip_port_3}
{$auth_id_3}
{$user_password_3}
- 3600
+ {$register_expires_3}
{if isset($user_password_3) }
1
@@ -440,7 +444,13 @@
1
0
5060
- 0
+
+ #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
+ {if $sip_transport_3 == 'udp'}0{/if}
+ {if $sip_transport_3 == 'tcp'}1{/if}
+ {if $sip_transport_3 == 'tls'}2{/if}
+ {if $sip_transport_3 == 'dns srv'}3{/if}
+
0
0
@@ -515,7 +525,7 @@
{$sip_port_4}
{$auth_id_4}
{$user_password_4}
- 3600
+ {$register_expires_1}
{if isset($user_password_4) }
1
@@ -580,7 +590,13 @@
1
0
5060
- 0
+
+ #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
+ {if $sip_transport_4 == 'udp'}0{/if}
+ {if $sip_transport_4 == 'tcp'}1{/if}
+ {if $sip_transport_4 == 'tls'}2{/if}
+ {if $sip_transport_4 == 'dns srv'}3{/if}
+
0
0
@@ -655,7 +671,7 @@
{$sip_port_5}
{$auth_id_5}
{$user_password_5}
- 3600
+ {$register_expires_5}
{if isset($user_password_5) }
1
@@ -720,7 +736,13 @@
1
0
5060
- 0
+
+ #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
+ {if $sip_transport_5 == 'udp'}0{/if}
+ {if $sip_transport_5 == 'tcp'}1{/if}
+ {if $sip_transport_5 == 'tls'}2{/if}
+ {if $sip_transport_5 == 'dns srv'}3{/if}
+
0
0
@@ -795,7 +817,7 @@
{$sip_port_6}
{$auth_id_6}
{$user_password_6}
- 3600
+ {$register_expires_6}
{if isset($user_password_6) }
1
@@ -860,7 +882,13 @@
1
0
5060
- 0
+
+ #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
+ {if $sip_transport_6 == 'udp'}0{/if}
+ {if $sip_transport_6 == 'tcp'}1{/if}
+ {if $sip_transport_6 == 'tls'}2{/if}
+ {if $sip_transport_6 == 'dns srv'}3{/if}
+
0
0