Yealink Forums
Asterisk with T21P E2 provisioned - call problem - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: Phone specific topic (/forumdisplay.php?fid=12)
+---- Forum: T2xP Series (/forumdisplay.php?fid=21)
+---- Thread: Asterisk with T21P E2 provisioned - call problem (/showthread.php?tid=12305)



Asterisk with T21P E2 provisioned - call problem - mhterres - 01-29-2016 09:37 PM

Hi.

I'm provisioning some T21P E2 phones (firmware 52.80.0.3) using the same files that I already use with T21P phones (fireware X.72) but I'm having call problems.

Extensions can be registered, but when I try to call I received the following error in display:

call failed - forbidden

In Asterisk, I noticed the following messages:

[Jan 29 09:01:46] WARNING[2559][C-0000058e]: chan_sip.c:16393 check_auth: username mismatch, have <3257>, digest has <IP Phone>
[Jan 29 09:01:46] NOTICE[2559][C-0000058e]: chan_sip.c:25569 handle_request_invite: Failed to authenticate device "3257" <sip:3257@192.168.0.8:5060>;tag=2901584664

And in SIP packet I can confirm that digest username is wrong:

<--- SIP read from UDP:192.168.0.140:5060 --->
INVITE sip:3232@192.168.0.8:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.140:5060;branch=z9hG4bK2765055407
From: "3257" <sip:3257@192.168.0.8:5060>;tag=2901584664
To: <sip:3232@192.168.0.8:5060>
Call-ID: 0_3569350556@192.168.0.140
CSeq: 2 INVITE
Contact: <sip:3257@192.168.0.140:5060>
Authorization: Digest username="IP Phone", realm="", nonce="1801b82b", uri="sip:3232@192.168.0.8:5060", response="7cbb8fb8cd55261a44868fbb50434069", algorithm=MD5
Content-Type: application/sdp
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.3
Allow-Events: talk,hold,conference,refer,check-sync
Content-Length: 308

I didn't find this "IP Phone" string anywhere in my configs.

Anybody else is having this issue?

Or anybody else is using T21P E2 with firware X.80 provisioned with Asterisk and it's working fine?

Thanks,
Marcelo H. Terres
mhterres@gmail.com


RE: Asterisk with T21P E2 provisioned - call problem - Yealink_Michael - 01-30-2016 05:30 AM

hi

as 52.80.0.3 is really old firmware , so would you please kindly upgrade to the newest firmware and then reset to test again ?

firmware download link :

http://support.yealink.com/attachmentDownload/download?path=upload%2Fattachment%2F2015-8-7%2F6%2F369c6fda-c0f4-4816-a8ee-a6fe4d240f7b%2FT21P_E2-52.80.0.70.zip

TKS & BR

Michael
Holiday Note : Our office will be closed from 4th, Feb. 2016 to 14th, Feb, 2016 due to CNY holidays.


RE: Asterisk with T21P E2 provisioned - call problem - mhterres - 03-02-2016 02:02 AM

Hi.

I upgraded the firmware as you told me.

Using T21P_E2
Firmware Version 52.80.0.95
Hardware Version 52.0.0.0.0.0.0

But problem persists:

[Mar 1 14:09:52] WARNING[2442][C-0000022b] chan_sip.c: username mismatch, have <3258>, digest has <IP Phone>
[Mar 1 14:09:52] NOTICE[2442][C-0000022b] chan_sip.c: Failed to authenticate device "3258" <sip:3258@192.168.0.8:5060>;tag=3352111893

Just after factory reset, provisioning works and I can call, but after telephone is rebooted the problem starts again.

Another info: I'm using the same provisioning with T19P_E2 with 53.80.0.70 and I can't reproduce the problem.

Regards,

Regards,
Marcelo Terres