w52P auto provision - Printable Version +- Yealink Forums (http://forum.yealink.com/forum) +-- Forum: IP Phone Series (/forumdisplay.php?fid=4) +--- Forum: Auto Provisioning (/forumdisplay.php?fid=14) +--- Thread: w52P auto provision (/showthread.php?tid=35451) |
w52P auto provision - Chris Barron - 11-04-2016 12:20 AM Chaps, we deploy a large number of W52ps and Ive just discovered that our tech's are having to configure the base stations manually because auto provision does not work. T41's work ok. firstly the factory default has auto_provision.pnp_enable =1, which is inappropriate for most business network, rather than domestic deployments. Using option 66 DHCP pushes the request to the Yealink RPS and the entry there returns the correct provision host according to the logs. However the base station is not updated with the server credentials and the provision fails. If I enter the provision credentials correctly, URL, username and password - it works ok I get the following from the logs: (server ip address redacted.) 3 17:17:40 LIBD[509]: DCMN<6+info > Connecting rps.yealink.com:443 Nov 3 17:17:41 LIBD[509]: DCMN<6+info > Connecting IP = 184.106.101.50, Port = 443 Nov 3 17:17:41 LIBD[509]: DCMN<6+info > SSL_connect (read done) Nov 3 17:17:42 LIBD[509]: DCMN<6+info > SSL_connect (read done) Nov 3 17:17:42 LIBD[509]: HTTP<5+notice> response code: 302 Nov 3 17:17:42 LIBD[509]: HTTP<6+info > Content-Length: 0 Nov 3 17:17:42 LIBD[509]: HTTP<5+notice> redirect to new url Nov 3 17:17:42 LIBD[509]: DCMN<3+error > BAD_PORT_NUMBER Nov 3 17:17:42 LIBD[509]: HTTP<5+notice> response process finish! Nov 3 17:17:42 LIBD[509]: HTTP<3+error > handler response error Nov 3 17:17:42 LIBD[509]: DCMN<5+notice> Init config! libdownload Ver:5.3.0.9 Nov 3 17:17:42 LIBD[509]: DANY<0+emerg > LIBD log :sys=1,cons=1,time=0,E=3,W=4,N=5,I=6,D=7 Nov 3 17:17:42 LIBD[509]: DANY<0+emerg > DANY=7 Nov 3 17:17:42 LIBD[509]: HTTP<5+notice> URL : http://185.62.77.56/prov/y000000000025.cfg Nov 3 17:17:42 LIBD[509]: DCMN<6+info > Connecting 1xx.62.77.56:80 Nov 3 17:17:42 LIBD[509]: DCMN<6+info > Connecting IP = 1xx.62.77.56, Port = 80 Nov 3 17:17:42 LIBD[509]: HTTP<6+info > Request Line: GET /prov/y000000000025.cfg HTTP/1.1^M Nov 3 17:17:42 LIBD[509]: HTTP<6+info > Host: 1xx.62.77.56 Nov 3 17:17:42 LIBD[509]: HTTP<6+info > User-Agent: Yealink SIP-W52P 25.73.23.6 00:15:65:b1:62:82 Nov 3 17:17:42 LIBD[509]: HTTP<6+info > process response Nov 3 17:17:42 LIBD[509]: HTTP<5+notice> response code: 404 Nov 3 17:17:42 LIBD[509]: HTTP<5+notice> response process finish! Nov 3 17:17:42 LIBD[509]: HTTP<3+error > Client error Nov 3 17:17:42 LIBD[509]: DCMN<5+notice> Init config! libdownload Ver:5.3.0.9 Nov 3 17:17:42 LIBD[509]: DANY<0+emerg > LIBD log :sys=1,cons=1,time=0,E=3,W=4,N=5,I=6,D=7 Nov 3 17:17:42 LIBD[509]: DANY<0+emerg > DANY=7 Nov 3 17:17:43 LIBD[509]: HTTP<5+notice> URL : http://185.62.77.56/prov/001565b16282.cfg Nov 3 17:17:43 LIBD[509]: DCMN<6+info > Connecting 1xx.62.77.56:80 Nov 3 17:17:43 LIBD[509]: DCMN<6+info > Connecting IP = 1xx.62.77.56, Port = 80 Nov 3 17:17:43 LIBD[509]: HTTP<6+info > Request Line: GET /prov/001565b16282.cfg HTTP/1.1^M Nov 3 17:17:43 LIBD[509]: HTTP<6+info > Host: 1xx.62.77.56 Nov 3 17:17:43 LIBD[509]: HTTP<6+info > User-Agent: Yealink SIP-W52P 25.73.23.6 00:15:65:b1:62:82 Nov 3 17:17:43 LIBD[509]: HTTP<6+info > process response Nov 3 17:17:43 LIBD[509]: HTTP<5+notice> response code: 401 Nov 3 17:17:43 LIBD[509]: HTTP<6+info > http auth type: 2, Nov 3 17:17:43 LIBD[509]: HTTP<6+info > Reconnect 1xx.62.77.56:80 Nov 3 17:17:43 LIBD[509]: DCMN<6+info > Connecting 1xx.62.77.56:80 Nov 3 17:17:43 LIBD[509]: DCMN<6+info > Connecting IP = 185.62.77.56, Port = 80 Nov 3 17:17:43 LIBD[509]: HTTP<5+notice> response code: 200 Nov 3 17:17:43 LIBD[509]: HTTP<6+info > Content-Length: 8440 Nov 3 17:17:43 LIBD[509]: HTTP<5+notice> response process finish! Nov 3 17:17:45 ATP [533]: ANY <0+emerg > ATP log :sys=1,cons=1,time=0,E=3,W=4,N=5,I=6,D=7 Nov 3 17:17:45 ATP [533]: ANY <0+emerg > ANY =3 Nov 3 17:17:45 LIBD[533]: DANY<0+emerg > LIBD log :sys=1,cons=0,time=0,E=3,W=4,N=5,I=6,D=7 Nov 3 17:17:45 LIBD[533]: DANY<0+emerg > LIBD log :sys=1,cons=1,time=0,E=3,W=4,N=5,I=6,D=7 Nov 3 17:17:45 LIBD[533]: DANY<0+emerg > DANY=3 Nov 3 17:17:45 LIBD[533]: DCMN<3+error > getaddrinfo: Name or service not known Nov 3 17:17:45 LIBD[533]: HTTP<3+error > Connect Error Nov 3 17:17:45 ATP [533]: ATP <3+error > http to file failed, code = -1, msg = Wrong host, retry = 1 The RPS recognises the target server 1xx.62.77.58 but the subsequent dialogues seem to fail in several places. The RPS holds the credentials for the auto provision name and password. equivalent to auto_provision.server.username auto_provision.server.password Chris RE: w52P auto provision - Michael_Yealink - 12-10-2016 08:18 AM hi Chris thanks for you information for this issue , have you try to configure RPS server URL together with user name and password and test again? it seems that the authorization is failed which caused the provision failed . you can try configure below URL to your RPS account , server : http://admin:admin@185.62.77.56/prov/ just replace the admin to the correct user name and password you use , then that would be OK for authorization . please test and let me know if any update . if still not work , then it is advised to get the whole log file to us so that we can do some further analysis . it is advised to use a wireshark tool to get the pcap file , for how to download the tool and use it , please refer to the link below : http://forum.yealink.com/forum/showthread.php?tid=15529 for the syslog, please export it to server side , before phone reboot , you can refer to the guide download from below link : http://forum.yealink.com/forum/showthread.php?tid=15529 for the config.bin file , please refer to the FAQ below : http://forum.yealink.com/forum/showthread.php?tid=1319 after you collect all the three files, just send them to me ASAP let me know if any question TKS & BR Michael RE: w52P auto provision - Michael_Yealink - 12-30-2016 07:47 PM hi Chris , any update ? Michael |