• V20: 3CX Re-engineered. Get V20 for increased security, better call management, a new admin console and Windows softphone. Learn More.

spa504g Provisioning -- 403

Status
Not open for further replies.

DaveSD

Free User
Joined
Mar 23, 2018
Messages
18
Reaction score
1
Evaluating 3cx on Windows 2012r2 Std. I am trying to get a 504g to provision using dhcp-66.

When I attempt to load the page: http://x.x.x.x:5000/provisioning/e23fe4rkay7i/$MA.xml I get 403 - forbidden, regardless from where I attempt to load the page. I have two routable ip's assigned to the server, one is for the machine the other is assigned to the pbx software, checked windows firewall and 5000/5001 are any/any, no other firewall exists, unless there is one on the 3cx web server, wherever that is. Looked around in C:\ProgramData\3CX\Data\Http\wwwroot and the file $ma.xml doesnt exist.
 
If you are evaluating 3CX for the first time I would suggest that you do this with a fully supported phone such as a Yealink: https://www.3cx.com/sip-phones/

You will get a much better user and installer experience (as these have a limited feature-set) than using a "Legacy" supported handset and you can pick these phones up at a very reasonable price these days.
 
Hello @DaveSD

If you are using http over 5000, you'll need to be local to the PBX. Also, $MA refers to the MAC address of the phone, so the link should look like http://x.x.x.x:5000/provisioning/e23fe4rkay7i/123456789ABC.xml

got it.
replaced $ma.xml with the mac and on the server, still cannot load http://x.x.x.78:5000/provisioning/e23fe4rkay7i/2c86d210ebea.xml from a browser getting 403. There are two routable IP's assigned to this server, one is to the machine (x.x.x.74), the other ip is assigned to the pbx (x.x.x.78)

"If you are using http over 5000, you'll need to be local to the PBX." is this per your web server rules? windows firewall will allow... We have two locations, so we need to provision remotely anyway...
 
If you are remote, its HTTPS - and are you sure you are setup for 5000/5001 or 80/443?
 
We are using 5000/5001. I can get to either now to load the provisioning xml http or https. I tried DHCP 66 to both the http / https url https://xxxxx.ca.3cx.us:5001/provisioning/e23fe4rkay7i/$MA.xml.

I have done a factory reset on the SPA504G, but the phone is still not provisioning. I can see the phone in the dhcp client table, and I the phone has a valid 172.16.1.100 ip address.

What should DHCPResyncOptions transport protocol be set to? I have tried http/https (to match the dhcp 66 url) and tftp

Thank you for posting.
 
Is there a webserver running on this machine? You mention 2 IP Addresses. 1 on the machine and 1 for the PBX. Seems like a conflict somewhere.
The xml config file doesnt exist until requested - and the MAC must be assigned to an extension as well.
I would start over. Vanilla Windows install. 1 IP Address only.
 
You could also try the manual provisioning method and see if that works. If it provisions the manual way then you can start looking an DHCP option 66 and see where that is going wrong.

https://www.3cx.com/sip-phones/cisco-spa501g/
 
Status
Not open for further replies.

Getting Started - Admin

Latest Posts

Forum statistics

Threads
141,635
Messages
748,990
Members
144,754
Latest member
deanhbs
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.