diff --git a/resources/templates/provision/grandstream/ht802/{$mac}.xml b/resources/templates/provision/grandstream/ht802/{$mac}.xml
index e53b21d663..3b8bc2ef00 100644
--- a/resources/templates/provision/grandstream/ht802/{$mac}.xml
+++ b/resources/templates/provision/grandstream/ht802/{$mac}.xml
@@ -1289,7 +1289,11 @@
+ {if isset($grandstream_loop_current_disconnect)}
+ 1
+ {else}
0
+ {/if}