pizzaboy192
New Member
- Joined
- Aug 8, 2018
- Messages
- 1
- Reaction score
- 0
I've hit a brick wall and haven't been able to move forward.
I know people say OSS endpoint manager is dead but it seems to still "work"
However,
I can download any other manufacturer package, the standard Yealink, cisco, etc and they'll appear just fine.
When I try to load the YealinkV70 package I get an error that I cannot view completely (it's obscured through a small web frame on the page) and there's only so much of it I can copy and paste, due to how it's obscured (see attached image)
I'm not sure what files to pull logs from to figure out this issue and it might just not be worth it.
If anyone has a device template for the T41S that I can just import on the side, that would be much appreciated to avoid this mess completely.
I know people say OSS endpoint manager is dead but it seems to still "work"
However,
I can download any other manufacturer package, the standard Yealink, cisco, etc and they'll appear just fine.
When I try to load the YealinkV70 package I get an error that I cannot view completely (it's obscured through a small web frame on the page) and there's only so much of it I can copy and paste, due to how it's obscured (see attached image)
/var/www/html/admin/modules/_ep_phone_modules/temp/endpoint/base.php
/var/www/html/admin/modules/endpointman/Endpointman_Advanced.class.php
else {
out(_("Error!"));
}
}
if(file_exists($this->PHONE_MODULES_PATH."endpoint"))
{
$endpoint_last_mod = filemtime($this->PHONE_MODULES_PATH."temp/endpoint/base.php");
rename($this->P
Status
7. Whoops\Exception\ErrorException
/var/www/html/admin/modules/endpointman/Endpointman_Advanced.class.php1009
6. Whoops\Run handleError
<#unknown>0
5. filemtime
/var/www/html/admin/modules/endpointman/Endpointman_Advanced.class.php1009
4. FreePBX\modules\Endpointman_Advanced epm_advanced_manual_upload_provisioner
/var/www/html/admin/modules/endpointman/Endpointman_Advanced.class.php237
3. FreePBX\modules\Endpointman_Advanced doConfigPageInit
/var/www/html/admin/modules/endpointman/Endpointman.class.php291
2. FreePBX\modules\Endpointman doConfigPageInit
/var/www/html/admin/libraries/BMO/GuiHooks.class.php290
1. FreePBX\GuiHooks doBMOConfigPage
/var/www/html/admin/libraries/BMO/GuiHooks.class.php252
0. FreePBX\GuiHooks doConfigPageInits
/var/www/html/admin/config.php354
Whoops \ Exception \ ErrorException (E_WARNING)
HELP
filemtime(): stat failed for /var/www/html/admin/modules/_ep_phone_modules/temp/endpoint/base.php
/var/www/html/admin/modules/endpointman/Endpointman_Advanced.class.php
else {
out(_("Error!"));
}
}
if(file_exists($this->PHONE_MODULES_PATH."endpoint"))
{
$endpoint_last_mod = filemtime($this->PHONE_MODULES_PATH."temp/endpoint/base.php");
on
HTTP_HOST 192.168.81.102
HTTP_CONNECTION keep-alive
CONTENT_LENGTH 45571
HTTP_ORIGIN http://192.168.81.102
HTTP_USER_AGENT Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36
CONTENT_TYPE multipart/form-data; boundary=----WebKitFormBoundaryEPCZklDEunV41RPk
HTTP_ACCEPT */*
HTTP_REFERER http://192.168.81.102/admin/config.php?display=epm_advanced
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.9
HTTP_COOKIE lang=en_US; searchHide=1; PHPSESSID=m00nprsae0d3317pm49h1v6eq0; _ga=GA1.1.904026483.1533657295; _gid=GA1.1.639181172.1533657295
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SERVER_SIGNATURE <address>Apache/2.4.10 (Raspbian) Server at 192.168.81.102 Port 80</address>
SERVER_SOFTWARE Apache/2.4.10 (Raspbian)
SERVER_NAME 192.168.81.102
SERVER_ADDR 192.168.81.102
SERVER_PORT 80
REMOTE_ADDR 192.168.81.101
DOCUMENT_ROOT /var/www/html
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /var/www/html
SERVER_ADMIN webmaster@localhost
SCRIPT_FILENAME /var/www/html/admin/config.php
REMOTE_PORT 49854
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD POST
QUERY_STRING display=epm_advanced&subpage=manual_upload&command=upload_provisioner
REQUEST_URI /admin/config.php?display=epm_advanced&subpage=manual_upload&command=upload_provisioner
SCRIPT_NAME /admin/config.php
PHP_SELF /admin/config.php
REQUEST_TIME_FLOAT 1533749357.254
REQUEST_TIME 1533749357
GET Data
display epm_advanced
subpage manual_upload
command upload_provisioner
POST Data
empty
Files
foreach ($template_list as $files_data) {
$full_path = $path . $files_data;
if (file_exists($full_path)) {
$temp_files_data = $this->file2json($full_path);
foreach ($temp_files_data['template_data']['category'] as $category) {
$category_name = $category['name'];
foreach ($category['subcategory'] as $subcatego.
ument supplied for foreach()
/var/www/html/admin/modules/endpointman/Endpointman_Config.class.php
function merge_data($path, $template_list, $maxlines = 12) {
//TODO: fix
foreach ($template_list as $files_data) {
$full_path = $path . $files_data;
if (file_exists($full_path)) {
$temp_files_data = $this->file2json($full_path);
foreach ($temp_files_data['template_data']['category'] as $category) {
$category_name = $category['name'];
foreach ($category['subcategory'] as $subcategory) {
Server/Request Data
HTACCESS on
HTTP_HOST 192.168.81.102
HTTP_CONNECTION keep-alive
CONTENT_LENGTH 0
HTTP_ORIGIN http://192.168.81.102
HTTP_USER_AGENT Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36
HTTP_ACCEPT */*
HTTP_REFERER http://192.168.81.102/admin/config.php?display=epm_config
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.9
HTTP_COOKIE lang=en_US; searchHide=1; PHPSESSID=m00nprsae0d3317pm49h1v6eq0; _ga=GA1.1.904026483.1533657295; _gid=GA1.1.639181172.1533657295
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SERVER_SIGNATURE <address>Apache/2.4.10 (Raspbian) Server at 192.168.81.102 Port 80</address>
SERVER_SOFTWARE Apache/2.4.10 (Raspbian)
SERVER_NAME 192.168.81.102
SERVER_ADDR 192.168.81.102
SERVER_PORT 80
REMOTE_ADDR 192.168.81.101
DOCUMENT_ROOT /var/www/html
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /var/www/html
SERVER_ADMIN webmaster@localhost
SCRIPT_FILENAME /var/www/html/admin/config.php
REMOTE_PORT 51077
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD POST
QUERY_STRING display=epm_config&module_tab=manager&command=brand&command_sub=brand_install&idfw=21
REQUEST_URI /admin/config.php?display=epm_config&module_tab=manager&command=brand&command_sub=brand_install&idfw=21
SCRIPT_NAME /admin/config.php
PHP_SELF /admin/config.php
REQUEST_TIME_FLOAT 1533750020.458
REQUEST_TIME 1533750020
GET Data
/var/www/html/admin/modules/endpointman/Endpointman_Advanced.class.php
else {
out(_("Error!"));
}
}
if(file_exists($this->PHONE_MODULES_PATH."endpoint"))
{
$endpoint_last_mod = filemtime($this->PHONE_MODULES_PATH."temp/endpoint/base.php");
rename($this->P
Status
7. Whoops\Exception\ErrorException
/var/www/html/admin/modules/endpointman/Endpointman_Advanced.class.php1009
6. Whoops\Run handleError
<#unknown>0
5. filemtime
/var/www/html/admin/modules/endpointman/Endpointman_Advanced.class.php1009
4. FreePBX\modules\Endpointman_Advanced epm_advanced_manual_upload_provisioner
/var/www/html/admin/modules/endpointman/Endpointman_Advanced.class.php237
3. FreePBX\modules\Endpointman_Advanced doConfigPageInit
/var/www/html/admin/modules/endpointman/Endpointman.class.php291
2. FreePBX\modules\Endpointman doConfigPageInit
/var/www/html/admin/libraries/BMO/GuiHooks.class.php290
1. FreePBX\GuiHooks doBMOConfigPage
/var/www/html/admin/libraries/BMO/GuiHooks.class.php252
0. FreePBX\GuiHooks doConfigPageInits
/var/www/html/admin/config.php354
Whoops \ Exception \ ErrorException (E_WARNING)
HELP
filemtime(): stat failed for /var/www/html/admin/modules/_ep_phone_modules/temp/endpoint/base.php
/var/www/html/admin/modules/endpointman/Endpointman_Advanced.class.php
else {
out(_("Error!"));
}
}
if(file_exists($this->PHONE_MODULES_PATH."endpoint"))
{
$endpoint_last_mod = filemtime($this->PHONE_MODULES_PATH."temp/endpoint/base.php");
on
HTTP_HOST 192.168.81.102
HTTP_CONNECTION keep-alive
CONTENT_LENGTH 45571
HTTP_ORIGIN http://192.168.81.102
HTTP_USER_AGENT Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36
CONTENT_TYPE multipart/form-data; boundary=----WebKitFormBoundaryEPCZklDEunV41RPk
HTTP_ACCEPT */*
HTTP_REFERER http://192.168.81.102/admin/config.php?display=epm_advanced
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.9
HTTP_COOKIE lang=en_US; searchHide=1; PHPSESSID=m00nprsae0d3317pm49h1v6eq0; _ga=GA1.1.904026483.1533657295; _gid=GA1.1.639181172.1533657295
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SERVER_SIGNATURE <address>Apache/2.4.10 (Raspbian) Server at 192.168.81.102 Port 80</address>
SERVER_SOFTWARE Apache/2.4.10 (Raspbian)
SERVER_NAME 192.168.81.102
SERVER_ADDR 192.168.81.102
SERVER_PORT 80
REMOTE_ADDR 192.168.81.101
DOCUMENT_ROOT /var/www/html
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /var/www/html
SERVER_ADMIN webmaster@localhost
SCRIPT_FILENAME /var/www/html/admin/config.php
REMOTE_PORT 49854
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD POST
QUERY_STRING display=epm_advanced&subpage=manual_upload&command=upload_provisioner
REQUEST_URI /admin/config.php?display=epm_advanced&subpage=manual_upload&command=upload_provisioner
SCRIPT_NAME /admin/config.php
PHP_SELF /admin/config.php
REQUEST_TIME_FLOAT 1533749357.254
REQUEST_TIME 1533749357
GET Data
display epm_advanced
subpage manual_upload
command upload_provisioner
POST Data
empty
Files
foreach ($template_list as $files_data) {
$full_path = $path . $files_data;
if (file_exists($full_path)) {
$temp_files_data = $this->file2json($full_path);
foreach ($temp_files_data['template_data']['category'] as $category) {
$category_name = $category['name'];
foreach ($category['subcategory'] as $subcatego.
ument supplied for foreach()
/var/www/html/admin/modules/endpointman/Endpointman_Config.class.php
function merge_data($path, $template_list, $maxlines = 12) {
//TODO: fix
foreach ($template_list as $files_data) {
$full_path = $path . $files_data;
if (file_exists($full_path)) {
$temp_files_data = $this->file2json($full_path);
foreach ($temp_files_data['template_data']['category'] as $category) {
$category_name = $category['name'];
foreach ($category['subcategory'] as $subcategory) {
Server/Request Data
HTACCESS on
HTTP_HOST 192.168.81.102
HTTP_CONNECTION keep-alive
CONTENT_LENGTH 0
HTTP_ORIGIN http://192.168.81.102
HTTP_USER_AGENT Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36
HTTP_ACCEPT */*
HTTP_REFERER http://192.168.81.102/admin/config.php?display=epm_config
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.9
HTTP_COOKIE lang=en_US; searchHide=1; PHPSESSID=m00nprsae0d3317pm49h1v6eq0; _ga=GA1.1.904026483.1533657295; _gid=GA1.1.639181172.1533657295
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SERVER_SIGNATURE <address>Apache/2.4.10 (Raspbian) Server at 192.168.81.102 Port 80</address>
SERVER_SOFTWARE Apache/2.4.10 (Raspbian)
SERVER_NAME 192.168.81.102
SERVER_ADDR 192.168.81.102
SERVER_PORT 80
REMOTE_ADDR 192.168.81.101
DOCUMENT_ROOT /var/www/html
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /var/www/html
SERVER_ADMIN webmaster@localhost
SCRIPT_FILENAME /var/www/html/admin/config.php
REMOTE_PORT 51077
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD POST
QUERY_STRING display=epm_config&module_tab=manager&command=brand&command_sub=brand_install&idfw=21
REQUEST_URI /admin/config.php?display=epm_config&module_tab=manager&command=brand&command_sub=brand_install&idfw=21
SCRIPT_NAME /admin/config.php
PHP_SELF /admin/config.php
REQUEST_TIME_FLOAT 1533750020.458
REQUEST_TIME 1533750020
GET Data
I'm not sure what files to pull logs from to figure out this issue and it might just not be worth it.
If anyone has a device template for the T41S that I can just import on the side, that would be much appreciated to avoid this mess completely.