Sangoma S505 with EPM and zerotouch config

I have some S505 I’m trying to setup via zerotouch. The Sangoma portal redirection is working and I see the phones trying to download the cfg[MAC].xml file from the PBX, which does not exist at first. The problem I see is that they don’t try to download the cfg0505.xml which contain configuration for the “Login” button. I’ve captured port 84 traffic at both end and I only see the phones trying to get the cfg[MAC].xml

Phone does:

GET /[MAC].xml HTTP/1.1.
Host: [PBX_FQDN]:84.
User-Agent: Sangoma S505 3.0.4.87 [MAC]
Accept: */*.
Connection: Keep-Alive

PBX respond with:

HTTP/1.1 404 Not Found
 ...

They then get stuck in some kind of a loop always trying to get the cfg[MAC].xml indefinitely.

They work correctly if I set them up in “Extension Mapping” first

I’m using the latest firmware package 1.67.
Any ideas?
Thanks

Is the phone actually upgraded to firmware 2.0.4.87? If it has never provisioned from the PBX, it may not be unless you’ve taken manual steps to do so.

Yes, I tried “Extension Mapping” with the MAC first so they got upgraded during that time. You can see the firmware version in the “User-Agent” above

I tried with an older firmware (3.0.4.82 package 1.65) and it does the same thing. I captured traffic from the phone and I see it contacting 199.248.63.41:80:

T 2021/11/22 11:27:18.846398 192.168.0.104:56403 -> 199.248.63.41:80 [AP] #29
GET /factory0505.bin HTTP/1.1.
Host: rs.sangoma.net.
User-Agent: Sangoma S505 3.0.4.82 [MAC].
Accept: */*.
Connection: Keep-Alive.
.


T 2021/11/22 11:27:18.903000 199.248.63.41:80 -> 192.168.0.104:56403 [AP] #30
HTTP/1.1 200 OK.
Date: Mon, 22 Nov 2021 16:27:18 GMT.
Server: Apache/2.4.38 (Debian).
X-Powered-By: PHP/7.4.25.
vary: Accept-Encoding.
Content-Length: 354.
Content-Type: text/html; charset=UTF-8.
.
Flag=5678&CheckSum=0&P192=https://rs.sangoma.net/firmware&P193=60&P194=1&P212=3&P237=https://rs.sangoma.net/cfg&P238=0&P8680=1&P20051=https://rs.sangoma.net/screensaver&P20052=https://rs.sangoma.net/wallpaper&P20174=https://rs.sangoma.net/ring&P20179=https://rs.sangoma.net/phonechain.pem&P20180=https://rs.sangoma.net/phonechain.pem&P20156=2&P208=0&end

Then I see https communication with 199.248.63.41:443 and later:

T 2021/11/22 11:28:10.938462 192.168.0.104:39391 -> [PBX_PUBLIC_IP]:84 [AP] #519
GET /cfg[MAC].xml HTTP/1.1.
Host: [PBX_PUBLIC_URL]:84.
User-Agent: Sangoma S505 3.0.4.[MAC].
Accept: */*.
Connection: Keep-Alive.
.


T 2021/11/22 11:28:10.942584 [PBX_PUBLIC_IP]:84 -> 192.168.0.104:39391 [AP] #521
HTTP/1.1 404 Not Found.
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.40..
Date: Mon, 22 Nov 2021 16:28:10 GMT.
Content-Type: text/html; charset=iso-8859-1.
Content-Length: 217.
Connection: close.
Content-Type: text/html; charset=iso-8859-1.
.
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /cfg[MAC].xml was not found on this server.</p>
</body></html>

No other file I being requested by the phone. It keeps requesting the same cfg[MAC].xml in a loop.

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