diff --git a/resources/templates/provision/fanvil/x4g/{$mac}.cfg b/resources/templates/provision/fanvil/x4g/{$mac}.cfg
index 8d529cb7bd..aaaf60fca6 100644
--- a/resources/templates/provision/fanvil/x4g/{$mac}.cfg
+++ b/resources/templates/provision/fanvil/x4g/{$mac}.cfg
@@ -18,7 +18,7 @@
16384
16384
{$ntp_server_primary}
-pool.ntp.org
+{$ntp_server_secondary}
1
32
1
@@ -262,7 +262,7 @@
0
1
1
-0
+1
0
1
1
@@ -270,22 +270,28 @@
SIP1
-
-
-
-
-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
@@ -398,22 +404,28 @@
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
@@ -526,22 +538,28 @@
SIP3
-
-
-
-
-5060
-
-
-3600
-0
-
-5060
-
-
-
-5060
-0
+{$user_id_3}
+{$display_name_3}
+{$fanvil_server_name}
+{$server_address_3}
+{$sip_port_3}
+{$auth_id_3}
+{$user_password_3}
+{$register_expires_3}
+
+{if isset($user_password_3) }
+1
+{else}
+0
+{/if}
+
+{$outbound_proxy_primary_3}
+{$sip_port_3}
+{$auth_id_3}
+{$user_password_3}
+{$outbound_proxy_secondary_3}
+{$sip_port_3}
+1
0
0
@@ -654,22 +672,28 @@
SIP4
-
-
-
-
-5060
-
-
-3600
-0
-
-5060
-
-
-
-5060
-0
+{$user_id_4}
+{$display_name_4}
+{$fanvil_server_name}
+{$server_address_4}
+{$sip_port_4}
+{$auth_id_4}
+{$user_password_4}
+{$register_expires_4}
+
+{if isset($user_password_4) }
+1
+{else}
+0
+{/if}
+
+{$outbound_proxy_primary_4}
+{$sip_port_4}
+{$auth_id_4}
+{$user_password_4}
+{$outbound_proxy_secondary_4}
+{$sip_port_4}
+1
0
0
@@ -917,7 +941,7 @@
0
0
110
-VOIP PHONE
+{$fanvil_greeting}
5
1
30
@@ -930,7 +954,13 @@
0
0
0
+
+{if isset({$fanvil_time_display}) }
+1
+{else}
0
+{/if}
+
X4G
2
0
@@ -938,11 +968,11 @@
0
0
1
-0
+{$fanvil_date_display}
0
1
0
-1
+0
1
@@ -1597,9 +1627,9 @@
-
-0
-0
+https://{$domain_name}/app/provision
+5
+1
1
66
0
@@ -1613,7 +1643,7 @@
1
1
5
-720
+5
0
0
0