Just to confirm, are you using the Endpoint Manager commercial module? I’ll assume you are for now. I’ll also assume you are not using option66 from your dhcp server to set a configuration address for the basestation, and that the db20 is local to the pbx. It should also work if remote, but you may need to involve some additional firewall/network options.
When I configured one against a FreePBX14 system, here’s what I did, starting with a db20 that had default settings. I didn’t have to edit my basefile.
On FreePBX admin:
-on Endpoint Manager->Base Station Management, I added the db20.
-The db20 needs to be an enabled model for the firmware template you choose. You may already have that set, but you’ll get a complaint if it isn’t.
-In the template, I also have the Provisioning Protocol option set to HTTP, which may be the default.
-After the basestation is added, click the icon to Edit it, and set a Handset Access Code. You’ll need this code later.
-on Endpoint Manager->Extension Mapping, I choose Add Extension, and select an extension for account 1.
-Choose Sangoma for the model, and leave the MAC Address field blank. For the Template Model, Select the correct sangoma template, and set the model to
DB20. This should now let you select the base station where the Mac Address field once was. Add the mapping.
-After the mapping is added, click the icon to Edit it. This is where you enter the DB10’s IPEI number.
-If the handset is powered up, you can find this number in the Status/Info menu. It can also be found behind the phone’s battery.
-You may see some error messages about the device not having an IPEI number when you’re trying to set one, just proceed through to get it set.
-go to Admin -> System Admin.
-go to the Port Management section. make a note of what you have for HTTP Provisioning. 84 is the default.
-go to the Provisioning Protocol section. If you have HTTP(s) authentication enabled, make a note of the username and password somewhere
This info can also be found in Endpoint Manager’s Global Settings page.
On the basestation:
-like the wiki page mentions, I made my changes in the Management Page.
-set Management Transfer Protocol to HTTP. HTTPS may work for you, but I’ve only tried HTTP.
-set the HTTP Management username and password to what you had from the Provisioning Protocol page if it was active.
-for Configuration Server Address, enter your-pbx-ip:http-provisioning-port (ex. http://192.168.1.100:84).
-set Auto Resync Polling to Enabled
-DHCP Controlled Config Server to Disabled.
-I left the other values at their defaults.
After rebooting, you’ll know if the basestation got its configuration because you can no longer access its web config with the default credentials of admin:admin. Instead, the username will still be admin, but the password will be what you have set in Endpoint Manager->Global Settings->Phone Admin Password. You can verify logging in works, but you shouldn’t have to make additional changes at this point for a basic setup.
Now on the handset’s menus, you should be able to register it(Connectivity->Register) using the Handset Access Code that was set for the basestation in Endpoint Manager. If successful, you should see the extension number show on screen, and be able to make calls.