Yealink Forums

Full Version: Auto provision username and password
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I am having trouble with my T28P not appearing to send the auto provisioning username and password with the request. Is there a set of conditions which must exist before it sends the password (ie must be using https?). And what format do I expect the username and password to be arriving in (ie basic auth header)?

Thank you!
Pleaes let's know which version of your T28 is ,yealink latest version is 2.72.0.75 which you can download from Yealink website.
http://www.yealink.com/SupportDownloadfi...4&flag=142

normally if your provisioning server need user name and password to authenticate and you configure the user name and password in the phone, the phone will send the user name and password.
for example , your provisioning server is 10.2.1.199, the user name is wxh, pw is 2333,
you can configure the auto provisioning server url with http://wxh:233@10.2.1.199
or you can configure the user name for example wxh in the User Name and the password 233 in the password under Auto Provision->
Settings page.
please test and let us know if any question.
Thank you for your reply!

I am using version 2.72.0.75.

Have tried both http, https, username and password in the url and username / password set in the web interface but none of them seems to actually send anything useful.

When I have the Server URL as https://user:pass@192.168.3.50 I get the following log:

Code:
Aug 14 02:20:15 AUTP[941]: AUTP<6+info  > type = https,hostname = 192.168.3.50, username = user, psw = ******, port = -1
Aug 14 02:20:15 AUTP[941]: AUTP<6+info  > strCommName = [y000000000000.cfg]
Aug 14 02:20:15 LIBD[941]: HTTP<5+notice> URL : https://192.168.3.50/y000000000000.cfg
Aug 14 02:20:15 LIBD[941]: DCMN<6+info  > Connecting 192.168.3.50:443
Aug 14 02:20:15 LIBD[941]: DCMN<6+info  > Connecting IP = 192.168.3.50, Port = 443
Aug 14 02:20:15 LIBD[941]: HTTP<6+info  > Request Line: GET /y000000000000.cfg HTTP/1.1^M
Aug 14 02:20:15 LIBD[941]: HTTP<6+info  > Host: 192.168.3.50
Aug 14 02:20:15 LIBD[941]: HTTP<6+info  > User-Agent: Yealink SIP-T28P 2.72.0.75 00:15:65:4e:e6:47
Aug 14 02:20:15 LIBD[941]: HTTP<6+info  > process response

And I have confirmed using wireshark that the username and pass is not being sent.

Any ideas?
Please try another method to auto provision.
Acess to web GUI->Auto Provision->username:password. Add your username and password in the field. Like below picture.
[Image: attachment.php?aid=940]

thanks
I have already tried placing the username and password in the boxes provided, it has the same effect as placing it in the url. The log contains the correct username with a password of '****' but nothing ends up in the actual http request.
If you can see these infor in the log, it means that the phone had done http request to your server. So please check your HTTP server firstly.
1.please entry the URL into the browser address field and press ENTER button to confrim this URL whether can work or not.
2.If you confirm your URL is correct and can work, delete the username and password in your HTTP server and try again to confirm your server is OK.
Another great feature fail of V72, factory default it
use string http://username:password@serveraddres
then fill username and password again
i had the same issue
On the 1st GET request the credentials aren't sent. Your web server should reply with "401 Unauthorized", the phone will then make a 2nd GET request with the credentials. You should see this in the logs:

Aug 23 15:09:32 LIBD[347]: HTTP<6+info > Request Line: GET /y000000000004.cfg HTTP/1.1^M
Aug 23 15:09:32 LIBD[347]: HTTP<6+info > Host: 192.168.1.7:7999
Aug 23 15:09:32 LIBD[347]: HTTP<6+info > User-Agent: Yealink SIP-T26P 6.73.193.50 00:14:23:13:f0:ae
Aug 23 15:09:32 LIBD[347]: HTTP<6+info > process response
Aug 23 15:09:32 LIBD[347]: HTTP<5+notice> response code: 401
Reference URL's