From 4887b92cb19d4bec5ef946a253a46ae1995818c8 Mon Sep 17 00:00:00 2001 From: PhantomVl Date: Wed, 29 Nov 2017 19:23:49 +0300 Subject: [PATCH] Added `force_dtmfmode` field to the config --- conf/sccpgeneral.xml.v431 | 6 +++--- install.php | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/conf/sccpgeneral.xml.v431 b/conf/sccpgeneral.xml.v431 index 630da38..548808a 100644 --- a/conf/sccpgeneral.xml.v431 +++ b/conf/sccpgeneral.xml.v431 @@ -1098,13 +1098,13 @@ and open the template in the editor. Base Version before all crash :-) You can specifying 'useRedialMenu = yes' in the sccp.conf device section and the redial softkey will cause the "placed calls" list instead of immediately calling the last dialed number. - + force_dtmfmode auto - - + + Some phone models with bad firmware do send dtmf in a messed up order and need to be forced to skinny mode. diff --git a/install.php b/install.php index 0bec247..3c6bbc1 100644 --- a/install.php +++ b/install.php @@ -89,7 +89,7 @@ function Get_DB_config($sccp_compatible) { 'useRedialMenu' => array('create' => "VARCHAR(5) NULL DEFAULT 'no' AFTER `_hwlang`"), //'dtmfmode' => array('create' => "VARCHAR(10) default 'outofband'", 'modify' => "VARCHAR(10)", 'def_modify'=> 'outofband'), 'dtmfmode' => array('drop' => "yes"), -// 'force_dtmfmode' => array('create' => "VARCHAR(10) default 'auto'", 'modify' => "VARCHAR(10)", 'def_modify'=> 'auto'), +// 'force_dtmfmode' => array('create' => "ENUM('auto','rfc2833','skinny') NOT NULL default 'auto'", 'modify' => "ENUM('auto','rfc2833','skinny')", 'def_modify'=> 'auto'), 'deny' => array('create' => 'VARCHAR(100) NULL DEFAULT NULL', 'modify' => "VARCHAR(100)"), 'permit' => array('create' => 'VARCHAR(100) NULL DEFAULT NULL', 'modify' => "VARCHAR(100)"), 'backgroundImage' => array('create' => 'VARCHAR(255) NULL DEFAULT NULL', 'modify' => "VARCHAR(255)"), @@ -154,6 +154,7 @@ function Get_DB_config($sccp_compatible) { //'dtmfmode' => array('create' => "VARCHAR(10) default 'outofband'", 'modify' => "VARCHAR(10)", 'def_modify'=> 'outofband'), 'dtmfmode' => array('drop' => "yes"), // 'force_dtmfmode' => array('create' => "VARCHAR(10) default 'auto'", 'modify' => "VARCHAR(10)", 'def_modify'=> 'auto'), + 'force_dtmfmode' => array('create' => "ENUM('auto','rfc2833','skinny') NOT NULL default 'auto'", 'modify' => "ENUM('auto','rfc2833','skinny')", 'def_modify'=> 'auto'), 'deny' => array('create' => 'VARCHAR(100) NULL DEFAULT NULL', 'modify' => "VARCHAR(100)"), 'permit' => array('create' => 'VARCHAR(100) NULL DEFAULT NULL', 'modify' => "VARCHAR(100)"), 'backgroundImage' => array('create' => 'VARCHAR(255) NULL DEFAULT NULL', 'modify' => "VARCHAR(255)"),