Yealink Forums

Full Version: T19 E2 sip
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I used Window X-lite to verify our Asterisk sip server.
It is no problem.

Then I use Yealink T19_E2(FW:53.82.0.20) 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 '192.168.11.200:5060' - Username/auth name mismatch



"sip.conf for Asterisk"
[general]
port=5060
bindaddr=0.0.0.0
context=unauthenticated
realm=asterisk
allowguest=no

[office-phone](!)
type=friend
context=my-phones
secret=abcdefgh
host=dynamic
disallow=all
allow=ulaw
allow=alaw

[6001](office-phone)
[6002](office-phone)



"setting for T19_E2"
[network]
static IP: 192.168.11.200
mask : 255.255.255.0
gateway : 192.168.11.254
[account]
Line active : enable
display name: 6002
user name : 6002
password : abcdefgh
SIP server : 192.168.11.27 port:5060

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

Rolleyes
Hi John,

failed for '192.168.11.200:5060' - 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,
Simons
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]
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?
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.

John[attachment=5032]
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:
http://support.yealink.com/documentFront...umentId=78

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

I upgrade the phone firmware from (FW:53.82.0.20) to (FW:53.83.0.35).
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.

BR,John
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.
OK.
I'll try it, thanks.
BR, John
Reference URL's