diff --git a/resources/templates/provision/grandstream/gxp2140/{$mac}.xml b/resources/templates/provision/grandstream/gxp2140/{$mac}.xml
index 0c3e22554a..e27f59b922 100644
--- a/resources/templates/provision/grandstream/gxp2140/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxp2140/{$mac}.xml
@@ -7330,7 +7330,9 @@
- 1
+ {if isset($grandstream_onhook_dial_barging)}
+ {$grandstream_onhook_dial_barging}
+ {/if}
@@ -7373,7 +7375,9 @@
- 0
+ {if isset($grandstream_history_dialplan_bypass)}
+ {$grandstream_history_dialplan_bypass}
+ {/if}