-
transfer
- off
+ NONE
+
Transfer allowed
diff --git a/install.php b/install.php
index a1b1147..42052df 100644
--- a/install.php
+++ b/install.php
@@ -1,5 +1,11 @@
array('create' => 'VARCHAR(100) NULL DEFAULT NULL', 'modify' => "VARCHAR(100)"),
'backgroundImage' => array('create' => 'VARCHAR(255) NULL DEFAULT NULL', 'modify' => "VARCHAR(255)"),
'ringtone' => array('create' => 'VARCHAR(255) NULL DEFAULT NULL', 'modify' => "VARCHAR(255)"),
- 'transfer' => array('create' => "enum('on','off') NOT NULL default 'on'", 'modify' => "enum('on','off')"),
+ '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')"),
'directrtp' => array('create' => "enum('on','off') NULL default NULL", 'modify' => "enum('on','off')"),
@@ -276,7 +282,7 @@ function Get_DB_config($sccp_compatible) {
'video_tos' => array('drop' => "yes"),
'video_cos' => array('drop' => "yes"),
'incominglimit' => array('create' => "INT(11) DEFAULT '6'", 'modify' => 'INT(11)', 'def_modify' => "6"),
- 'transfer' => array('create' => "enum('on','off') NOT NULL default 'on'", 'modify' => "enum('on','off')"),
+ 'transfer' => array('create' => "enum('on','off') NULL default NULL", 'modify' => "enum('on','off')"),
'vmnum' => array('def_modify' => "*97"),
'musicclass' => array('def_modify' => "default"),
'id' => array('create' => 'MEDIUMINT(9) NOT NULL AUTO_INCREMENT, ADD UNIQUE(id);', 'modify' => "MEDIUMINT(9)", 'index' => 'id'),
diff --git a/views/form.buttons.php b/views/form.buttons.php
index 03ff59b..2bd8663 100644
--- a/views/form.buttons.php
+++ b/views/form.buttons.php
@@ -16,8 +16,23 @@ $feature_list= array('parkinglot'=>'Park Slots','monitor'=> "Record Calls",'dev
$lines_list = $this->dbinterface->get_db_SccpTableData('SccpExtension');
//$hint_list = $this->dbinterface->get_db_SccpTableData('SccpExtension');
-$hint_list = $this->get_hint_info();
+$data_sort = Array();
+$hint_list1 = $this->get_hint_info();
+foreach ($hint_list1 as $key => $value) {
+ $data_sort[$value['name']] = $key;
+}
+ksort($data_sort);
+//print_r(count($data_sort));
+//print_r(count($hint_list1));
+foreach ($data_sort as $key => $value) {
+ $hint_list[$value] = $hint_list1[$value];
+}
+
+
+//print_r($hint_list);
+//ksort($hint_list);
+//natsort($hint_list);
$line_id =0;
$max_buttons =56;
$show_buttons =1;
@@ -125,8 +140,7 @@ if (!empty($_REQUEST['new_id'])) {
}
} else {
$defaul_btn = $data_i;
- }
-
+ }
}
}
diff --git a/views/server.info.php b/views/server.info.php
index 6d92deb..b5b0c1d 100644
--- a/views/server.info.php
+++ b/views/server.info.php
@@ -71,18 +71,20 @@ if (empty($conf_realtime)) {
}
}
/*
+ global $amp_conf;
print_r("
Request:
");
$json = '';
print_r("
");
print_r("
");
print_r("
");
- print_r($this->srvinterface->sccp_realtime_status());
+ print_r($amp_conf);
print_r("DIRECT START");
print_r("
");
// print_r($this->srvinterface->t_get_meta_data());
- print_r($this->extconfigs->validate_RealTime());
+ //print_r($this->extconfigs->validate_RealTime());
print("
");
*/
+
// $lang_arr = $this->extconfigs->getextConfig('sccp_lang','sk_SK');
// print_r('
');
// print_r(timezone_identifiers_list());
@@ -130,7 +132,9 @@ if (!empty($this->class_error)) {
+
+
ShowGroup('sccp_info',0); ?>