Yealink Forums
Problem with registering T21P E2 with autoprovision - 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: Problem with registering T21P E2 with autoprovision (/showthread.php?tid=23928)



Problem with registering T21P E2 with autoprovision - Dimitry - 09-14-2016 04:07 PM

Hi.
I,ve bought ip-phone T21P E2. And I have problem with registering my phone when I use autoprovision server via tftp.
I've configured dhcp server with option 43 - tftp://192.168.77.2/yealink/ and upload provision files:
001565af1bec.cfg
Code:
#!version:1.0.0.1
voice.tone.country = Russia
phone_setting.ring_type = Ring2.wav
phone_setting.backlight_time = 15
phone_setting.called_party_info_display.enable = 0
phone_setting.call_info_display_method = 0
auto_provision.pnp_enable = 0
redirect.enable = 0
security.user_password = admin:12345
lang.gui = Russian
lang.wui = Russian
local_time.time_zone = +3
local_time.time_zone_name = Russia(Moscow)
local_time.dhcp_time = 1

y000000000052.cfg
Code:
#!version:1.0.0.1
account.1.enable = 1
account.1.label = 2006
account.1.display_name = mtdir
accaunt.1.password = 123456
account.1.user_name = 2006
account.1.auth_name = 2006
account.1.sip_server.1.address = 192.168.77.2
account.1.sip_server_host.legacy = 192.168.77.2

After reboot, all configurations are applied except account password. Instead my username (<2006>), phone send Digest username="IP Phone".There is debug of asterisk server:
Code:
<--- SIP read from UDP:192.168.77.12:5060 --->
REGISTER sip:192.168.77.2:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.77.12:5060;branch=z9hG4bK3155993431
From: "mtdir" <sip:2006@192.168.77.2:5060>;tag=2142118534
To: "mtdir" <sip:2006@192.168.77.2:5060>
Call-ID: 0_4016677577@192.168.77.12
CSeq: 2 REGISTER
Contact: <sip:2006@192.168.77.12:5060>
Authorization: Digest username="IP Phone", realm="asterisk", nonce="4b728937", uri="sip:192.168.77.2:5060", response="08b57f929050dd4dd299e39a95710ad9", algorithm=MD5
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Max-Forwards: 70
User-Agent: Yealink SIP-T21P_E2 52.80.0.130
Expires: 3600
Allow-Events: talk,hold,conference,refer,check-sync
Content-Length: 0

After that, I configure account password by hand via web interface and my phone successfully registered on server.
It is bug of auto provisioning mechanism?

Firmare version: 52.80.0.130
Debug files in attachment.

Thanks.


RE: Problem with registering T21P E2 with autoprovision - Dimitry - 09-16-2016 08:26 PM

Anybody?


RE: Problem with registering T21P E2 with autoprovision - Dimitry - 09-19-2016 08:31 PM

Sorry! My spelling mistake in
accaunt.1.password = 123456
Correct version:
account.1.password = 123456