From a4ab6b208a705b8e38252ecb794d0580aa93ce9c Mon Sep 17 00:00:00 2001 From: PhantomVl Date: Fri, 29 Sep 2017 11:14:50 +0300 Subject: [PATCH] Prerelease 29.09.2017 --- Sccp_manager.class.php | 6 +++++- conf/SEP0000000000.cnf.xml_791x_template | 1 + conf/SEP0000000000.cnf.xml_796x_template | 1 + conf/SEP0000000000.cnf.xml_79df_template | 1 + views/server.setting.php | 1 + 5 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Sccp_manager.class.php b/Sccp_manager.class.php index 699c24a..610201d 100644 --- a/Sccp_manager.class.php +++ b/Sccp_manager.class.php @@ -1871,7 +1871,8 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO { function sccp_create_device_XML($dev_id = '') { $var_xml_general_fields = array('authenticationURL' => 'dev_authenticationURL', 'informationURL' => 'dev_informationURL', 'messagesURL' => 'dev_messagesURL', 'servicesURL' => 'dev_servicesURL', 'directoryURL' => 'dev_directoryURL', 'proxyServerURL' => 'dev_proxyServerURL', 'idleTimeout' => 'dev_idleTimeout', - 'idleURL' => 'dev_idleURL', 'sshUserId' => 'dev_sshUserId', 'sshPassword' => 'dev_sshPassword', 'deviceProtocol' => 'dev_deviceProtocol'); + 'idleURL' => 'dev_idleURL', 'sshUserId' => 'dev_sshUserId', 'sshPassword' => 'dev_sshPassword', 'deviceProtocol' => 'dev_deviceProtocol' + ); if (empty($dev_id)) { return false; } @@ -1924,6 +1925,9 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO { case 'srstInfo': $xml_node->$dkey = ''; break; + case 'connectionMonitorDuration': + $xml_node->$dkey = $this->sccpvalues['keepalive']['data']; + break; case 'callManagerGroup': $xnode = &$xml_node->$dkey->members; if ($this->sccpvalues['bindaddr']['data'] == '0.0.0.0') { diff --git a/conf/SEP0000000000.cnf.xml_791x_template b/conf/SEP0000000000.cnf.xml_791x_template index bdd2092..1401365 100644 --- a/conf/SEP0000000000.cnf.xml_791x_template +++ b/conf/SEP0000000000.cnf.xml_791x_template @@ -34,6 +34,7 @@ 2000 + 120 SCCP11.8-5-2S diff --git a/conf/SEP0000000000.cnf.xml_796x_template b/conf/SEP0000000000.cnf.xml_796x_template index 02afe7b..f72460b 100644 --- a/conf/SEP0000000000.cnf.xml_796x_template +++ b/conf/SEP0000000000.cnf.xml_796x_template @@ -37,6 +37,7 @@ 2000 + 120 P00308010100 diff --git a/conf/SEP0000000000.cnf.xml_79df_template b/conf/SEP0000000000.cnf.xml_79df_template index bdd2092..1401365 100644 --- a/conf/SEP0000000000.cnf.xml_79df_template +++ b/conf/SEP0000000000.cnf.xml_79df_template @@ -34,6 +34,7 @@ 2000 + 120 SCCP11.8-5-2S diff --git a/views/server.setting.php b/views/server.setting.php index f11edb2..c6c369d 100644 --- a/views/server.setting.php +++ b/views/server.setting.php @@ -6,6 +6,7 @@ */ // vim: set ai ts=4 sw=4 ft=phtml: // print_r($this->sccpvalues['sccp_comatable']); +// print_r($this->sccpvalues); ?>