Prerelease 29.09.2017
This commit is contained in:
parent
f157110e8d
commit
a4ab6b208a
|
@ -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') {
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
<ipAddr3/>
|
||||
<port3>2000</port3>
|
||||
</srstInfo>
|
||||
<connectionMonitorDuration>120</connectionMonitorDuration>
|
||||
</devicePool>
|
||||
<loadInformation>SCCP11.8-5-2S</loadInformation>
|
||||
<vendorConfig>
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
<ipAddr3/>
|
||||
<port3>2000</port3>
|
||||
</srstInfo>
|
||||
<connectionMonitorDuration>120</connectionMonitorDuration>
|
||||
</devicePool>
|
||||
<loadInformation>P00308010100</loadInformation>
|
||||
<vendorConfig>
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
<ipAddr3/>
|
||||
<port3>2000</port3>
|
||||
</srstInfo>
|
||||
<connectionMonitorDuration>120</connectionMonitorDuration>
|
||||
</devicePool>
|
||||
<loadInformation>SCCP11.8-5-2S</loadInformation>
|
||||
<vendorConfig>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
*/
|
||||
// vim: set ai ts=4 sw=4 ft=phtml:
|
||||
// print_r($this->sccpvalues['sccp_comatable']);
|
||||
// print_r($this->sccpvalues);
|
||||
?>
|
||||
|
||||
<form autocomplete="off" name="frm_general" id="frm_general" class="fpbx-submit" action="" method="post">
|
||||
|
|
Loading…
Reference in a new issue