FreePBX 17 DPMA With EPM D50 Phone "Error fetching config from proxy"

I’m beginning to do some testing / research with FreePBX 17 migrate to from our FreePBX 15 production server.

We have all “D” series digium phones(over 350). I’ve figured out so far that DPMA is now built into EPM(no more “digium phones” FreePBX web module). I “activated” our test FreePBX 17 server which seemed to have licensed DPMA.

When trying configure a D50 & D60 phone to work with this FreePBX 17 server after doing a factory reset, I get to the point where I can select which extension I want to configure the phone as after putting in the global password. Then the phone then gives a “Communication Error”, “Error fetching config from proxy”.

When I look in EPM in the FreePBX web gui, it shows the phone in there I just tried to connect, but due to the error on the phone, the phone won’t complete the setup / config.

I’ve been searching for other people running into this issue or documentation on all of the steps required to use DPMA with EPM on FreePBX 17, but have been unable to find anything to get around this issue. Any suggestion you could provide to help get past this would be much appreciated.

I suspect that certain folders that DPMA or other related services need to fully provision / configure the phones have not been created. Not sure if I need to do that manually or there are other steps I need to take to really get DPMA with EPM fully up and running. For example when I run the “digium_phones show settings”, this is what I see

nike24*CLI> digium_phones show settings
---- Digium Phone Module Global Settings ----
Server UUID:
GlobalPin:
Service Discovery: Enabled
Service Disc. Name: Asterisk
Service Disc. Addr: 192.168.0.46
Service Disc. Port: 5060
Userlist Authentication: disabled
Config Authentication: disabled
Firmware Package Directory:
File Directory: /var/lib/asterisk/digium_phones
PJSIP message context: dpma_pjsip_message_context

That folder /var/lib/asterisk/digium_phones doesn’t yet exist on my server. Even if I manually created that, I don’t know how to get the required contents in there.

I did 2 things since I posted this and it’s working now. (at least it’s trying to upgrade the firmware, so I need to figure that next part out, but I’m no longer totally stuck)

Under “Advanced settings” I enabled the Asterisk REST Interface.(going to need that for something else I know already anyways)

In the global settings for the End Point Manager, I specified a value for the “Internal Address”. I’m 99.9% sure that fixed the issue I created this post for. Hopefully this helps someone else in the future.