K kidjake28 Member Nov 30, 2017 97 0 6 57 Mar 24, 2018 #1 When trying to check why my phones weren't provisioning, I went to http://mydomain.com/app/provision/{mac}.cfg and get this error. Not sure where to look.
When trying to check why my phones weren't provisioning, I went to http://mydomain.com/app/provision/{mac}.cfg and get this error. Not sure where to look.
S smn Member Jul 18, 2017 201 20 18 Mar 26, 2018 #2 Are you replacing {mac} with the mac address of the phone? All lower case with no ":" or "-" in between octets. Also have you verified that .htaccess is working? Last edited: Mar 26, 2018
Are you replacing {mac} with the mac address of the phone? All lower case with no ":" or "-" in between octets. Also have you verified that .htaccess is working?
K kidjake28 Member Nov 30, 2017 97 0 6 57 Mar 26, 2018 #3 Thanks for the reply. Yah I've got 5 other servers that are working fine....just this one. Yes I'm actually using the actual mac address.cfg. If I look at the source of this page, I can actually view the xml page....and in the end it does actually provision the phone. I remembering running into this issue once before but I forget what was done to rectify it.
Thanks for the reply. Yah I've got 5 other servers that are working fine....just this one. Yes I'm actually using the actual mac address.cfg. If I look at the source of this page, I can actually view the xml page....and in the end it does actually provision the phone. I remembering running into this issue once before but I forget what was done to rectify it.
S smn Member Jul 18, 2017 201 20 18 Mar 26, 2018 #4 kidjake28 said: Thanks for the reply. Yah I've got 5 other servers that are working fine....just this one. Yes I'm actually using the actual mac address.cfg. If I look at the source of this page, I can actually view the xml page....and in the end it does actually provision the phone. I remembering running into this issue once before but I forget what was done to rectify it. Click to expand... Have you tried accessing the url with cURL in a linux CLI?
kidjake28 said: Thanks for the reply. Yah I've got 5 other servers that are working fine....just this one. Yes I'm actually using the actual mac address.cfg. If I look at the source of this page, I can actually view the xml page....and in the end it does actually provision the phone. I remembering running into this issue once before but I forget what was done to rectify it. Click to expand... Have you tried accessing the url with cURL in a linux CLI?
S smn Member Jul 18, 2017 201 20 18 Mar 26, 2018 #6 I believe that is a closer simulation to how a phone does it as opposed to how a web browser does it. You can also simulate different phones this way. curl -H "Accept: */*" -H "User-Agent: Yealink SIP-T56A 58.80.0.25 001565e5aabc" http://somedomain.com/app/provision/001565e5aabc.cfg curl -H "Accept: */*" -H "User-Agent: Grandstream Model HW GXP2135 SW 1.0.7.97 DevId 000b828aa872" http://somedomain/app/provision/000b828aa872.cfg If you enable auto_insert_enabled in default settings it automatically adds the MAC to Accounts > Devices Last edited: Mar 26, 2018
I believe that is a closer simulation to how a phone does it as opposed to how a web browser does it. You can also simulate different phones this way. curl -H "Accept: */*" -H "User-Agent: Yealink SIP-T56A 58.80.0.25 001565e5aabc" http://somedomain.com/app/provision/001565e5aabc.cfg curl -H "Accept: */*" -H "User-Agent: Grandstream Model HW GXP2135 SW 1.0.7.97 DevId 000b828aa872" http://somedomain/app/provision/000b828aa872.cfg If you enable auto_insert_enabled in default settings it automatically adds the MAC to Accounts > Devices