diff --git a/resources/templates/provision/grandstream/ht818/{$mac}.xml b/resources/templates/provision/grandstream/ht818/{$mac}.xml
index c1520e6a0b..fae40cd009 100644
--- a/resources/templates/provision/grandstream/ht818/{$mac}.xml
+++ b/resources/templates/provision/grandstream/ht818/{$mac}.xml
@@ -131,7 +131,7 @@
- 0
+ {if isset($grandstream_dhcp_option_override)}{$grandstream_dhcp_option_override}{else}1{/if}
@@ -531,7 +531,7 @@
- 0
+ {if isset($grandstream_dhcp_option_override_sip_server)}{$grandstream_dhcp_option_override_sip_server}{else}0{/if}