diff --git a/resources/templates/provision/grandstream/ht818/{$mac}.xml b/resources/templates/provision/grandstream/ht818/{$mac}.xml
index bd1bd54ca6..071d038cdf 100644
--- a/resources/templates/provision/grandstream/ht818/{$mac}.xml
+++ b/resources/templates/provision/grandstream/ht818/{$mac}.xml
@@ -1138,7 +1138,11 @@
+ {if isset($grandstream_fax_mode)}
+ 1
+ {else}
0
+ {/if}