diff --git a/app/grandstream/app_config.php b/app/grandstream/app_config.php index 8df25b70d7..51ab1a71bb 100644 --- a/app/grandstream/app_config.php +++ b/app/grandstream/app_config.php @@ -488,6 +488,14 @@ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; $apps[$x]['default_settings'][$y]['default_setting_description'] = "BLF Call-pickup. 0 - Auto, 1 - Force BLF Call-pickup by prefix, 2 - Disabled. Default is 0"; $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "4a460d91-795e-468a-8777-2474a1eccf9e"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_blf_callpickup_force"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "text"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "Auto"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "BLF Call-pickup. Options: Auto, Force, Disabled"; + $y++; $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "53a9f955-d199-44f5-a97d-eed636348da5"; $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_blf_remote_status"; diff --git a/resources/templates/provision/grandstream/grp2612/{$mac}.xml b/resources/templates/provision/grandstream/grp2612/{$mac}.xml index cdc766f6ad..baa70145b5 100644 --- a/resources/templates/provision/grandstream/grp2612/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2612/{$mac}.xml @@ -380,7 +380,11 @@ - Auto + {if isset($grandstream_blf_callpickup_force) } + {$grandstream_blf_callpickup_force} + {else} + Auto + {/if} diff --git a/resources/templates/provision/grandstream/grp2612w/{$mac}.xml b/resources/templates/provision/grandstream/grp2612w/{$mac}.xml index 294b7e256f..7f5b1543be 100644 --- a/resources/templates/provision/grandstream/grp2612w/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2612w/{$mac}.xml @@ -380,7 +380,11 @@ - Auto + {if isset($grandstream_blf_callpickup_force) } + {$grandstream_blf_callpickup_force} + {else} + Auto + {/if} diff --git a/resources/templates/provision/grandstream/grp2613/{$mac}.xml b/resources/templates/provision/grandstream/grp2613/{$mac}.xml index 5d02269207..947550fa9f 100644 --- a/resources/templates/provision/grandstream/grp2613/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2613/{$mac}.xml @@ -380,7 +380,11 @@ - Auto + {if isset($grandstream_blf_callpickup_force) } + {$grandstream_blf_callpickup_force} + {else} + Auto + {/if} diff --git a/resources/templates/provision/grandstream/grp2614/{$mac}.xml b/resources/templates/provision/grandstream/grp2614/{$mac}.xml index 5d02269207..947550fa9f 100644 --- a/resources/templates/provision/grandstream/grp2614/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2614/{$mac}.xml @@ -380,7 +380,11 @@ - Auto + {if isset($grandstream_blf_callpickup_force) } + {$grandstream_blf_callpickup_force} + {else} + Auto + {/if} diff --git a/resources/templates/provision/grandstream/grp2615/{$mac}.xml b/resources/templates/provision/grandstream/grp2615/{$mac}.xml index 5d02269207..947550fa9f 100644 --- a/resources/templates/provision/grandstream/grp2615/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2615/{$mac}.xml @@ -380,7 +380,11 @@ - Auto + {if isset($grandstream_blf_callpickup_force) } + {$grandstream_blf_callpickup_force} + {else} + Auto + {/if} diff --git a/resources/templates/provision/grandstream/grp2616/{$mac}.xml b/resources/templates/provision/grandstream/grp2616/{$mac}.xml index 5d02269207..947550fa9f 100644 --- a/resources/templates/provision/grandstream/grp2616/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2616/{$mac}.xml @@ -380,7 +380,11 @@ - Auto + {if isset($grandstream_blf_callpickup_force) } + {$grandstream_blf_callpickup_force} + {else} + Auto + {/if} diff --git a/resources/templates/provision/grandstream/grp261x/{$mac}.xml b/resources/templates/provision/grandstream/grp261x/{$mac}.xml index 08ac2246bd..51ec5d26b2 100644 --- a/resources/templates/provision/grandstream/grp261x/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp261x/{$mac}.xml @@ -259,7 +259,11 @@ - Auto + {if isset($grandstream_blf_callpickup_force) } + {$grandstream_blf_callpickup_force} + {else} + Auto + {/if} ** diff --git a/resources/templates/provision/grandstream/gxp2130/{$mac}.xml b/resources/templates/provision/grandstream/gxp2130/{$mac}.xml index 0435f1823a..73d09c646a 100644 --- a/resources/templates/provision/grandstream/gxp2130/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2130/{$mac}.xml @@ -289,7 +289,11 @@ - Auto + {if isset($grandstream_blf_callpickup_force) } + {$grandstream_blf_callpickup_force} + {else} + Auto + {/if} ** diff --git a/resources/templates/provision/grandstream/gxp2135/{$mac}.xml b/resources/templates/provision/grandstream/gxp2135/{$mac}.xml index 6779abc3f6..31741edf42 100644 --- a/resources/templates/provision/grandstream/gxp2135/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2135/{$mac}.xml @@ -289,7 +289,11 @@ - Auto + {if isset($grandstream_blf_callpickup_force) } + {$grandstream_blf_callpickup_force} + {else} + Auto + {/if} ** diff --git a/resources/templates/provision/grandstream/gxp2140/{$mac}.xml b/resources/templates/provision/grandstream/gxp2140/{$mac}.xml index c35cf8bca3..138e4afd9b 100644 --- a/resources/templates/provision/grandstream/gxp2140/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2140/{$mac}.xml @@ -289,7 +289,11 @@ - Auto + {if isset($grandstream_blf_callpickup_force) } + {$grandstream_blf_callpickup_force} + {else} + Auto + {/if} ** diff --git a/resources/templates/provision/grandstream/gxp2160/{$mac}.xml b/resources/templates/provision/grandstream/gxp2160/{$mac}.xml index b6ab424422..c85038c637 100644 --- a/resources/templates/provision/grandstream/gxp2160/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2160/{$mac}.xml @@ -289,7 +289,11 @@ - Auto + {if isset($grandstream_blf_callpickup_force) } + {$grandstream_blf_callpickup_force} + {else} + Auto + {/if} ** diff --git a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml index b3cb4736c4..3c88362fbf 100644 --- a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml @@ -289,7 +289,11 @@ - Auto + {if isset($grandstream_blf_callpickup_force) } + {$grandstream_blf_callpickup_force} + {else} + Auto + {/if} **