diff --git a/resources/templates/provision/grandstream/ht802/{$mac}.xml b/resources/templates/provision/grandstream/ht802/{$mac}.xml
index 7f72444705..19f03c6f56 100644
--- a/resources/templates/provision/grandstream/ht802/{$mac}.xml
+++ b/resources/templates/provision/grandstream/ht802/{$mac}.xml
@@ -1186,7 +1186,11 @@
+{if isset($grandstream_fax_mode)}
+ 1
+{else}
0
+{/if}