Nethvoice app not working

Hy, i’ve installed nethserver 8, i wanna use it for nethvoice, i registered my provider, created the extentions, configured my public domain with the correct certificates but when i try to scan the qr code for my nethvoice app i recieve the error: error while downloading the external provisioning, i’ve tried everything but i cannot solve this problem

Hi and welcome to NethServer Community,

the NethVoice app is an enterprise feature, you need a valid subscription to make it work, see Subscription – NethServer

1 Like

so the error comes from the lack of an enterprise license ?

1 Like

Yes, I tested with subscription and it worked.

You were right, with an enterprise license my mobile app works, but the autoprovisioning of the phones is driving me crazy, i cannot seem to make it work, the phone says config updating and then update skipped (i am using a yealink t48s and a t46u), and the strange thing is that the url generated gives 404 not found and doesnt end with .cfg or .xml, i tried every menu/option possible, i have enteret the option 66 tftp-server-name in my dhcp server but i cannot provision them

Does the phone have the right firmware >= 0.68? See NethVoice — NS8 documentation

For Yealink http://IP_PHONE_SYSTEM/provisioning/$MAC.cfg seems the right DHCP option. See NethVoice — NS8 documentation

both phones are up to date, the url that you sent is different from the one that my nethvoice generates, it generates one without the mac address and .cfg

Sorry, I have no phone to test it.

Did you check if the DHCP option is set correctly?

On a Linux client PC you can check the options with nmap:

sudo nmap --script broadcast-dhcp-discover

yes, i set the dhcp option and i can see it in the phone’s admin panel, i tried also following the doc that says to disable the dhcp and pnp options and to manually set the server url that you get from devices>phones info , but at the reboot of the phone i see config updating and then update skipped

from the diagnostics page on the phone’s admin panel i am able to resolve my public domain and to ping my nethvoice so it isnt a network issue, i tried to enter http://IP_PHONE_SYSTEM/provisioning/$MAC.cfg changing it to my public domain and the mac of the phone but recieve 404 not found, even if i try with http://IP_PHONE_SYSTEM/provisioning/, i get the same 404 not found error

JFYI as a small pointer Errors Code and Solutions | Yealink Troubleshooting

the error is from the nethvoice , i meant that if i try to use the url from my pc i get the 404, so i think the phone gets it too

Could you please share the full actual URL you’re using?

To work correctly the URL should contain the configured domain, and if the phone device is in the same LAN of the NethVoice maybe you have to configure split DNS or hairpin NAT.

the url that nethvoice gives me from the devices menu is: https://neth.amquadro.net/provisioning/16624625776909d596c6431006703492

the public domain and the certificates are configured properly, yes they’re in the same lan but i already have hairpin nat enabled, the phone resolves the domain neth.amquadro.net

Please try to remove the phone device from NethVoice and readd it again and check the device logs and the NethVoice logs either on the system logs page or on CLI:

journalctl _UID=$(id -u nethvoice1)

i deleted the phone , readded it and checked the logs on the CLI, from what i can see the tancredi module works, it registers the device’s mac address but i am missing the part where it generates the cfg for the provisioning. i am running the latest version of nethserver 8 enterprise and the latest version of nethvoice.

Did you also check the phone device logs? I found an article about it.

yes, the phone doesnt find the wanted cfg, it recieves 404 not found, same as my pc when trying the link

I tried it now and was successful using an URL like this:

First part is the URL I got from the NethVoice “Add phone” page and then I added a slash ‘/’, the MAC address and .cfg

http://pbx.mynethvoice.org/provisioning/108113523640a2f1d0ade1699623959/001565334455.cfg