04-08-2014 09:41 AM - edited 03-21-2019 08:12 AM
Hello,
We have some SPA303 phones, and sometimes we encounter one way or no audio issue randomly on our SPA303 phones. We have tried rebooting the and disconnecting the phone from the network, but still the same. We ended up resetting the phone to factory default and reconfigure it to make it work again.
I have read that SPA phones are capable of auto provisioning. If i may ask, is there a way to auto provision SPA phones without using DHCP option 66?
In case it's possible, how will i do it?
By the way, i'm using FreePBX 2.11 with Asterisk 11.
hopefully there could be some workaround with auto provisioning without the use of DHCP option 66, as our local network firewall/router does not support DHCP option 66.
any help regarding this matter is greatly appreciated.
Thanks in advance,
04-14-2014 10:19 AM
is there a way to auto provision SPA phones without using DHCP option 66?
Yes, you can use DHCP option 160 instead of it. But I suspect you router will not be able to announce it as well.
Unfortunately, virgin device need to know where the initial configuration needs to be fetched. It can't work unless you can point the device to it.
04-14-2014 10:40 AM
Hi Dan,
Thanks for your reply.
It seems we could bypass the use of DHCP option 66, with option 160 instead, but still need to use DHCP options.
Just wondering if there's a way to totally bypass DHCP options, something like auto provision the SPA phones thru HTTP or HTTPS? And how to do that? (if it's possible)
Thank you,
04-14-2014 12:22 PM
You can trigger the resync from the remote. Just ask something like
http://IP_OF_YOUR_PHONE/admin/resync?http://NAME_OF_PROVISIONING_SERVER/Cisco/Provisioning.php
from your browser.
I'm not sure what's your idea related to "HTTP auto provisioning". Virgin device needs to fetch the configuration somewhere. You need to specify the "somewhere". The fully "auto" method know to me is the DHCP style of delivery of "somewhere". Other methods, including the one I mentioned above I consider rather "remotely triggered provisioning" than "auto provisioning".
04-14-2014 01:07 PM
Hi Dan,
Thanks for the reply.
Got the idea of HTTP auto provisioning from this site: http://www.freepbx.org/forum/general-help/autoprovision-cisco-spa303-via-http
Based from that post, i also tried to edit the FreePBX OSS Endpoint>Advanced Settings>Configuration Type to "Web (HTTP)". After udating the changes, there's a line on top that says "Updated! - Point your phones to: http://10.10.x.x/provisioning/p.php/".Please see attached image.
Have any idea about that? Kindly enlighten me...
thank you,
04-14-2014 02:43 PM
The core of it is the Point your phones to: http://10.10.x.x/provisioning/p.php/
It says just "order your phone to fetch the profile from ...". Not how you should order phone to do it.
So nothing new according "how to" question here. Well, I still know only:
May be, there is one more remotely triggered method utilizing XSI API, but I know no other fully unattended method than DHCP.
Turn off the DHCP server on your dumb router and run smarter DHCP server elsewhere. I'm not familiar with FreePBX distribution so much, but it seems to be a Linux-based computer. So DHCP server can be installed and started here.
04-15-2014 12:14 PM
Hi Dan,
Sorry for the late reply.
Thank you for shedding light to my concerns. it seems the only fully unattended provisioning of SIP phones is thru DHCP options.
Thank you very much,
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide