If your PBX is setup and working correctly…you dont enter anything into the phone…
I know that this should not be required, but the funny thing is that I was able to configure dozens of Digium D65 and some D80s by using the advanced DPMA method with xml config files, but I am not able to configure this phone with the supposedly enduser-friendly EPM and phone apps. I am/was so desperate that I even forwarded ports, what I would normally never do (especially not with phone apps)
Anyway…maybe the phone is too new…I will just wait…
Here is a quick video i just made for you…you can see I dont enter a single thing into the phone feom a freshly factory defaulted phone…
Once PBX is setup correctly, and the phone MAC is in EPM>Extension Mapping with the correct P370 template assigned… it simply boots up, grabs a DHCP address on the LAN its plugged into then immediately grabs a config from PBX and reboots…
I
Take note of the IP address in the video the 1st time it boots up vs 2nd time…after it restarts I know it grabbed the config because it is now pulling an IP from my VOIP VLAN ( I have that VLAN ID set in the P370 template)… it then boots right up and is fully working…
I havent seen an answer to the question if your FQDN is resolving internally…ive seen this issue happen a lot…99% of the time peoples FQDN resolves to their WAN IP…but doesnt resolve to their PBX internally…i use a Untangle NGFW router and I had to wnter my voip FQDN into the DNS entries section of my router with the IP of my PBX…now when I ping my FQDN it resolves to my PBX static LAN IP internally…just some suggestions
Thanks for the video…
The critical part seems to be how the unconfigured phone can automatically discover its configuration server, when it is not advertising locally.
You wrote “i use a Untangle NGFW router and I had to wnter my voip FQDN into the DNS entries section of my router with the IP of my PBX”.
I have no idea of how to do it on my fritzbox router…but I will try…thanks
EDIT: I just see the port forwarding stuff…
oooohhh…I think I found something
It’s called dns-rebind-protection and it says that my fritzbox router automatically suppresses DNS-replies, which redirect to internal addresses. You can add exceptions though. Sounds promising, doesnt it? I will look at it tomorrow again.
Thanks!
Yes, what do you get when you ping your FQDN from internal LAN that the P370 is on?? Does it respond with IP of your PBX?? If not, then that is part of your issue…
Here is my DNS Static entries in my NGFW for internal resolution…The 2nd entry is my PBX FQDN voip.mydomain.com…
That is the same FQDN that I setup my LetsEncrypt cert with… Its the same FQDN setup in my P370 template for External Provisioning and External HTTPS Phone Apps…that is also the same FQDN Ive entered in SysAdminPro>Hostname…that is also the same FQDN that shows in SysAdminPro>HTTPS Setup>Settings as the applied Certificate Name…That is also the same FQDN that is set in Settings>Asterisk SIP Settings>General Settings under NAT Settings External Address…that is also the FQDN that shows in Settings>Asterisk SIP Settings>SIP Settings (chan_pjsip) under Certificate Management my Lets Encrypt cert is selected with that same FQDN…That same FQDN is also set in Endpoint Manager>Global Settings under External Address…in EPM>DPMA Management under mDNS Discovery Address I also have that same FQDN set along with my TLS port and TLS Transport selected…
Just trying to give you all the places I have that setup to make this work so you can double check what you have in those settings.
Thanks…my Fritzbox router does not support static DNS entries which link to internal IPs. So at least I found out that it is not my fault that I cannot configure the P370 with phone apps
Since I cannot link a static DNS entry to the internal IP of my freePBX server (my router cannot do it)…and some of the phone apps for the P370 need https activated with a valid certificate and so on, I started to edit the original P370 config file the EPM had generated.
So I replaced all the entries of the app-server “https://192.168.0.XX:5443/dphoneApi.php” with this “https://hunxxxxxxxyz.myfritz.net:5xx3/dphoneApi.php”…except for the voicemail entry, since it wasn’t necessary and would have caused a delay during playback of voicemail messages. The voicemail entry I changed to this “http://192.168.0.XX:82/dphoneApi.php”…so no https…
The hunxxxxxxxyz.myfritz.net domain points to my Fritzbox router and the port 5xx3 is the https port of my phone app server and this port is forwarded by my router. In the firewall of my freePBX server I had to add hunxxxxxxxyz.myfritz.net as trusted.
Everything seems to work now…I just cannot rebuild my P370 template by EPM
Maybe the devs can provide an easier web-gui solution in the future, so that this high-end phone can be easily deployed by everybody who is interested in a modern desktop phone! The future looks bright for Sangoma…I think!
EDIT: just one more thing…I have this freePBX server with the P370 running at a location with a mobile internet connection with varying IP. It has been working for days and doesn’t even lose the connection once the IP changes. There has been a lot of progress over the years with SIP…I am impressed
Just tested call_completed_elsewhere with the P370 and a D80. It seems it still does not work. If several phones are in a ring group and a call comes in, the phones show a missed call, even if one of the ring group extensions answers the call.
I enabled call_completed_elsewhere in the EPM template and in the ring group I set mark_answered_elsewhere to yes.
So it seems both, the D80 and the P370, cannot be used in a ring group…yet!
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.