- Joined
- Jun 17, 2015
- Messages
- 84
- Reaction score
- 21
Last weekend during scheduled Windows Updates I had my Windows Server 2016 VM fail to boot. My images of the server also had the same failure and I was forced to rebuild the server from scratch. After importing the previous nights backup config everything but provisioning worked.
I found that our old install had a different file path because it was originally a much older version of 3CX that was upgraded an unknown number of times. In the new version my file path is C:\ProgramData\3CX\Data\Http\wwwroot\provisioning and I was able to recreate the new provisioning folder and copy the old data into it. I updated the system parameter for PROVISIONING_FOLDER_ROOT to the new location and when I try to browse to that URL I can see that it exists but can't view the directory contents.
Even though I have the URL working now it does not generate a config for new phones. I can see the phone show up in 3CX. I can assign it an extension but it won't configure. If I try to manually provision the phone it doesn't update anything. If I manually paste my http://provisioninglink/mac.cfg it won't give me a file to download. What I did notice is that if I use an old phone MAC that was configured years ago the old .cfg file still exists in the provisioning directory so it will find it just fine. My issue is generating new configs.
While reading through other posts I noticed that some people were using the firewall tester. When I test it tells me the below information. The firewall on this server is off and the phones talk directly to it through the local network. There is no special configurations and I tested with both 80 and 443. Both load fine in a web browser.
FAIL: Port forwarding is not correctly configured, or something in between this tool and 3CX Phone System is blocking traffic.
Possible causes:
1) Port forwarding not configured. Port forward the Web Port (default 5000 for HTTP and 5001 for HTTPS for standard installations. 3CX Cloud server installations work on port 80 HTTP and port 443 HTTPS.
2) Antivirus installed on 3CX Phone System Server blocking 3CX Presence packets
3) Windows firewall can also be blocking packets.
Debug information: The remote server returned an error: (404) Not Found.
Does anyone have any idea where to look for generating the files? Thank you in advance.
I found that our old install had a different file path because it was originally a much older version of 3CX that was upgraded an unknown number of times. In the new version my file path is C:\ProgramData\3CX\Data\Http\wwwroot\provisioning and I was able to recreate the new provisioning folder and copy the old data into it. I updated the system parameter for PROVISIONING_FOLDER_ROOT to the new location and when I try to browse to that URL I can see that it exists but can't view the directory contents.
Even though I have the URL working now it does not generate a config for new phones. I can see the phone show up in 3CX. I can assign it an extension but it won't configure. If I try to manually provision the phone it doesn't update anything. If I manually paste my http://provisioninglink/mac.cfg it won't give me a file to download. What I did notice is that if I use an old phone MAC that was configured years ago the old .cfg file still exists in the provisioning directory so it will find it just fine. My issue is generating new configs.
While reading through other posts I noticed that some people were using the firewall tester. When I test it tells me the below information. The firewall on this server is off and the phones talk directly to it through the local network. There is no special configurations and I tested with both 80 and 443. Both load fine in a web browser.
FAIL: Port forwarding is not correctly configured, or something in between this tool and 3CX Phone System is blocking traffic.
Possible causes:
1) Port forwarding not configured. Port forward the Web Port (default 5000 for HTTP and 5001 for HTTPS for standard installations. 3CX Cloud server installations work on port 80 HTTP and port 443 HTTPS.
2) Antivirus installed on 3CX Phone System Server blocking 3CX Presence packets
3) Windows firewall can also be blocking packets.
Debug information: The remote server returned an error: (404) Not Found.
Does anyone have any idea where to look for generating the files? Thank you in advance.
