diff --git a/resources/templates/provision/grandstream/ht802/{$mac}.xml b/resources/templates/provision/grandstream/ht802/{$mac}.xml
index 0c44c93f0f..7f72444705 100644
--- a/resources/templates/provision/grandstream/ht802/{$mac}.xml
+++ b/resources/templates/provision/grandstream/ht802/{$mac}.xml
@@ -89,19 +89,25 @@
2
-
-
-{if isset($grandstream_firmware_path) && isset($firmware_version)}
-{$grandstream_firmware_path}/ht802/{$firmware_version}
-{elseif isset($grandstream_firmware_path)}
-{$grandstream_firmware_path}/ht802
-{else}
-{$domain_name}{$project_path}/app/provision
-{/if}
+
+
+ {if isset($grandstream_firmware_path) && isset($firmware_version)}
+ {$grandstream_firmware_path}/ht802/{$firmware_version}
+ {elseif isset($grandstream_firmware_path)}
+ {$grandstream_firmware_path}/ht802
+ {else}
+ {$domain_name}{$project_path}/app/provision
+ {/if}
-
-
-{$domain_name}{$project_path}/app/provision
+
+
+ {if $grandstream_config_server_path=="none"}
+
+ {elseif isset($grandstream_config_server_path)}
+ {$grandstream_config_server_path}
+ {else}
+ {$domain_name}{$project_path}/app/provision
+ {/if}