diff --git a/Sccp_manager.class.php b/Sccp_manager.class.php index cb57a78..87d38e8 100644 --- a/Sccp_manager.class.php +++ b/Sccp_manager.class.php @@ -565,8 +565,10 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO { } function saveSccpDevice($get_settings, $validateonly = false) { + dbug('Settings', $get_settings); $hdr_prefix = 'sccp_hw_'; $hdr_arprefix = 'sccp_hw-ar_'; + $hdr_vendPrefix = 'sccp_hw_vendor'; $save_buttons = array(); $save_settings = array(); @@ -603,22 +605,6 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO { $name_dev = $value; } break; - case 'disallow': - $value = $get_settings['sccp_disallow']; - break; - - case 'allow': - $i = 0; - if (!empty($get_settings['voicecodecs'])) { - foreach ($get_settings['voicecodecs'] as $keycodeс => $valcodeс) { - $save_codec[$i] = $keycodeс; - $i++; - }; - $value = implode(";", $save_codec); - } else { - $value = 'all'; // Bug If not System Codecs - } - break; case 'phonecodepage': $value = 'null'; if (!empty($get_settings[$hdr_prefix . 'devlang'])) { diff --git a/module.xml b/module.xml index eca5e99..cd5c29f 100644 --- a/module.xml +++ b/module.xml @@ -1,7 +1,7 @@ sccp_manager SCCP Manager - 14.2.0.10 + 14.3.0.0 setup SCCP Connectivity Steve Lad, Alex GP @@ -23,6 +23,7 @@ * Version 14.2.0.8 * - Fix uninstaller and create backup * Version 14.2.0.9 * - Bug Fix - incorrect response class for Reset Token Device * Version 14.2.0.10 * - Bug Fix - line not assigned on device creation + * Version 14.3.0.0 * - New Minor Version - Change DB and add new settings https://github.com/chan-sccp/sccp_manager