From 6252b3b57cf98114661c51a8cdb04abb99f2562a Mon Sep 17 00:00:00 2001 From: chansizzle <14916599+chansizzle@users.noreply.github.com> Date: Fri, 18 Mar 2022 09:37:35 -0600 Subject: [PATCH] allow yealink swap/hold button behaivor change (#6328) Allow swap button to be changed to 'hold', 'swap', or 2 buttons 'hold' and 'swap' on yealink phones. This is only a factor when there are 2 active calls. --- app/yealink/app_config.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/yealink/app_config.php b/app/yealink/app_config.php index 610464811b..b8ee383fdf 100644 --- a/app/yealink/app_config.php +++ b/app/yealink/app_config.php @@ -1489,5 +1489,13 @@ $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'] = "Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify"; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "94a40988-057c-428e-b3fc-f125a345f85f"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_hold_or_swap_mode"; + $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'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "configures the display rule of the Hold/Swap soft key when there are two calls on the phone. 0-Only display Swap softkey (default), 1-Only display Hold softkey, 2-Display Hold and Swap softkeys"; ?>