Sangoma P320 with FreePBX 17 remote Endpoint Manager

Hi all,

We just picked up a bunch of Sangoma P320 phones and manually configured them to get going but we’re lacking quite a bit of options and the voicemail button is mapped incorrectly among other things.

I’m sure as you all know the P320 web interface is pretty lacking and after searching I understand that using the end point manager is the best approach with these phones.

The PBX for these phones is not on the same layer 2 switch or building for that matter and I cant seem to find any https provisioning options on the P320 https like I’ve seen on other models.

What is the best method to manage these phones from a remote PBX server?

Thanks in advance.

1 Like

I use the Sangoma portal to point the phones to the cloud PBX. https://sangomakb.atlassian.net/wiki/spaces/Phones/pages/17662234/Zero+Touch+Provisioning#Sangoma-Portal-configuration

1 Like

Thanks Bill,

I attempted to import all the phones but they’re giving me this error;

“Phone can’t be imported, but a product claim was opened. Please contact the point of purchase.”

These phones were purchased brand new,in fact I opened them all myself…

It is not related to your problem, but do you know?

Sangoma assisted with the phones and was able to add them to our portal.

I cant seem to get them to poll however, wondering I need to factory reset them?

Yes, do a factory reset and they will reach out to the Sangoma provisioning service. For the P series you won’t see any “poll” on the portal; that only shows up for S series phones.

Getting this error after factory resetting one phone;

Communication Error:

Fetch Failed

(Bad XML at 10:1 - No document element found)

You can retry, choose a new server, or reset any stored credentials and then retry.

I’m also using IP/FQDN redirect method in the Sangoma Portal and port 5060 is open (TCP/UDP)

I did a packet capture and I did see phone boot and open a TCP socket to a Sangoma server @ 199.248.63.41

Then I see the phone making a SIP session UDP 5060 to my FreePBX server so it seems the redirection is working but the phone is still not provisioning.

Part of the packet capture shows this error near the end of the capture;

X-Digium-User-Agent: Sangoma P320 4_27_4

[Expert Info (Note/Undecoded): Unrecognised SIP header (x-digium-user-agent)]

[Unrecognised SIP header (x-digium-user-agent)

X-Digium-AppServer-ResponseType: ConfigResponse

Unrecognised SIP header (x-digium-appserver-responsetype)]

In EPM, Extension Mapping, ensure your extensions are listed, MAC addresses are correct, and showing as Configured By: Server.

Click the gear to set Configured By to Server.

I did have 2 phones setup this way and this morning I do see one phone connected and the IP listed but the other unit is not registering.

When I try to add other mapping the EndPoint Manager throws errors when trying to rebuild and save configs. I tried mapping a 3rd phone and I still get the same error. I even tried making new templates and also using the template for the “working” phone without success.

The only thing that’s different is the working phone is not part of any queues while the others all are. I did not have this save rebuild error until that one phone connected

Here is the error I get on all 3 other attempts;

Exception

Failed to load the File. Error is captured in /tftpboot/DigiumLoadXmlFailedFiles/223-1.xml DOMDocument::loadXML(): xmlParseEntityRef: no name in Entity, line: 451

Maybe there’s a bug in the template. Take a look at line 451 in that file and see. If so you can edit the template to correct the problem and try it again.

I found the issue with that file.

My queues were named as eg “Sales & Supply” after changing to “Sales and Supply” it stopped throwing the error. TIL never use “&” again…

I was able to apply a template to another phone but the IP isn’t updating like the other but the phone seems to have taken the template because the web interface is now disabled.

Does the “IP Address Status” field take some time to update?

Thanks again for all the help with this.

I believe the IP address field comes from SIP registration so if you don’t see it, the phone hasn’t successfully done a SIP registration.

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