Phones Apps with Sangoma Phone S500 and S700

When I hit one of the button configure for phone Apps and Phone Apps Protocol is set for HTTPs, It display Loading Please Wait, then it disappear after 2 to 3 minutes

If the The Phone Apps Protocol is set for HTTP, I’m getting “Error Loading XML”

Regardless which phone apps. Same result.

restapps_Err.log is empty

restapps.log has one entry
[03-Aug-2019 06:38:20 America/Los_Angeles] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/admin/libraries/php-asmanager.php on line 483

RestApps_out.log has multiple entry (same over and over)
RestApps is now ready to use!
[19338][99998-parking] Sending message of Session ‘Parking’ with message ’ ’
2019-08-10 05:05 -04:00: [19338][99998-findmefollow] Sending message of Session ‘Follow Me’ with message ‘Follow Me Enabled’
2019-08-10 05:07 -04:00: [19338][101-findmefollow] Sending message of Session ‘Follow Me’ with message ’ ’
2019-08-10 05:07 -04:00: [19338][101-findmefollow] Sending message of Session ‘Follow Me’ with message ’ ’
2019-08-10 05:07 -04:00: [19338][101-findmefollow] Sending message of Session ‘Follow Me’ with message ’ ’
2019-08-10 05:07 -04:00: [19338][101-findmefollow] Sending message of Session ‘Follow Me’ with message ’ ’
2019-08-10 05:07 -04:00: [19338][101-findmefollow] Sending message of Session ‘Follow Me’ with message ’ ’
2019-08-10 05:07 -04:00: [19338][101-findmefollow] Sending message of Session ‘Follow Me’ with message ’ ’
2019-08-10 05:07 -04:00: [19338][101-findmefollow] Sending message of Session ‘Follow Me’ with message ’ ’
2019-08-10 05:07 -04:00: [19338][101-findmefollow] Sending message of Session ‘Follow Me’ with message ’ ’
2019-08-10 05:07 -04:00: [19338][101-findmefollow] Sending message of Session ‘Follow Me’ with message ’ ’
2019-08-10 05:07 -04:00: [19338][101-findmefollow] Sending message of Session ‘Follow Me’ with message ’ ’
2019-08-10 05:07 -04:00: [19338][101-findmefollow] Sending message of Session ‘Follow Me’ with message ’ ’
2019-08-10 05:09 -04:00: [19338][2001-findmefollow] Sending message of Session ‘Follow Me’ with message ‘Follow Me Enabled’
2019-08-10 05:09 -04:00: [19338][2001-presencestate] Sending message of Session ‘Presence’ with message ‘Available’
2019-08-10 05:11 -04:00: Running BLF Init Functions…
2019-08-10 05:11 -04:00: [21317][101-findmefollow] Sending message of Session ‘Follow Me’ with message ’ ’
2019-08-10 05:11 -04:00: [21317][2001-findmefollow] Sending message of Session ‘Follow Me’ with message ‘Follow Me Enabled’
2019-08-10 05:11 -04:00: [21317][2001-presencestate] Sending message of Session ‘Presence’ with message ‘Available’
2019-08-10 05:11 -04:00: Finished running BLF Init Functions
RestApps is now ready to use!

FreePBX 13.0.197
Asterisk 13.23.1
Distro 10.13.66-22

Sangoma S500 / S700
Phone Firmware (IMG) 2.0.4.6
Phone Firmware (BOOT) 2.0.3.36

Phone Apps on version 13.0.92.31
End Point Manager on version 13.0.118.129
User Management on version 13.0.76.43

RESTful API Http (85) Https(2443)
RESTful Phone Apps Http (84) Https(3443)

I’m using Let’s Encrypt and valid for another 3 months

I tried both PJSIP and CHan_SIP

Appreciate any information.

Are the PBX and the phone on the same LAN?

No its not. I’m using Freepbx hosting partner.

I check /var/log/httpd/error_log and it looks like I’m missing some files.
[Sat Aug 10 07:11:58 2019] [error] [client 167.86.107.111] File does not exist: /var/www/html/restapps/64167f0000000.cfg
[Sat Aug 10 07:58:24 2019] [error] [client 167.86.107.111] File does not exist: /var/www/html/restapps/64167f0000000.cfg
[Sat Aug 10 09:14:22 2019] [error] [client 167.86.107.111] File does not exist: /var/www/html/restapps/000000000000.cfg
[Sat Aug 10 09:14:24 2019] [error] [client 167.86.107.111] File does not exist: /var/www/html/restapps/y000000000000.cfg
[Sat Aug 10 09:14:59 2019] [error] [client 167.86.107.126] File does not exist: /var/www/html/restapps/000000000000.cfg
[Sat Aug 10 09:15:00 2019] [error] [client 167.86.107.126] File does not exist: /var/www/html/restapps/y000000000000.cfg
[Sat Aug 10 09:16:32 2019] [error] [client 167.86.107.111] File does not exist: /var/www/html/restapps/y000000000005.cfg
[Sat Aug 10 09:16:37 2019] [error] [client 167.86.107.111] File does not exist: /var/www/html/restapps/y000000000007.cfg
[Sat Aug 10 09:16:54 2019] [error] [client 167.86.107.111] File does not exist: /var/www/html/restapps/y000000000068.cfg
[Sat Aug 10 09:18:37 2019] [error] [client 167.86.107.111] File does not exist: /var/www/html/restapps/y000000000029.cfg
[Sat Aug 10 09:18:55 2019] [error] [client 167.86.107.111] File does not exist: /var/www/html/restapps/y000000000031.cfg
[Sat Aug 10 09:19:12 2019] [error] [client 167.86.107.111] File does not exist: /var/www/html/restapps/y000000000028.cfg

Do you have the PhoneApps ports open?

Yes it’s open. When I type this on a browser (got the link from the phone)

https://ipaddress:3443/applications.php/contactmanager/main?token=xxxx&linestate=$$LINESTATE$$&user=101

I’m getting “it’s not license” which is normal but I’m using Sangoma S500/S700
{“application_name”:Null,“application_display”:null,“page_name”:null,“type”:“display”,“exitPath”:null,“layout”:[],“action”:[],“error”:[{“reason”:400,“display”:“Phone Apps module not licensed.”}]}

I tested a different port https://ipaddress:1234/applications.php/contactmanager/main?token=xxxxxx&linestate=$$LINESTATE$$&user=101

I’m getting “This site can not be reached”
Since I was able to get a response on port 3443, I assume it’s open.

I also tried https://www.yougetsignal.com/tools/open-ports/ and it tells me 3443 port is open.

I appreciate your help.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.