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: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 !
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 !