I’m having some trouble with the phone apps voicemail on the Sangoma S500 telephones
Some XML apps work, but the voicemail tells me the xml file is missing.
s500 ver 2.0.4.30
Distro FreePBX 14.0.1.20
XML BLF http://192.168.155.119:82/applications.php/voicemail/main?linestate=$$LINESTATE$$&user=4244 doesn’t work
XML BLF http://192.168.155.119:82/applications.php/restapps/main?user=4244 Does work, but when I try to access voicemail I get the same 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?user=4244 HTTP/1.1
Host: 192.168.155.119
User-Agent: Sangoma S500 2.0.4.30 00:50:58:50:9c:ea
Accept: /
Connection: Keep-Alive
HTTP/1.1 500 Internal Server Error
Date: Thu, 30 Nov 2017 22:40:23 GMT
Server: Apache/2.4.6 (Sangoma) OpenSSL/1.0.1e-fips PHP/5.6.32
X-Powered-By: PHP/5.6.32
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html;charset=UTF-8
11c1c
<!--Whoops\Exception\ErrorException: Invalid argument supplied for foreach() in file /var/www/html/admin/modules/restapps/modules/voicemail/apps.php on line 607
Stack trace:
- Whoops\Exception\ErrorException->() /var/www/html/admin/modules/restapps/modules/voicemail/apps.php:607
- Whoops\Run->handleError() /var/www/html/admin/modules/restapps/modules/voicemail/apps.php:607
- voicemail_main_get_cb() /var/www/html/admin/modules/restapps/functions.inc/controller.class.php:240
- call_user_func() /var/www/html/admin/modules/restapps/functions.inc/controller.class.php:240
- Page->data_get() /var/www/html/admin/modules/restapps/functions.inc/controller.class.php:156
- Controller->application_page_get() /var/www/html/admin/modules/restapps/applications.php:135
Any ideas?