diff --git a/app/grandstream/app_config.php b/app/grandstream/app_config.php index 619b0c2bda..d7328dea1e 100644 --- a/app/grandstream/app_config.php +++ b/app/grandstream/app_config.php @@ -657,10 +657,10 @@ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "6f3f3390-2b69-4898-a4d9-e62249d58d58"; $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'] = "boolean"; - $apps[$x]['default_settings'][$y]['default_setting_value'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "0"; $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; - $apps[$x]['default_settings'][$y]['default_setting_description'] = "Configure Broadsoft feature key synchronization on supported phones"; + $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++; $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "a6c84c0b-a7f1-4457-8afb-b64af601597d"; $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; diff --git a/resources/templates/provision/grandstream/gac2500/{$mac}.xml b/resources/templates/provision/grandstream/gac2500/{$mac}.xml index 24904d30c7..dd1c4ce3c8 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 99cbfd181f..34a335a7b5 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 9bf41b5f06..d25a54a7a8 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 4a5db26b0b..f1da628db5 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 3b42c1231b..593f3252b7 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 3135feaff7..709b5995ac 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 1a841e90ea..a40f5da5ce 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 1c0669429b..3550b5adb7 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 77384b2f14..563223809b 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 e0fc2ae56b..76db79277b 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 9f4fea1e42..bd342c24c5 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 026c4b5d4a..924b3fc09e 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 26ed86c5cb..e78b367410 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 c4d7a7ca08..80f4524003 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 9550de47be..921956d212 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 fe9b6f4ca1..276cee136f 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 8b967be7cd..3203bd60e3 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 71a6875deb..74e287c9a1 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 2ffd13d9f9..4dd3089477 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