Yealink Forums
T19 E2 sip - Printable Version

+- Yealink Forums (
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: Configuration (/forumdisplay.php?fid=24)
+--- Thread: T19 E2 sip (/showthread.php?tid=41963)

T19 E2 sip - John Chuang - 07-16-2018 12:41 AM

I used Window X-lite to verify our Asterisk sip server.
It is no problem.

Then I use Yealink T19_E2(FW: to replace the Window X-lite,
but it always shows =>

chan_sip.c:17266 check_auth: username mismath, have <6002>, digest has <IP Phone>
chan_sip.c:28691 handle_request_regsietr: registration from'"6002" <sip:6002@912.268.11.27:5060>'
failed for '' - Username/auth name mismatch

"sip.conf for Asterisk"



"setting for T19_E2"
static IP:
mask :
gateway :
Line active : enable
display name: 6002
user name : 6002
password : abcdefgh
SIP server : port:5060

What should I do ? Is it a bug ? Please advise !


RE: T19 E2 sip - Simons_Yealink - 07-17-2018 03:38 AM

Hi John,

failed for '' - Username/auth name mismatch,

1. It means that the iphone did send a request to server to register, but the username was not recognized by the server. So please check if the authentication carried with phone is correct?
2. And register name is a required field, the account cannot register without it.

Best Regards,

RE: T19 E2 sip - John Chuang - 07-17-2018 06:20 AM

Dear Simons,

The X-lite was no problem. So I think the problem may be on T19 E2.
The attached file is the account setup screen.

I think the issue may be caused by the warning "digest has <IP Phone>".
But I don't know how to fix it or circumvent it.

The Asterisk SIP server did not show the following warning when connected with X-lite.

WARNING[12404]: chan_sip.c:17266 check_auth: username mismath, have <6002>, digest has <IP Phone>

Please help ![attachment=5030]

RE: T19 E2 sip - jolouis - 07-18-2018 02:23 PM

Run a packet trace or pcap on the phone and post the results so Yealink can see exactly what SIP packets are being sent from phone to server and back again. From your description it looks like something is mangling them and Asterisk is getting the wrong info.

Are there any other devices on the network between the Yealink phone and the Asterisk server? i.e. modem/router, firewall, etc?

RE: T19 E2 sip - John Chuang - 07-19-2018 07:22 AM

The yealink device is in the same subnet with Asterisk SIP server(no firewall, modem,router in between).
I capture the packets. please see the attached file.

The top picture is for X-lite(this work fine) and the bottom picture is for Yealink T19E2.
I think the "Digest username" field should be "6002" not "IP phone" for Yealink T19E2.


RE: T19 E2 sip - jolouis - 07-19-2018 03:57 PM

Yea that definitely looks buggy, I'm with you Yealink phone is sending the wrong info in the packets.

Try upgrading to the lastest firmware:

Hopefully it's a bug that has been squashed long ago and firmware update will resolve the issue.

RE: T19 E2 sip - John Chuang - 07-20-2018 02:56 AM

Dear Jolouis,

I upgrade the phone firmware from (FW: to (FW:
Reboot it and check.
But Asterisk SIP server still got the same error.
The packet captured still showed username="IP phone".

It seems nothing changed.


RE: T19 E2 sip - jolouis - 07-20-2018 12:48 PM

Very odd. Only other thing I can suggest is trying doing a complete factory reset (press and hold OK button on phone for 30 seconds until prompt shows up). After reset, try configuring your account information again.

If that does not resolve it then you will have to open a support ticket on the ticketing system and possibly get the thing replaced.

RE: T19 E2 sip - John Chuang - 07-23-2018 06:16 AM

I'll try it, thanks.
BR, John