diff --git a/resources/templates/provision/fanvil/x3sp/{$mac}.cfg b/resources/templates/provision/fanvil/x3sp/{$mac}.cfg
index 315fd2d346..b7da85a827 100644
--- a/resources/templates/provision/fanvil/x3sp/{$mac}.cfg
+++ b/resources/templates/provision/fanvil/x3sp/{$mac}.cfg
@@ -6,8 +6,8 @@
255.255.255.0
-
-
+{$dns_server_primary}
+{$dns_server_secondary}
1
0
Fanvil X3S
@@ -15,15 +15,15 @@
0
1
0
-10000
-200
-time.nist.gov
-pool.ntp.org
+16384
+16384
+{$ntp_server_primary}
+{$ntp_server_secondary}
1
-32
-1
-UTC+8
-1
+{$fanvil_time_zone}
+{$fanvil_location}
+{$fanvil_time_zone_name}
+{$fanvil_enable_dst}
2
60
60
@@ -139,9 +139,6 @@
0
-
-
-
P1
@@ -156,7 +153,7 @@
1
1
0
-1
+0
2
101
0
@@ -260,7 +257,7 @@
0
1
1
-0
+1
0
1
1
@@ -268,22 +265,24 @@
SIP1
-2222
-
-
-
-5060
-
-
-3600
-0
-
-5060
-
-
-
-5060
-0
+{$user_id_1}
+{$display_name_1}
+{$fanvil_server_name}
+{$server_address_1}
+{$sip_port_1}
+{$auth_id_1}
+{$user_password_1}
+{$register_expires_1}
+
+{if isset($user_password_1)}1{else}0{/if}
+
+{$outbound_proxy_primary_1}
+{$sip_port_1}
+{$auth_id_1}
+{$user_password_1}
+{$outbound_proxy_secondary_1}
+{$sip_port_1}
+1
0
0
@@ -396,22 +395,24 @@
SIP2
-
-
-
-
-5060
-
-
-3600
-0
-
-5060
-
-
-
-5060
-0
+{$user_id_2}
+{$display_name_2}
+{$fanvil_server_name}
+{$server_address_2}
+{$sip_port_2}
+{$auth_id_2}
+{$user_password_2}
+{$register_expires_2}
+
+{if isset($user_password_2)}1{else}0{/if}
+
+{$outbound_proxy_primary_2}
+{$sip_port_2}
+{$auth_id_2}
+{$user_password_2}
+{$outbound_proxy_secondary_2}
+{$sip_port_2}
+1
0
0
@@ -632,9 +633,9 @@
0
0
1
+0
1
254
-0
0
@@ -659,7 +660,7 @@
0
0
110
-VOIP PHONE
+{$fanvil_greeting}
5
1
30
@@ -672,15 +673,18 @@
0
0
0
-0
+
+{if isset({$fanvil_time_display)}1{else}0{/if}
+
X3S
+1
1
0
0,,1
0
0
1
-0
+{$fanvil_date_display}
0
1
0
@@ -1156,20 +1160,20 @@
0
-
-
+{$http_auth_username}
+{$http_auth_password}
0
1
-
-0
-0
+https://{$domain_name}/app/provision
+5
+1
1
66
-0
0
+0
1
224.0.1.75
5060
@@ -1179,7 +1183,7 @@
1
1
5
-720
+5
0
0
0