FreePBX->Core->getAllDriversInfo(); $core = $this->srvinterface->getSCCPVersion(); $ast_realtime = $this->srvinterface->sccp_realtime_status(); $ast_realm = (empty($ast_realtime['sccp']) ? '':'sccp'); foreach ($ast_realtime as $key => $value) { if (empty($ast_realm)) { if ($value['status'] == 'OK') { $ast_realm = $key; } } } $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(); $info = array(); $info['srvinterface'] = $this->srvinterface->info(); $info['extconfigs'] = $this->extconfigs->info(); $info['dbinterface'] = $this->dbinterface->info(); $info['aminterface'] = $this->aminterface->info(); $info['XML'] = $this->xmlinterface->info(); $info['sccp_class'] = $driver['sccp']; $info['Core_sccp'] = array('Version' => $core['Version'], 'about'=> 'Sccp ver.'. $core['Version'].' r'.$core['vCode']. ' Revision :'. $core['RevisionNum']. ' Hash :'. $core['RevisionHash']); $info['Asterisk'] = array('Version' => FreePBX::Config()->get('ASTVERSION'), 'about'=> 'Asterisk.'); if (!empty($this->sccpvalues['SccpDBmodel'])) { $info['DB Model'] = array('Version' => $this->sccpvalues['SccpDBmodel']['data'], 'about'=> 'SCCP DB Configure'); } if (!empty($this->sccpvalues['tftp_rewrite'])) { if ($this->sccpvalues['tftp_rewrite']['data'] == 'pro') { $info['Provision_SCCP'] = array('Version' => 'base', 'about'=> 'Provision Sccp enabled'); } else { $info['TFTP_Rewrite'] = array('Version' => 'base', 'about'=> 'Rewrite Supported'); } } $info['Сompatible'] = array('Version' => $compatable, 'about'=> 'Ok'); if (!empty($this->sccpvalues['SccpDBmodel'])) { if ($compatable > $this->sccpvalues['SccpDBmodel']['data']){ $info['Сompatible']['about'] = '
"); print_r(""); */ // ************************************************************************************ // $lang_arr = $this->extconfigs->getextConfig('sccp_lang','sk_SK'); // print_r('
"); //print_r($buton_list); print_r("
"); print_r($user_list); print_r("
"); // print_r("DIRECT START"); // print_r($this->sccpvalues['ccm_address']); //print_r($this->get_php_classes('\\FreePBX\\modules\\')); //print_r($this->dbinterface->get_db_SccpTableData('SccpExtension')); // print_r($this->srvinterface->getеtestChanSCCP_GlablsInfo()); // $test_data = $this->srvinterface-> astman_GetRaw('ExtensionStateList'); // print_r($test_data); // print_r($this->srvinterface-> core_list_all_exten()); // print_r($this->get_hint_info()); // print_r($this->aminterface-> core_list_all_exten('exten')); // print_r($this->aminterface->Sok_param['total']); // print_r($this->srvinterface->t_get_meta_data()); // print_r($this->sccp_metainfo); print("
info_warning as $key => $value) { echo ''.$key.'
'; if (is_array($value)) { echo '
class_error); ?>