diff --git a/Sccp_manager.class.php b/Sccp_manager.class.php index 33406c2..b1bf9a3 100644 --- a/Sccp_manager.class.php +++ b/Sccp_manager.class.php @@ -95,7 +95,7 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO { private $SCCP_LANG_DICTIONARY = 'be-sccp.jar'; // CISCO LANG file search in /tftp-path private $pagedata = null; private $sccp_driver_ver = '11.3'; // Ver fore SCCP.CLASS.PHP - public $sccp_manager_ver = '14.0.0.1'; + public $sccp_manager_ver = '14.0.0.2'; private $tftpLang = array(); // private $hint_context = '@ext-local'; /// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Get it from Config !!! private $hint_context = array('default' => '@ext-local'); /// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Get it from Config !!! diff --git a/conf/sccpgeneral.xml.v433 b/conf/sccpgeneral.xml.v433 index 3f678b3..f5eb577 100644 --- a/conf/sccpgeneral.xml.v433 +++ b/conf/sccpgeneral.xml.v433 @@ -275,6 +275,17 @@ and open the template in the editor. Base Version before all crash :-) Digit Timeout: The amount of time to wait after the second (or subsequent) dialed digit. Override rules are the same as for firstdigittimeout. + + + + cfwdnoanswer_timeout + 30 + sccp-custom + number + + + Timeout after which callforward noanswer (when active) will be triggered. default is 30 seconds + @@ -430,10 +441,18 @@ and open the template in the editor. Base Version before all crash :-) cfwdbusy off - + Call Forward Activate the callforward busy softkeys. Default is On + + cfwdnoanswer + + off + + + Activate the callforward NOANSWER stuff and softkeys. Default is On + dndFeature @@ -1174,6 +1193,15 @@ and open the template in the editor. Base Version before all crash :-) Transfer allowed + + park + + on + Inherit + + + Take a look to the compile how-to. Park stuff is not compiled by default. + cfwdall @@ -1192,6 +1220,15 @@ and open the template in the editor. Base Version before all crash :-) Activate the callforward busy softkeys. Default is On + + cfwdnoanswer + + NONE + + + + Activate the callforward NOANSWER stuff and softkeys. Default is On + dndFeature diff --git a/install.php b/install.php index c4f26e8..8efeaa5 100644 --- a/install.php +++ b/install.php @@ -261,6 +261,8 @@ function Get_DB_config($sccp_compatible) { 'transfer' => array('create' => "enum('on','off') NULL default NULL", 'modify' => "enum('on','off')"), 'cfwdall' => array('create' => "enum('on','off') NULL default 'on'", 'modify' => "enum('on','off')"), 'cfwdbusy' => array('create' => "enum('on','off') NULL default 'on'", 'modify' => "enum('on','off')"), + 'cfwdnoanswer' => array('create' => "enum('on','off') NULL default 'on'", 'modify' => "enum('on','off')"), + 'park' => array('create' => "enum('on','off') NULL default 'on'", 'modify' => "enum('on','off')"), 'directrtp' => array('create' => "enum('on','off') NULL default NULL", 'modify' => "enum('on','off')"), 'dndFeature' => array('create' => "enum('on','off') NULL default NULL", 'modify' => "enum('on','off')"), 'earlyrtp' => array('create' => "ENUM('immediate','offHook','dialing','ringout','progress','none') NULL default NULL", 'modify' => "ENUM('immediate','offHook','dialing','ringout','progress','none')"), @@ -335,6 +337,8 @@ function Get_DB_config($sccp_compatible) { 'sccpdevice' => array( 'pickupexten' => array('drop' => "yes"), 'directed_pickup' => array('drop' => "yes"), + 'cfwdnoanswer' => array('create' => "enum('on','off') NULL default 'on'", 'modify' => "enum('on','off')"), + 'park' => array('create' => "enum('on','off') NULL default 'on'", 'modify' => "enum('on','off')"), '_description' => array('rename' => "description"), '_loginname' => array('drop' => "yes"), '_profileid' => array('drop' => "yes"), @@ -611,6 +615,10 @@ function InstallDB_updateSchema($db_config) { } } } +// out("
  • " . print_r($sql_update, 1) . "
  • "); +// out("
  • " . print_r($sql_modify, 1) . "
  • "); +// die("Can not modify Е" . $tabl_name . " table sql: " . $sql_modify . "n"); + if (!empty($sql_update)) { $sql_update = 'BEGIN; ' . $sql_update . ' COMMIT;'; sql($sql_update); diff --git a/module.xml b/module.xml index 7491ec1..84a197f 100644 --- a/module.xml +++ b/module.xml @@ -1,7 +1,7 @@ sccp_manager SCCP Manager - 13.0.0.4M + 14.0.0.2M setup SCCP Connectivity Alex GP @@ -19,7 +19,7 @@ - 13.0.0.1M + 13.0.0.2M https://github.com/PhantomVl/sccp_manager GPL diff --git a/views/server.info.php b/views/server.info.php index 76122f3..ba726a0 100644 --- a/views/server.info.php +++ b/views/server.info.php @@ -95,7 +95,7 @@ if (empty($conf_realtime)) { // $mysql_info if ($mysql_info['Value'] <= '2000') { $this->info_warning['MySql'] = Array('Increase Mysql Group Concat Max. Length','Step 1: Go to mysql path
    nano /etc/my.cnf', - 'Step 2: And add the following line below [mysqld] as shown below
    [mysql]
    group_concat_max_len = 4096 or more', + 'Step 2: And add the following line below [mysqld] as shown below
    [mysqld]
    group_concat_max_len = 4096 or more', 'Step 3: Save and restart
    systemctl restart mariadb.service
    Or
    service mysqld restart'); } global $amp_conf;