sccp_conf_init); // print_r($this->sccpvalues); //print_r('

'); $driver = $this->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); $info = array(); $info['srvinterface'] = $this->srvinterface->info(); $info['extconfigs'] = $this->extconfigs->info(); $info['dbinterface'] = $this->dbinterface->info(); $info['aminterface'] = $this->aminterface->info(); $db_Schema = $this->dbinterface->validate(); $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' => $this->srvinterface->get_compatible_sccp(), 'about'=> 'Ok'); if (!empty($this->sccpvalues['SccpDBmodel'])) { if ($this->srvinterface->get_compatible_sccp()> $this->sccpvalues['SccpDBmodel']['data']){ $info['Сompatible']['about'] = '
Reinstall SCCP manager required
'; } } if ($db_Schema == 0) { $info['DB_Schema'] = array('Version' => 'Error', 'about'=> '
ERROR DB Version
'); } else { $info['DB_Schema'] = array('Version' => $db_Schema, 'about'=> (($this->srvinterface->get_compatible_sccp() == $db_Schema ) ? 'Ok' : 'Incompatable Version')); } if (empty($ast_realtime)) { $info['RealTime'] = array('Version' => 'Error', 'about'=> '
No found Real Time connections
'); } else { $rt_info = ''; $rt_sccp = 'Failed'; foreach ($ast_realtime as $key => $value) { if ($key == $ast_realm) { if ($value['status'] == 'OK') { $rt_sccp = 'TEST OK'; $rt_info .= 'SCCP conettions found'; } else { $rt_sccp = 'SCCP ERROR'; $rt_info .= '
Error : '. $value['message']. '
'; } } else if ($value['status'] == 'ERROR') { $rt_info .= '
Found error in realtime sectoin ['.$key.'] : '. $value['message']. '
'; } } $info['RealTime'] = array('Version' => $rt_sccp, 'about'=> $rt_info); } if (empty($conf_realtime)) { $info['ConfigsRealTime'] = array('Version' => 'Error', 'about'=> '
No found Real Time Configs
'); } else { $rt_info = ''; foreach ($conf_realtime as $key => $value) { if (($value != 'OK') && ($key != 'extconfigfile')) { $rt_info .= '
Found error in section '.$key.' :'. $value. '
'; } } if (!empty($rt_info)) { $info['ConfigsRealTime'] = array('Version' => 'Error', 'about'=> $rt_info); } } //global $amp_conf; // ************************************************************************************ print_r("
Request:
");
 $json = '';
 print_r("
"); // print_r($conf_realtime); print_r("
"); print_r("
"); // print_r("DIRECT START"); // print_r($this->sccpvalues['ccm_address']); //print_r($this->get_php_classes('\\FreePBX\\modules\\')); /* print_r(get_declared_classes()); print_r($this->aminterface->open()); print_r($this->aminterface->_error); print_r("
"); */ //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("
"); // ************************************************************************************ // $lang_arr = $this->extconfigs->getextConfig('sccp_lang','sk_SK'); // print_r('
'); // print_r(timezone_identifiers_list()); // print_r('
'); //print_r($this->dbinterface->info()); if (!empty($this->class_error)) { ?>

Sccp Manager Error


There are Error in the SCCP Module:
                        class_error); ?>
                    

Correct these problems before continuing to work.

Open 'SCCP Conectivity -> Server Config' to change global settings



Sccp Manager V.sccp_manager_ver); ?> Info

$value) { echo ''; } ?>
Module Version Info
' . $key . '' . $value['Version'] . '' . $value['about'] . '
 
ShowGroup('sccp_info',0); ?>