-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Commercial
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: REST Phone Apps (Commercial)
-
Labels:None
-
ToDo:
-
Distro Version:14.0.4.5
-
Distro:FreePBX Distro
Phone Apps 13.0.92.23
If I try to access voicemail I get an error. I grab a pcap from the phone and it looks like the server can’t process voicemail/apps.php:
GET /applications.php/voicemail/main?token=94538ca6-ca8c-48c1-bd14-b02e781714fc&linestate=$$LINESTATE$$&user=13 HTTP/1.1
Host: 192.168.0.22:82
User-Agent: Sangoma S500 2.0.4.57 00:50:58:50:ba:d6
Accept: /
Connection: Keep-Alive
HTTP/1.1 500 Internal Server Error
Date: Wed, 07 Nov 2018 15:36:06 GMT
Server: Apache/2.4.6 (Sangoma) OpenSSL/1.0.2k-fips PHP/5.6.36
X-Powered-By: PHP/5.6.36
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html;charset=UTF-8
174ae
<!DOCTYPE html><!--
Whoops\Exception\ErrorException: Invalid argument supplied for foreach() in file /var/www/html/admin/modules/restapps/functions.inc/aastra.class.php on line 356
Stack trace:
1. Whoops\Exception\ErrorException->() /var/www/html/admin/modules/restapps/functions.inc/aastra.class.php:356
2. Whoops\Run->handleError() /var/www/html/admin/modules/restapps/functions.inc/aastra.class.php:356
3. aastra_page_display() /var/www/html/admin/modules/restapps/functions.inc/aastra.class.php:643
4. aastra_get_page() /var/www/html/admin/modules/restapps/applications.php:155