diff --git a/resources/templates/provision/grandstream/ht503/{$mac}.xml b/resources/templates/provision/grandstream/ht503/{$mac}.xml
index 882a778748..e8ee007b2b 100644
--- a/resources/templates/provision/grandstream/ht503/{$mac}.xml
+++ b/resources/templates/provision/grandstream/ht503/{$mac}.xml
@@ -878,7 +878,11 @@
+{if isset($grandstream_fax_mode)}
+1
+{else}
0
+{/if}