diff --git a/resources/templates/provision/grandstream/gxp17xx/{$mac}.xml b/resources/templates/provision/grandstream/gxp17xx/{$mac}.xml
index 498e113cf0..e2acafe9ba 100644
--- a/resources/templates/provision/grandstream/gxp17xx/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxp17xx/{$mac}.xml
@@ -6077,18 +6077,18 @@
-1
+{if isset($grandstream_dhcp_option_override)}{$grandstream_dhcp_option_override}{else}1{/if}
-0
+{if isset($grandstream_dhcp_option_additional_override)}{$grandstream_dhcp_option_additional_override}{else}0{/if}
-0
+{if isset($grandstream_dhcp_option_override_sip_server)}{$grandstream_dhcp_option_override_sip_server}{else}0{/if}