diff --git a/app/grandstream/app_config.php b/app/grandstream/app_config.php
index 6071721f3..f2c7beaa4 100644
--- a/app/grandstream/app_config.php
+++ b/app/grandstream/app_config.php
@@ -653,6 +653,14 @@
$apps[$x]['default_settings'][$y]['default_setting_value'] = "5";
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Number: 0-7. Default is 5.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "fd0e54fe-1008-11eb-adc1-0242ac120002";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_feature_key_sync";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "1";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Enabled: 1, Disabled: 0 Defaults to 0. Valid for firmware higher than 1.0.9.202 for the GXP series and all firmwares GRP phones.";
$y++;
?>
diff --git a/resources/templates/provision/grandstream/gac2500/{$mac}.xml b/resources/templates/provision/grandstream/gac2500/{$mac}.xml
index 44958da1f..4f74aa830 100644
--- a/resources/templates/provision/grandstream/gac2500/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gac2500/{$mac}.xml
@@ -449,7 +449,9 @@
- 0
+{if isset($grandstream_feature_key_sync)}
+ {$grandstream_feature_key_sync}
+{/if}
diff --git a/resources/templates/provision/grandstream/grp2612/{$mac}.xml b/resources/templates/provision/grandstream/grp2612/{$mac}.xml
index 26f623e5f..05912b694 100644
--- a/resources/templates/provision/grandstream/grp2612/{$mac}.xml
+++ b/resources/templates/provision/grandstream/grp2612/{$mac}.xml
@@ -420,7 +420,9 @@
- 0
+{if isset($grandstream_feature_key_sync)}
+ {$grandstream_feature_key_sync}
+{/if}
diff --git a/resources/templates/provision/grandstream/grp2612w/{$mac}.xml b/resources/templates/provision/grandstream/grp2612w/{$mac}.xml
index 5b3e26f4c..49c02f2dd 100644
--- a/resources/templates/provision/grandstream/grp2612w/{$mac}.xml
+++ b/resources/templates/provision/grandstream/grp2612w/{$mac}.xml
@@ -420,7 +420,9 @@
- 0
+{if isset($grandstream_feature_key_sync)}
+ {$grandstream_feature_key_sync}
+{/if}
diff --git a/resources/templates/provision/grandstream/grp2613/{$mac}.xml b/resources/templates/provision/grandstream/grp2613/{$mac}.xml
index 113de1258..880006a77 100644
--- a/resources/templates/provision/grandstream/grp2613/{$mac}.xml
+++ b/resources/templates/provision/grandstream/grp2613/{$mac}.xml
@@ -420,7 +420,9 @@
- 0
+{if isset($grandstream_feature_key_sync)}
+ {$grandstream_feature_key_sync}
+{/if}
diff --git a/resources/templates/provision/grandstream/grp2614/{$mac}.xml b/resources/templates/provision/grandstream/grp2614/{$mac}.xml
index 29ca18920..ad8391054 100644
--- a/resources/templates/provision/grandstream/grp2614/{$mac}.xml
+++ b/resources/templates/provision/grandstream/grp2614/{$mac}.xml
@@ -420,7 +420,9 @@
- 0
+{if isset($grandstream_feature_key_sync)}
+ {$grandstream_feature_key_sync}
+{/if}
diff --git a/resources/templates/provision/grandstream/grp2615/{$mac}.xml b/resources/templates/provision/grandstream/grp2615/{$mac}.xml
index 1bd69836d..656aa8099 100644
--- a/resources/templates/provision/grandstream/grp2615/{$mac}.xml
+++ b/resources/templates/provision/grandstream/grp2615/{$mac}.xml
@@ -420,7 +420,9 @@
- 0
+{if isset($grandstream_feature_key_sync)}
+ {$grandstream_feature_key_sync}
+{/if}
diff --git a/resources/templates/provision/grandstream/grp2616/{$mac}.xml b/resources/templates/provision/grandstream/grp2616/{$mac}.xml
index efb9fc2ef..56b57c146 100644
--- a/resources/templates/provision/grandstream/grp2616/{$mac}.xml
+++ b/resources/templates/provision/grandstream/grp2616/{$mac}.xml
@@ -420,7 +420,9 @@
- 0
+{if isset($grandstream_feature_key_sync)}
+ {$grandstream_feature_key_sync}
+{/if}
diff --git a/resources/templates/provision/grandstream/grp26xx/{$mac}.xml b/resources/templates/provision/grandstream/grp26xx/{$mac}.xml
index 3532664e4..af8f66ad5 100644
--- a/resources/templates/provision/grandstream/grp26xx/{$mac}.xml
+++ b/resources/templates/provision/grandstream/grp26xx/{$mac}.xml
@@ -416,7 +416,9 @@
- 0
+{if isset($grandstream_feature_key_sync)}
+ {$grandstream_feature_key_sync}
+{/if}
diff --git a/resources/templates/provision/grandstream/gxp140x/{$mac}.xml b/resources/templates/provision/grandstream/gxp140x/{$mac}.xml
index 9a9b3c0ac..95c8458df 100644
--- a/resources/templates/provision/grandstream/gxp140x/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxp140x/{$mac}.xml
@@ -290,7 +290,9 @@
- 0
+{if isset($grandstream_feature_key_sync)}
+ {$grandstream_feature_key_sync}
+{/if}
diff --git a/resources/templates/provision/grandstream/gxp140xbk/{$mac}.xml b/resources/templates/provision/grandstream/gxp140xbk/{$mac}.xml
index b2073dec5..1d2ec672a 100644
--- a/resources/templates/provision/grandstream/gxp140xbk/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxp140xbk/{$mac}.xml
@@ -290,7 +290,9 @@
- 0
+{if isset($grandstream_feature_key_sync)}
+ {$grandstream_feature_key_sync}
+{/if}
diff --git a/resources/templates/provision/grandstream/gxp2100/{$mac}.xml b/resources/templates/provision/grandstream/gxp2100/{$mac}.xml
index 2751136ec..e29f06907 100644
--- a/resources/templates/provision/grandstream/gxp2100/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxp2100/{$mac}.xml
@@ -243,7 +243,9 @@
- 0
+{if isset($grandstream_feature_key_sync)}
+ {$grandstream_feature_key_sync}
+{/if}
diff --git a/resources/templates/provision/grandstream/gxp2124/{$mac}.xml b/resources/templates/provision/grandstream/gxp2124/{$mac}.xml
index 353fbb025..b8865a457 100644
--- a/resources/templates/provision/grandstream/gxp2124/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxp2124/{$mac}.xml
@@ -166,7 +166,9 @@
- 0
+{if isset($grandstream_feature_key_sync)}
+ {$grandstream_feature_key_sync}
+{/if}
diff --git a/resources/templates/provision/grandstream/gxp2130/{$mac}.xml b/resources/templates/provision/grandstream/gxp2130/{$mac}.xml
index c240ea921..154fb94f6 100644
--- a/resources/templates/provision/grandstream/gxp2130/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxp2130/{$mac}.xml
@@ -420,7 +420,9 @@
- 0
+{if isset($grandstream_feature_key_sync)}
+ {$grandstream_feature_key_sync}
+{/if}
diff --git a/resources/templates/provision/grandstream/gxp2135/{$mac}.xml b/resources/templates/provision/grandstream/gxp2135/{$mac}.xml
index efaf75505..cf1b6cb7b 100644
--- a/resources/templates/provision/grandstream/gxp2135/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxp2135/{$mac}.xml
@@ -420,7 +420,9 @@
- 0
+{if isset($grandstream_feature_key_sync)}
+ {$grandstream_feature_key_sync}
+{/if}
diff --git a/resources/templates/provision/grandstream/gxp2140/{$mac}.xml b/resources/templates/provision/grandstream/gxp2140/{$mac}.xml
index efaf75505..cf1b6cb7b 100644
--- a/resources/templates/provision/grandstream/gxp2140/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxp2140/{$mac}.xml
@@ -420,7 +420,9 @@
- 0
+{if isset($grandstream_feature_key_sync)}
+ {$grandstream_feature_key_sync}
+{/if}
diff --git a/resources/templates/provision/grandstream/gxp2160/{$mac}.xml b/resources/templates/provision/grandstream/gxp2160/{$mac}.xml
index 611dc4afc..fb93d93b6 100644
--- a/resources/templates/provision/grandstream/gxp2160/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxp2160/{$mac}.xml
@@ -420,7 +420,9 @@
- 0
+{if isset($grandstream_feature_key_sync)}
+ {$grandstream_feature_key_sync}
+{/if}
diff --git a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml
index e350b8246..7f283e685 100644
--- a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml
@@ -420,7 +420,9 @@
- 0
+{if isset($grandstream_feature_key_sync)}
+ {$grandstream_feature_key_sync}
+{/if}
diff --git a/resources/templates/provision/grandstream/gxp21xx/{$mac}.xml b/resources/templates/provision/grandstream/gxp21xx/{$mac}.xml
index 41ed4aeb4..6d15eb1f4 100644
--- a/resources/templates/provision/grandstream/gxp21xx/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxp21xx/{$mac}.xml
@@ -110,7 +110,9 @@
- 0
+{if isset($grandstream_feature_key_sync)}
+ {$grandstream_feature_key_sync}
+{/if}
diff --git a/resources/templates/provision/grandstream/gxv3175v2/{$mac}.xml b/resources/templates/provision/grandstream/gxv3175v2/{$mac}.xml
index 331264c92..557d9ff42 100644
--- a/resources/templates/provision/grandstream/gxv3175v2/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxv3175v2/{$mac}.xml
@@ -222,7 +222,9 @@
100
- 0
+{if isset($grandstream_feature_key_sync)}
+ {$grandstream_feature_key_sync}
+{/if}
1