diff --git a/resources/templates/provision/grandstream/gxp2124/{$mac}.xml b/resources/templates/provision/grandstream/gxp2124/{$mac}.xml
index e0ca307869..4bcf7a47f3 100644
--- a/resources/templates/provision/grandstream/gxp2124/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxp2124/{$mac}.xml
@@ -1947,12 +1947,12 @@
- 1
+ {if isset($grandstream_dhcp_option_override)}{$grandstream_dhcp_option_override}{else}1{/if}
- 0
+ {if isset($grandstream_dhcp_option_override_sip_server)}{$grandstream_dhcp_option_override_sip_server}{else}0{/if}