diff --git a/resources/templates/provision/grandstream/gxw42xx/{$mac}.xml b/resources/templates/provision/grandstream/gxw42xx/{$mac}.xml
index 5321a87885..402143dcc8 100644
--- a/resources/templates/provision/grandstream/gxw42xx/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxw42xx/{$mac}.xml
@@ -151,27 +151,28 @@
0
-
-
-
-
-
-
-
-
-
-
+
-
+{$http_auth_password}
+
+
+
+{$http_auth_username}
+
+
+
+{$http_auth_password}
2
-
-
-fm.grandstream.com/gs
+{if isset($grandstream_firmware_path)}
+{$grandstream_firmware_path}
+{else}
+{$domain_name}{$project_path}/app/provision
+{/if}