First round of spelling corrections

Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
This commit is contained in:
Diederik de Groot 2020-04-09 09:24:02 +00:00
parent 413bcf1b38
commit ca16773fa5
No known key found for this signature in database
GPG key ID: AFA728250A1BECD6
23 changed files with 58 additions and 58 deletions

View file

@ -36,7 +36,7 @@ Make sure you have the following installed on your system:
- clang >= 3.6 (note: older not supported, higher advised)
- gnu make
- pbx:
- asterisk >= 1.8 (absolute minimum & not recomended)
- asterisk >= 1.8 (absolute minimum & not recommended)
- asterisk >= 13.7 or asterisk >= 14.0 recommended
- gui:
- freepbx >= 13.0.192

View file

@ -48,7 +48,7 @@ Make sure you have the following installed on your system:
- clang >= 3.6 (note: older not supported, higher advised)
- gnu make
- pbx:
- asterisk >= 1.8 (absolute minimum & not recomended)
- asterisk >= 1.8 (absolute minimum & not recommended)
- asterisk >= 13.7 or asterisk >= 14.0 or asterisk >= 15.0 (Тестировалось на стендах)
- gui:
- freepbx >= 13.0.192 (http://wiki.freepbx.org/display/FOP/Install+FreePBX)

View file

@ -152,7 +152,7 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO {
$this->sccpvalues['sccp_compatible']['data'] = $this->sccpvalues['SccpDBmodel']['data'];
}
}
// Load Advanced Form Constuctor Data
// Load Advanced Form Constructor Data
if (empty($this->sccpvalues['displayconfig'])) {
$xml_vars = __DIR__ . '/conf/sccpgeneral.xml.v' . $this->sccpvalues['sccp_compatible']['data'];
} else {
@ -701,7 +701,7 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO {
return array('status' => false, 'message' => print_r($res));
break;
/* !TODO!: -TODO-: dialplan templates should be removed (only required for very old devices (like ATA) */
// ------------------------------- Old + Sip deviece suport - In the development---
// ------------------------------- Old + Sip deviece support - In the development---
case 'save_dialplan_template':
$res = $this->save_DialPlan($request);
//public
@ -723,7 +723,7 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO {
return array('status' => false, 'message' => print_r($res));
}
break;
// ------------------------------- Old deviece suport - In the development---
// ------------------------------- Old deviece support - In the development---
case 'delete_hardware':
if (!empty($request['idn'])) {
foreach ($request['idn'] as $idv) {
@ -762,7 +762,7 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO {
$ver_id = $this->sccp_create_device_XML($data['name']);
};
if ($this->sccpvalues['siptftp']['data'] == 'on') { // Check SIP Suport Enabled
if ($this->sccpvalues['siptftp']['data'] == 'on') { // Check SIP Support Enabled
$this->sccp_create_xmlSoftkey(); // Create Softkey Sets for SIP
}
@ -919,7 +919,7 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO {
}
$this->sccp_create_sccp_init();
// !TODO!: -TODO-: Check SIP Suport Enabled
// !TODO!: -TODO-: Check SIP Support Enabled
$this->sccp_create_xmlSoftkey();
$msg = print_r($this->srvinterface->sccp_reload(), 1);
// $msg = print_r($this->srvinterface->sccp_core_commands(array('cmd' => 'sccp_reload')), 1);
@ -1021,7 +1021,7 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO {
}
return $result;
break;
// ------------------------------- Old deviece suport - In the development---
// ------------------------------- Old deviece support - In the development---
case 'getDialTemplate':
$result = $this->get_DialPlanList();
if (empty($result)) {
@ -1029,7 +1029,7 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO {
}
return $result;
break;
// ------------------------------- Old deviece suport - In the development---
// ------------------------------- Old deviece support - In the development---
case 'backupsettings':
$filename = $this->sccp_create_sccp_backup();
$file_name = basename($filename);
@ -1560,7 +1560,7 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO {
public function getCodecs($type, $showDefaults = false) {
$allSupported = array();
// $Sccp_Codec = array('gsm','slin16','alow','ulaw','g722','g723','g726','g728','g729','ilibc','isac','opus','h224','aac','h264','h263','h265','h261');
// $Sccp_Codec = array('gsm','slin16','allow','ulaw','g722','g723','g726','g728','g729','ilibc','isac','opus','h224','aac','h264','h263','h265','h261');
$Sccp_Codec = array('gsm', 'slin16', 'alaw', 'ulaw', 'g722', 'g723', 'g726', 'g728', 'g729', 'ilibc', 'opus', 'h264', 'h263', 'h265', 'h261');
switch ($type) {
case 'audio':

View file

@ -233,15 +233,15 @@ class aminterface {
} else if ($evePos !== false) {
$event = $this->_messageToEvent($aMsg); // Event Ok
$this->_msgToDebug(99,'--- Responce Type 2 --- ');
$this->_msgToDebug(99,'--- Response Type 2 --- ');
$this->_msgToDebug(99,$aMsg);
$this->_msgToDebug(99,'--- Event Responce Type 2 --- ');
$this->_msgToDebug(99,'--- Event Response Type 2 --- ');
$this->_msgToDebug(99,$event);
if ($event != null) {
$response = $this->findResponse($event);
// print_r($response);
// print_r('<br>--- E2 Responce Type 2 ----------<br>');
// print_r('<br>--- E2 Response Type 2 ----------<br>');
if ($response === false || $response->isComplete()) {
$this->dispatch($event); // не работает
@ -493,7 +493,7 @@ class aminterface {
$result = array();
if ($this->_connect_state) {
$_action = new \FreePBX\modules\Sccp_manager\aminterface\ReloadAction('chan_sccp');
// $_action = new \FreePBX\modules\Sccp_manager\aminterface\CommandAction('sccp reload force'); // No Responce Result !!
// $_action = new \FreePBX\modules\Sccp_manager\aminterface\CommandAction('sccp reload force'); // No Response Result !!
$_response = $this->send($_action);
$result = $_response->getMessage();
}

View file

@ -392,20 +392,20 @@ class oldinterface {
$it++;
} while ((count($line_arr) > 3) and ( $it < count($line_arr)));
explode(";|", implode(";|", $line_arr));
list ($descr, $adress, $devname, $status, $token, $junk) = explode(";|", implode(";|", $line_arr));
list ($descr, $address, $devname, $status, $token, $junk) = explode(";|", implode(";|", $line_arr));
// list ($descr, $adress, $devname, $status, $junk) = $line_arr;
// list ($descr, $address, $devname, $status, $junk) = $line_arr;
// if (strlen($ast_key[$devname]) < 1) {
if (strlen($devname) > 1) {
$ast_key[$devname] = Array('name' => $devname, 'status' => $status, 'address' => $adress, 'descr' => $descr, 'token' => $token);
$ast_key[$devname] = Array('name' => $devname, 'status' => $status, 'address' => $address, 'descr' => $descr, 'token' => $token);
}
/*
if (isset($ast_key[$devname])) {
if (strlen($ast_key[$devname]) < 1) {
$ast_key[$devname] = Array('name' => $devname, 'status' => $status, 'address' => $adress, 'descr' => $descr, 'token' => $descr);
$ast_key[$devname] = Array('name' => $devname, 'status' => $status, 'address' => $address, 'descr' => $descr, 'token' => $descr);
}
} else {
$ast_key[$devname] = Array('name' => $devname, 'status' => $status, 'address' => $adress, 'descr' => $descr, 'token' => $token);
$ast_key[$devname] = Array('name' => $devname, 'status' => $status, 'address' => $address, 'descr' => $descr, 'token' => $token);
}
*
*/

View file

@ -222,7 +222,7 @@ class extconfigs {
'South Africa' => array('offset' => '120', 'daylight' => ''),
'Jerusalem' => array('offset' => '120', 'daylight' => 'Daylight'),
'Saudi Arabia' => array('offset' => '180', 'daylight' => ''),
/* Russion Regions */
/* Russian Regions */
'Russian/Kaliningrad' => array('offset' => '120', 'daylight' => '', 'cisco_code' => 'South Africa Standard Time'),
'Russian/Moscow' => array('offset' => '180', 'daylight' => '', 'cisco_code' => 'Russian Standard Time'),
'Russian/St.Peterburg' => array('offset' => '180', 'daylight' => '', 'cisco_code' => 'Russian Standard Time'),
@ -236,7 +236,7 @@ class extconfigs {
'Russian/Sakhalin' => array('offset' => '660', 'daylight' => '', 'cisco_code' => 'Central Pacific Standard Time'),
'Russian/Magadan' => array('offset' => '660', 'daylight' => '', 'cisco_code' => 'Central Pacific Standard Time'),
'Russian/Kamchatka' => array('offset' => '720', 'daylight' => '', 'cisco_code' => 'Fiji Standard Time'),
/* EnD - Russion Regions */
/* EnD - Russian Regions */
'Iran' => array('offset' => '210', 'daylight' => 'Daylight'),
'Caucasus' => array('offset' => '240', 'daylight' => 'Daylight'),
'Arabian' => array('offset' => '240', 'daylight' => ''),
@ -308,9 +308,9 @@ class extconfigs {
}
if (!is_writeable($base_config["tftp_path"])) {
if (!empty($this->paren_class)) {
$this->paren_class->class_error['tftp_path'] = 'No write permision on tftp DIR';
$this->paren_class->class_error['tftp_path'] = 'No write permission on tftp DIR';
}
return array('error' => 'No write permision on tftp DIR');
return array('error' => 'No write permission on tftp DIR');
}
// END Test Base dir (/tftproot)

View file

@ -383,7 +383,7 @@ class srvinterface {
$resp .= fgets($fp);
}
$time_resp = microtime_float();
$resp .= "\r\n\r\n Connect :".($time_send - $time_connect). " Logoff :".($time_logoff- $time_send). " Responce :".($time_resp-$time_logoff)."\r\n\r\n ";
$resp .= "\r\n\r\n Connect :".($time_send - $time_connect). " Logoff :".($time_logoff- $time_send). " Response :".($time_resp-$time_logoff)."\r\n\r\n ";
// print_r(fgets($fp));
// print_r('<br>');
// echo fgets($fp, 128);

View file

@ -12,7 +12,7 @@ param default description
conf_allow yes Allow the use of conference
conf_play_general_announce yes Playback General Announcements (like: 'You are Entering/Leaving the conference')
conf_play_part_announce yes Playback Personal/Participant Announcements, (like: 'You have been muted / You have been kicked')
conf_mute_on_entry no Mute new participants from the start, when they enter the conference (Preventing them to talk amongst one another). The Moderator will have to UnMute a participant manually to allow them to speak. Usefull in a classroom setting.
conf_mute_on_entry no Mute new participants from the start, when they enter the conference (Preventing them to talk amongst one another). The Moderator will have to UnMute a participant manually to allow them to speak. Useful in a classroom setting.
conf_music_on_hold_class 'default' Play music on hold of this class when no moderator is listening on the conference. If set to an empty string, no music on hold will be played.
conf_show_conflist yes Automatically show conference list to the moderator
Creating a New Conference (Conf Softkey)

View file

@ -308,7 +308,7 @@
For example, if you want to enter 411, 511, and 911 as special numbers, enter 411,511,911 in the field without spaces.
string
length = 16
comma seperated
comma separated
-->
<PushToTalkURL></PushToTalkURL>
<!--

View file

@ -30,7 +30,7 @@ permit = internal
; This General rule is valid for all incoming connections. It's the 1st filter.
; using 'internal' will allow the 10.0.0.0, 172.16.0.0 and 192.168.0.0 networks
;localnet = internal ; (MULTI-ENTRY) All RFC 1918 addresses are local networks, example '192.168.1.0/255.255.255.0'
;externip = 0.0.0.0 ; External IP Address of the firewall, required in case the PBX is running on a seperate host behind it. IP Address that we're going to notify in RTP media stream as the pbx source address.
;externip = 0.0.0.0 ; External IP Address of the firewall, required in case the PBX is running on a separate host behind it. IP Address that we're going to notify in RTP media stream as the pbx source address.
;firstdigittimeout = 16 ; Dialing timeout for the 1st digit
;digittimeout = 8 ; More digits
;digittimeoutchar = # ; You can force the channel to dial with this char in the dialing state
@ -44,7 +44,7 @@ permit = internal
;transfer_tone = 0 ; Confirmation tone on transfer. Works only between SCCP devices
;transfer_on_hangup = no ; Complete transfer on hangup, without pressing transfer a second time.
; Will complete transfer, when the transferer puts the receiver on hook, after the destination has been reached.
; To cancel the transfer, either press resume on the transfered channel, press the 'endcall' softkey, or have the receiving party hangup first.
; To cancel the transfer, either press resume on the transferred channel, press the 'endcall' softkey, or have the receiving party hangup first.
;dnd_tone = 0x0 ; Use 0x2D, 0x31, 0x32, 0x33 to activate dnd incoming call indication when dnd silent is active
;callwaiting_tone = 0x2d ; Sets to 0 to disable the callwaiting tone
;callwaiting_interval = 0 ; Callwaiting ring interval in seconds. Set to 0 to disable the callwaiting ringing interval.
@ -79,7 +79,7 @@ permit = internal
;nat = auto ; Global NAT support.
; (POSSIBLE VALUES: ["Auto","Off","(Auto)Off","On","(Auto)On"])
;directrtp = no ; This option allow devices to do direct RTP sessions.
;allowoverlap = no ; Enable overlap dialing support. If enabled, starts dialing immediately and sends remaing digits as DTMF/inband.
;allowoverlap = no ; Enable overlap dialing support. If enabled, starts dialing immediately and sends remaining digits as DTMF/inband.
; Use with extreme caution as it is very dialplan and provider dependent.
callgroup = "" ; We are in caller groups 1,3,4. Valid for all lines
pickupgroup = "" ; We can do call pick-p for call group 1,3,4,5. Valid for all lines

View file

@ -296,7 +296,7 @@ class Sccp extends \FreePBX\modules\Core\Driver {
unset($select);
$select[] = array('value' => 'yes', 'text' => 'Yes');
$select[] = array('value' => 'no', 'text' => 'No');
$tt = _("Silence Suppression. Asterisk Not suported");
$tt = _("Silence Suppression. Asterisk Not supported");
$tmparr['silencesuppression'] = array('prompttext' => _('Silence Suppression'), 'value' => 'no', 'tt' => $tt, 'select' => $select, 'level' => 1, 'type' => 'radio');
unset($select);

View file

@ -385,7 +385,7 @@ class Sccp extends \FreePBX\modules\Core\Driver {
unset($select);
$select[] = array('value' => 'on', 'text' => 'Yes');
$select[] = array('value' => 'off', 'text' => 'No');
$tt = _("Silence Suppression. Asterisk Not suported");
$tt = _("Silence Suppression. Asterisk Not supported");
$tmparr['silencesuppression'] = array('prompttext' => _('Silence Suppression'), 'value' => 'off', 'tt' => $tt, 'select' => $select, 'level' => 1, 'type' => 'radio', 'section' => $section);
unset($select);

View file

@ -301,7 +301,7 @@ class Sccp extends \FreePBX\modules\Core\Driver {
$currentcomponent->addTabTranslation('sccp',_('SCCP'));
// $currentcomponent->addTabTranslation('Codec',_('Codec'));
//Fill Codecs Informations
//Fill Codecs Information
$Sccp_Codec = array('gsm','slin16','alaw','ulaw','g722','g723','g726','g728','g729','ilibc','opus','h264','h263','h265','h261');
$allCodecs = $this->freepbx->Codecs->getAudio(true);
@ -501,7 +501,7 @@ class Sccp extends \FreePBX\modules\Core\Driver {
unset($select);
$select[] = array('value' => 'on', 'text' => 'Yes');
$select[] = array('value' => 'off', 'text' => 'No');
$tt = _("Silence Suppression. Asterisk Not suported");
$tt = _("Silence Suppression. Asterisk Not supported");
$tmparr['silencesuppression'] = array('prompttext' => _('Silence Suppression'), 'value' => 'off', 'tt' => $tt, 'select' => $select, 'level' => 1, 'type' => 'radio', 'section' => $section,'category' => $gn_category);
unset($select);

View file

@ -283,7 +283,7 @@ and open the template in the editor. Base Version before all crash :-)
<button value="broadcast">Broadcast</button>
<button value="multicast">Multicast</button>
<button value="manycast">Manycast</button>
<help>Configure NTP Server protocol time syncronization</help>
<help>Configure NTP Server protocol time synchronization</help>
</item>
</page_group>

View file

@ -104,7 +104,7 @@ and open the template in the editor. Base Version before all crash :-)
<class>sccp-custom</class>
<options placeholder="Provider IP"></options>
</input>
<help>External IP Address of the firewall, required in case the PBX is running on a seperate host behind it. IP Address that we're going to notify in RTP media stream as the pbx source address.</help>
<help>External IP Address of the firewall, required in case the PBX is running on a separate host behind it. IP Address that we're going to notify in RTP media stream as the pbx source address.</help>
<nameseparator> / </nameseparator>
</item>
<item type="IE" id="5">
@ -346,7 +346,7 @@ and open the template in the editor. Base Version before all crash :-)
<default>off</default>
<button value="on">On</button>
<button value="off">Off</button>
<help>Complete transfer on hangup, without pressing transfer a second time. Will complete transfer, when the transferer puts the receiver on hook, after the destination has been reached. To cancel the transfer, either press resume on the transfered channel, press the 'endcall' softkey, or have the receiving party hangup first.</help>
<help>Complete transfer on hangup, without pressing transfer a second time. Will complete transfer, when the transferer puts the receiver on hook, after the destination has been reached. To cancel the transfer, either press resume on the transferred channel, press the 'endcall' softkey, or have the receiving party hangup first.</help>
</item>
<item type="IS" id="13">
<name>callanswerorder</name>
@ -472,7 +472,7 @@ and open the template in the editor. Base Version before all crash :-)
<button value="broadcast">Broadcast</button>
<button value="multicast">Multicast</button>
<button value="manycast">Manycast</button>
<help>Configure NTP Server protocol time syncronization</help>
<help>Configure NTP Server protocol time synchronization</help>
</item>
</page_group>

View file

@ -111,7 +111,7 @@ and open the template in the editor. Base Version before all crash :-)
<options placeholder="Host Name"></options>
</input>
<help>External IP Address of the firewall, required in case the PBX is running on a seperate host behind it. IP Address that we're going to notify in RTP media stream as the pbx source address. Resolve Hostname (if dynamic) that we're going to resolve when setting up the RTP media stream (only active if externip=0.0.0.0 and host is natted.)</help>
<help>External IP Address of the firewall, required in case the PBX is running on a separate host behind it. IP Address that we're going to notify in RTP media stream as the pbx source address. Resolve Hostname (if dynamic) that we're going to resolve when setting up the RTP media stream (only active if externip=0.0.0.0 and host is natted.)</help>
<meta_help>1</meta_help>
<nameseparator> / </nameseparator>
externhost
@ -511,7 +511,7 @@ and open the template in the editor. Base Version before all crash :-)
<button value="broadcast">Broadcast</button>
<button value="multicast">Multicast</button>
<button value="manycast">Manycast</button>
<help>Configure NTP Server protocol time syncronization</help>
<help>Configure NTP Server protocol time synchronization</help>
</item>
</page_group>
@ -883,7 +883,7 @@ and open the template in the editor. Base Version before all crash :-)
<default>off</default>
<button value="on">Enabled</button>
<button value="off">Disabled</button>
<help>Complete transfer on hangup, without pressing transfer a second time. Will complete transfer, when the transferer puts the receiver on hook, after the destination has been reached. To cancel the transfer, either press resume on the transfered channel, press the 'endcall' softkey, or have the receiving party hangup first.</help>
<help>Complete transfer on hangup, without pressing transfer a second time. Will complete transfer, when the transferer puts the receiver on hook, after the destination has been reached. To cancel the transfer, either press resume on the transferred channel, press the 'endcall' softkey, or have the receiving party hangup first.</help>
</item>
<item type="SLA-disabled" id="6">

View file

@ -222,7 +222,7 @@ and open the template in the editor. Base Version before all crash :-)
<class>sccp-custom</class>
<options placeholder="Provider IP"></options>
</input>
<help>External IP Address of the firewall, required in case the PBX is running on a seperate host behind it. IP Address that we're going to notify in RTP media stream as the pbx source address.</help>
<help>External IP Address of the firewall, required in case the PBX is running on a separate host behind it. IP Address that we're going to notify in RTP media stream as the pbx source address.</help>
<nameseparator> / </nameseparator>
</item>
<item type="IE" id="5">
@ -428,7 +428,7 @@ and open the template in the editor. Base Version before all crash :-)
<default>off</default>
<button value="on">On</button>
<button value="off">Off</button>
<help>Complete transfer on hangup, without pressing transfer a second time. Will complete transfer, when the transferer puts the receiver on hook, after the destination has been reached. To cancel the transfer, either press resume on the transfered channel, press the 'endcall' softkey, or have the receiving party hangup first.</help>
<help>Complete transfer on hangup, without pressing transfer a second time. Will complete transfer, when the transferer puts the receiver on hook, after the destination has been reached. To cancel the transfer, either press resume on the transferred channel, press the 'endcall' softkey, or have the receiving party hangup first.</help>
</item>
<item type="IS" id="12">
<name>callanswerorder</name>
@ -545,7 +545,7 @@ and open the template in the editor. Base Version before all crash :-)
<button value="broadcast">Broadcast</button>
<button value="multicast">Multicast</button>
<button value="manycast">Manycast</button>
<help>Configure NTP Server protocol time syncronization</help>
<help>Configure NTP Server protocol time synchronization</help>
</item>
</page_group>

View file

@ -224,7 +224,7 @@ and open the template in the editor. Base Version before all crash :-)
<class>sccp-custom</class>
<options placeholder="Provider IP"></options>
</input>
<help>External IP Address of the firewall, required in case the PBX is running on a seperate host behind it. IP Address that we're going to notify in RTP media stream as the pbx source address.</help>
<help>External IP Address of the firewall, required in case the PBX is running on a separate host behind it. IP Address that we're going to notify in RTP media stream as the pbx source address.</help>
<nameseparator> / </nameseparator>
</item>
<item type="IE" id="5">
@ -489,7 +489,7 @@ and open the template in the editor. Base Version before all crash :-)
<default>off</default>
<button value="on">Enabled</button>
<button value="off">Disabled</button>
<help>Complete transfer on hangup, without pressing transfer a second time. Will complete transfer, when the transferer puts the receiver on hook, after the destination has been reached. To cancel the transfer, either press resume on the transfered channel, press the 'endcall' softkey, or have the receiving party hangup first.</help>
<help>Complete transfer on hangup, without pressing transfer a second time. Will complete transfer, when the transferer puts the receiver on hook, after the destination has been reached. To cancel the transfer, either press resume on the transferred channel, press the 'endcall' softkey, or have the receiving party hangup first.</help>
</item>
<item type="SLA-disabled" id="6">
@ -658,7 +658,7 @@ and open the template in the editor. Base Version before all crash :-)
<button value="broadcast">Broadcast</button>
<button value="multicast">Multicast</button>
<button value="manycast">Manycast</button>
<help>Configure NTP Server protocol time syncronization</help>
<help>Configure NTP Server protocol time synchronization</help>
</item>
</page_group>

View file

@ -143,7 +143,7 @@ msgid "External Ip"
msgstr ""
#: views/sccpgeneral.xml:
msgid "External IP Address of the firewall, required in case the PBX is running on a seperatehost behind it. IP Address that we're going to notify in RTP media stream as the pbx source address."
msgid "External IP Address of the firewall, required in case the PBX is running on a separatehost behind it. IP Address that we're going to notify in RTP media stream as the pbx source address."
msgstr ""
#: views/sccpgeneral.xml:
@ -395,7 +395,7 @@ msgid "NTP Server name or IP"
msgstr ""
#: views/sccpgeneral.xml:
msgid "Configure NTP Server protocol time syncronization"
msgid "Configure NTP Server protocol time synchronization"
msgstr ""
#: views/sccpgeneral.xml:
@ -967,7 +967,7 @@ msgid "Close"
msgstr ""
#: views/server.model:
msgid "Add New model whithout Enabled"
msgid "Add New model without Enabled"
msgstr ""
#: views/server.model:

View file

@ -546,7 +546,7 @@ function InstallDB_updateSchema($db_config) {
$sql = "DESCRIBE " . $tabl_name . "";
$db_result = $db->getAll($sql);
if (DB::IsError($db_result)) {
die_freepbx("Can not add get informations from " . $tabl_name . " table\n");
die_freepbx("Can not add get information from " . $tabl_name . " table\n");
}
foreach ($db_result as $tabl_data) {
$fld_id = $tabl_data[0];

View file

@ -142,7 +142,7 @@
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal"><?php echo _('Close');?></button>
<button type="button" class="btn btn-primary sccp_update" data-id="model_add" id="add_new_model" data-dismiss="modal"><?php echo _('Add New model whithout Enabled');?></button>
<button type="button" class="btn btn-primary sccp_update" data-id="model_add" id="add_new_model" data-dismiss="modal"><?php echo _('Add New model without Enabled');?></button>
</div>
</div>
</div>

View file

@ -168,7 +168,7 @@ if (!empty($_REQUEST['id'])) {
</div>
<div class="row">
<div class="col-md-12">
<span id="sccp_disallow-help" class="help-block fpbx-help-block"><?php echo _("Defaut : all. Plz eneter format: alaw,ulaw") ?></span>
<span id="sccp_disallow-help" class="help-block fpbx-help-block"><?php echo _("Default : all. Plz eneter format: alaw,ulaw") ?></span>
</div>
</div>
</div>

View file

@ -25,7 +25,7 @@ foreach ($ast_realtime as $key => $value) {
$conf_realtime = $this->extconfigs->validate_RealTime($ast_realm);
$db_Schema = $this->dbinterface->validate();
$mysql_info = $this->dbinterface->get_db_sysvalues();
$compatable = $this->srvinterface->get_compatible_sccp();
$compatible = $this->srvinterface->get_compatible_sccp();
$info = array();
$info['srvinterface'] = $this->srvinterface->info();
@ -48,16 +48,16 @@ if (!empty($this->sccpvalues['tftp_rewrite'])) {
$info['TFTP_Rewrite'] = array('Version' => 'base', 'about' => 'Rewrite Supported');
}
}
$info['Сompatible'] = array('Version' => $compatable, 'about' => 'Ok');
$info['Сompatible'] = array('Version' => $compatible, 'about' => 'Ok');
if (!empty($this->sccpvalues['SccpDBmodel'])) {
if ($compatable > $this->sccpvalues['SccpDBmodel']['data']) {
if ($compatible > $this->sccpvalues['SccpDBmodel']['data']) {
$info['Сompatible']['about'] = '<div class="alert signature alert-danger"> Reinstall SCCP manager required</div>';
}
}
if ($db_Schema == 0) {
$info['DB_Schema'] = array('Version' => 'Error', 'about' => '<div class="alert signature alert-danger"> ERROR DB Version </div>');
} else {
$info['DB_Schema'] = array('Version' => $db_Schema, 'about' => (($compatable == $db_Schema ) ? 'Ok' : 'Incompatable Version'));
$info['DB_Schema'] = array('Version' => $db_Schema, 'about' => (($compatible == $db_Schema ) ? 'Ok' : 'Incompatible Version'));
}
if (empty($ast_realtime)) {
@ -389,9 +389,9 @@ if ($test_ami == 1) {
$time_old += $value['old'];
}
print_r('</tbody></table></div></div></div></div>');
print_r('<br>Ami Responce :');
print_r('<br>Ami Response :');
print_r($time_ami);
print_r('<br>PBX Responce :');
print_r('<br>PBX Response :');
print_r($time_old);
print_r('<br>--- Stat -----------------<br>');
}