SIP/2.0 401 Unauthorized after random minuts

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Support, Moderator

SIP/2.0 401 Unauthorized after random minuts

Postby nathann » Sun Jun 10, 2012 3:24 pm

Hello,
I'm having issues with my Motorola VT2542 router. I successfully register to Asterisk but randomly after few minuts (or hours)

I got SIP/2.0 401 Unauthorized message, I don't know why I got this message, I tried to change NAT = yes and change the value of qualifyfreq but still same problem...

Is there any parameter to change else?

This is my sip trace on the router:

2002:9:8:14:31 SSMU: ---} Message Sent: Sent to Addr=88.190.40.67:5060, UDP
REGISTER sip:88.190.40.67;transport=UDP SIP/2.0
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a0f00-28fea59-13c4-3d7b5f3f-443f3b63-3d7b5f3f
To: {sip:0427000027@88.190.40.67;transport=UDP}
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 375 REGISTER
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5f3f-29ec11c3-265cd9b0
Max-Forwards: 70
Supported: replaces,timer,100rel
User-Agent: VT2542
Contact: {sip:0427000027@89.234.143.2:5060;transport=UDP}
Expires: 60
Content-Length: 0



2002:9:8:14:31 SSMU: {--- Message Received: Received from addr=88.190.40.67:5060, UDP
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5f3f-29ec11c3-265cd9b0;received=89.234.143.2;rport=5060
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a0f00-28fea59-13c4-3d7b5f3f-443f3b63-3d7b5f3f
To: {sip:0427000027@88.190.40.67;transport=UDP};tag=as39f0260b
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 375 REGISTER
Server: FPBX-2.10.0(1.8.12.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="03c43ca9"
Content-Length: 0



2002:9:8:14:31 SSMU: ---} Message Sent: Sent to Addr=88.190.40.67:5060, UDP
REGISTER sip:88.190.40.67;transport=UDP SIP/2.0
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a0f00-28fea59-13c4-3d7b5f3f-443f3b63-3d7b5f3f
To: {sip:0427000027@88.190.40.67;transport=UDP}
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 376 REGISTER
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5f3f-29ec11e1-2e341bb9
Max-Forwards: 70
Supported: replaces,timer,100rel
User-Agent: VT2542
Contact: {sip:0427000027@89.234.143.2:5060;transport=UDP}
Expires: 60
Authorization: Digest username="0427000027",realm="asterisk",nonce="03c43ca9",uri="sip:88.190.40.67;transport=UDP",response="1af644feaff7b7dedf88f414c08a9844",algorithm=MD5
Content-Length: 0



2002:9:8:14:31 SSMU: {--- Message Received: Received from addr=88.190.40.67:5060, UDP
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5f3f-29ec11e1-2e341bb9;received=89.234.143.2;rport=5060
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a0f00-28fea59-13c4-3d7b5f3f-443f3b63-3d7b5f3f
To: {sip:0427000027@88.190.40.67;transport=UDP};tag=as01e4ce53
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 376 REGISTER
Server: FPBX-2.10.0(1.8.12.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="0e810883", stale=true
Content-Length: 0



2002:9:8:14:31 SSMU: ---} Message Sent: Sent to Addr=88.190.40.67:5060, UDP
REGISTER sip:88.190.40.67;transport=UDP SIP/2.0
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a1270-28fea59-13c4-3d7b5f53-68c5ab6f-3d7b5f53
To: {sip:0427000027@88.190.40.67;transport=UDP}
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 377 REGISTER
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5f53-29ec601f-5f0636cc
Max-Forwards: 70
Supported: replaces,timer,100rel
User-Agent: VT2542
Contact: {sip:0427000027@89.234.143.2:5060;transport=UDP}
Expires: 60
Content-Length: 0



2002:9:8:14:31 SSMU: {--- Message Received: Received from addr=88.190.40.67:5060, UDP
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5f53-29ec601f-5f0636cc;received=89.234.143.2;rport=5060
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a1270-28fea59-13c4-3d7b5f53-68c5ab6f-3d7b5f53
To: {sip:0427000027@88.190.40.67;transport=UDP};tag=as1c9a957b
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 377 REGISTER
Server: FPBX-2.10.0(1.8.12.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="12e1e83f"
Content-Length: 0



2002:9:8:14:31 SSMU: ---} Message Sent: Sent to Addr=88.190.40.67:5060, UDP
REGISTER sip:88.190.40.67;transport=UDP SIP/2.0
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a1270-28fea59-13c4-3d7b5f53-68c5ab6f-3d7b5f53
To: {sip:0427000027@88.190.40.67;transport=UDP}
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 378 REGISTER
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5f54-29ec6033-14ff8085
Max-Forwards: 70
Supported: replaces,timer,100rel
User-Agent: VT2542
Contact: {sip:0427000027@89.234.143.2:5060;transport=UDP}
Expires: 60
Authorization: Digest username="0427000027",realm="asterisk",nonce="12e1e83f",uri="sip:88.190.40.67;transport=UDP",response="509cac6961a53e01dafdad917bd4ec2d",algorithm=MD5
Content-Length: 0



2002:9:8:14:31 SSMU: {--- Message Received: Received from addr=88.190.40.67:5060, UDP
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5f54-29ec6033-14ff8085;received=89.234.143.2;rport=5060
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a1270-28fea59-13c4-3d7b5f53-68c5ab6f-3d7b5f53
To: {sip:0427000027@88.190.40.67;transport=UDP};tag=as01e4ce53
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 378 REGISTER
Server: FPBX-2.10.0(1.8.12.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="0e810883", stale=true
Content-Length: 0



2002:9:8:14:32 SSMU: ---} Message Sent: Sent to Addr=88.190.40.67:5060, UDP
REGISTER sip:88.190.40.67;transport=UDP SIP/2.0
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a15e0-28fea59-13c4-3d7b5f68-281090fb-3d7b5f68
To: {sip:0427000027@88.190.40.67;transport=UDP}
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 379 REGISTER
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5f68-29ecae71-3a229b68
Max-Forwards: 70
Supported: replaces,timer,100rel
User-Agent: VT2542
Contact: {sip:0427000027@89.234.143.2:5060;transport=UDP}
Expires: 60
Content-Length: 0



2002:9:8:14:32 SSMU: {--- Message Received: Received from addr=88.190.40.67:5060, UDP
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5f68-29ecae71-3a229b68;received=89.234.143.2;rport=5060
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a15e0-28fea59-13c4-3d7b5f68-281090fb-3d7b5f68
To: {sip:0427000027@88.190.40.67;transport=UDP};tag=as32954146
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 379 REGISTER
Server: FPBX-2.10.0(1.8.12.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="2fed4dc7"
Content-Length: 0



2002:9:8:14:32 SSMU: ---} Message Sent: Sent to Addr=88.190.40.67:5060, UDP
REGISTER sip:88.190.40.67;transport=UDP SIP/2.0
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a15e0-28fea59-13c4-3d7b5f68-281090fb-3d7b5f68
To: {sip:0427000027@88.190.40.67;transport=UDP}
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 380 REGISTER
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5f68-29ecae8f-7a2132d1
Max-Forwards: 70
Supported: replaces,timer,100rel
User-Agent: VT2542
Contact: {sip:0427000027@89.234.143.2:5060;transport=UDP}
Expires: 60
Authorization: Digest username="0427000027",realm="asterisk",nonce="2fed4dc7",uri="sip:88.190.40.67;transport=UDP",response="dceb37b41b676ecaed3219b18744c6fa",algorithm=MD5
Content-Length: 0



2002:9:8:14:32 SSMU: {--- Message Received: Received from addr=88.190.40.67:5060, UDP
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5f68-29ecae8f-7a2132d1;received=89.234.143.2;rport=5060
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a15e0-28fea59-13c4-3d7b5f68-281090fb-3d7b5f68
To: {sip:0427000027@88.190.40.67;transport=UDP};tag=as01e4ce53
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 380 REGISTER
Server: FPBX-2.10.0(1.8.12.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="0e810883", stale=true
Content-Length: 0



2002:9:8:14:32 SSMU: ---} Message Sent: Sent to Addr=88.190.40.67:5060, UDP
REGISTER sip:88.190.40.67;transport=UDP SIP/2.0
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a1950-28fea59-13c4-3d7b5f7c-6c891c07-3d7b5f7c
To: {sip:0427000027@88.190.40.67;transport=UDP}
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 381 REGISTER
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5f7c-29ecfccd-331b7784
Max-Forwards: 70
Supported: replaces,timer,100rel
User-Agent: VT2542
Contact: {sip:0427000027@89.234.143.2:5060;transport=UDP}
Expires: 60
Content-Length: 0



2002:9:8:14:32 SSMU: {--- Message Received: Received from addr=88.190.40.67:5060, UDP
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5f7c-29ecfccd-331b7784;received=89.234.143.2;rport=5060
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a1950-28fea59-13c4-3d7b5f7c-6c891c07-3d7b5f7c
To: {sip:0427000027@88.190.40.67;transport=UDP};tag=as38b0be3a
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 381 REGISTER
Server: FPBX-2.10.0(1.8.12.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="6847eef5"
Content-Length: 0



2002:9:8:14:32 SSMU: ---} Message Sent: Sent to Addr=88.190.40.67:5060, UDP
REGISTER sip:88.190.40.67;transport=UDP SIP/2.0
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a1950-28fea59-13c4-3d7b5f7c-6c891c07-3d7b5f7c
To: {sip:0427000027@88.190.40.67;transport=UDP}
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 382 REGISTER
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5f7c-29ecfce1-3d65629d
Max-Forwards: 70
Supported: replaces,timer,100rel
User-Agent: VT2542
Contact: {sip:0427000027@89.234.143.2:5060;transport=UDP}
Expires: 60
Authorization: Digest username="0427000027",realm="asterisk",nonce="6847eef5",uri="sip:88.190.40.67;transport=UDP",response="45a4108faa90b11188fdb06b30a8fd5b",algorithm=MD5
Content-Length: 0



2002:9:8:14:32 SSMU: {--- Message Received: Received from addr=88.190.40.67:5060, UDP
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5f7c-29ecfce1-3d65629d;received=89.234.143.2;rport=5060
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a1950-28fea59-13c4-3d7b5f7c-6c891c07-3d7b5f7c
To: {sip:0427000027@88.190.40.67;transport=UDP};tag=as01e4ce53
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 382 REGISTER
Server: FPBX-2.10.0(1.8.12.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="0e810883", stale=true
Content-Length: 0



2002:9:8:14:32 SSMU: ---} Message Sent: Sent to Addr=88.190.40.67:5060, UDP
REGISTER sip:88.190.40.67;transport=UDP SIP/2.0
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a1cc0-28fea59-13c4-3d7b5f90-7e8e7c93-3d7b5f90
To: {sip:0427000027@88.190.40.67;transport=UDP}
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 383 REGISTER
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5f90-29ed4b1f-3b183b20
Max-Forwards: 70
Supported: replaces,timer,100rel
User-Agent: VT2542
Contact: {sip:0427000027@89.234.143.2:5060;transport=UDP}
Expires: 60
Content-Length: 0



2002:9:8:14:32 SSMU: {--- Message Received: Received from addr=88.190.40.67:5060, UDP
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5f90-29ed4b1f-3b183b20;received=89.234.143.2;rport=5060
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a1cc0-28fea59-13c4-3d7b5f90-7e8e7c93-3d7b5f90
To: {sip:0427000027@88.190.40.67;transport=UDP};tag=as02d4280f
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 383 REGISTER
Server: FPBX-2.10.0(1.8.12.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="19e61270"
Content-Length: 0



2002:9:8:14:32 SSMU: ---} Message Sent: Sent to Addr=88.190.40.67:5060, UDP
REGISTER sip:88.190.40.67;transport=UDP SIP/2.0
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a1cc0-28fea59-13c4-3d7b5f90-7e8e7c93-3d7b5f90
To: {sip:0427000027@88.190.40.67;transport=UDP}
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 384 REGISTER
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5f90-29ed4b33-5ee3fe9
Max-Forwards: 70
Supported: replaces,timer,100rel
User-Agent: VT2542
Contact: {sip:0427000027@89.234.143.2:5060;transport=UDP}
Expires: 60
Authorization: Digest username="0427000027",realm="asterisk",nonce="19e61270",uri="sip:88.190.40.67;transport=UDP",response="26b98d51f7608061395f5fe3db013996",algorithm=MD5
Content-Length: 0



2002:9:8:14:32 SSMU: {--- Message Received: Received from addr=88.190.40.67:5060, UDP
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5f90-29ed4b33-5ee3fe9;received=89.234.143.2;rport=5060
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a1cc0-28fea59-13c4-3d7b5f90-7e8e7c93-3d7b5f90
To: {sip:0427000027@88.190.40.67;transport=UDP};tag=as01e4ce53
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 384 REGISTER
Server: FPBX-2.10.0(1.8.12.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="0e810883", stale=true
Content-Length: 0



2002:9:8:14:33 SSMU: ---} Message Sent: Sent to Addr=88.190.40.67:5060, UDP
REGISTER sip:88.190.40.67;transport=UDP SIP/2.0
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a2710-28fea59-13c4-3d7b5fa4-d35e29f-3d7b5fa4
To: {sip:0427000027@88.190.40.67;transport=UDP}
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 385 REGISTER
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5fa4-29ed9971-72be563c
Max-Forwards: 70
Supported: replaces,timer,100rel
User-Agent: VT2542
Contact: {sip:0427000027@89.234.143.2:5060;transport=UDP}
Expires: 60
Content-Length: 0



2002:9:8:14:33 SSMU: {--- Message Received: Received from addr=88.190.40.67:5060, UDP
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5fa4-29ed9971-72be563c;received=89.234.143.2;rport=5060
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a2710-28fea59-13c4-3d7b5fa4-d35e29f-3d7b5fa4
To: {sip:0427000027@88.190.40.67;transport=UDP};tag=as16974fc7
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 385 REGISTER
Server: FPBX-2.10.0(1.8.12.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="100e7ad8"
Content-Length: 0



2002:9:8:14:33 SSMU: ---} Message Sent: Sent to Addr=88.190.40.67:5060, UDP
REGISTER sip:88.190.40.67;transport=UDP SIP/2.0
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a2710-28fea59-13c4-3d7b5fa4-d35e29f-3d7b5fa4
To: {sip:0427000027@88.190.40.67;transport=UDP}
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 386 REGISTER
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5fa4-29ed998f-16f3fab5
Max-Forwards: 70
Supported: replaces,timer,100rel
User-Agent: VT2542
Contact: {sip:0427000027@89.234.143.2:5060;transport=UDP}
Expires: 60
Authorization: Digest username="0427000027",realm="asterisk",nonce="100e7ad8",uri="sip:88.190.40.67;transport=UDP",response="ba5ab8e87153ac13aa3c7a6e08eb3967",algorithm=MD5
Content-Length: 0



2002:9:8:14:33 SSMU: {--- Message Received: Received from addr=88.190.40.67:5060, UDP
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5fa4-29ed998f-16f3fab5;received=89.234.143.2;rport=5060
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a2710-28fea59-13c4-3d7b5fa4-d35e29f-3d7b5fa4
To: {sip:0427000027@88.190.40.67;transport=UDP};tag=as01e4ce53
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 386 REGISTER
Server: FPBX-2.10.0(1.8.12.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="0e810883", stale=true
Content-Length: 0



2002:9:8:14:33 SSMU: ---} Message Sent: Sent to Addr=88.190.40.67:5060, UDP
REGISTER sip:88.190.40.67;transport=UDP SIP/2.0
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a23a0-28fea59-13c4-3d7b5fb8-f0a7e2b-3d7b5fb8
To: {sip:0427000027@88.190.40.67;transport=UDP}
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 387 REGISTER
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5fb8-29ede7cd-5bf138d8
Max-Forwards: 70
Supported: replaces,timer,100rel
User-Agent: VT2542
Contact: {sip:0427000027@89.234.143.2:5060;transport=UDP}
Expires: 60
Content-Length: 0



2002:9:8:14:33 SSMU: {--- Message Received: Received from addr=88.190.40.67:5060, UDP
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5fb8-29ede7cd-5bf138d8;received=89.234.143.2;rport=5060
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a23a0-28fea59-13c4-3d7b5fb8-f0a7e2b-3d7b5fb8
To: {sip:0427000027@88.190.40.67;transport=UDP};tag=as55b9b5a6
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 387 REGISTER
Server: FPBX-2.10.0(1.8.12.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="4339d523"
Content-Length: 0



2002:9:8:14:33 SSMU: ---} Message Sent: Sent to Addr=88.190.40.67:5060, UDP
REGISTER sip:88.190.40.67;transport=UDP SIP/2.0
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a23a0-28fea59-13c4-3d7b5fb8-f0a7e2b-3d7b5fb8
To: {sip:0427000027@88.190.40.67;transport=UDP}
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 388 REGISTER
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5fb8-29ede7e1-7c84c301
Max-Forwards: 70
Supported: replaces,timer,100rel
User-Agent: VT2542
Contact: {sip:0427000027@89.234.143.2:5060;transport=UDP}
Expires: 60
Authorization: Digest username="0427000027",realm="asterisk",nonce="4339d523",uri="sip:88.190.40.67;transport=UDP",response="8907adfd4a70060edd13f1df72c50452",algorithm=MD5
Content-Length: 0



2002:9:8:14:33 SSMU: {--- Message Received: Received from addr=88.190.40.67:5060, UDP
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5fb8-29ede7e1-7c84c301;received=89.234.143.2;rport=5060
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a23a0-28fea59-13c4-3d7b5fb8-f0a7e2b-3d7b5fb8
To: {sip:0427000027@88.190.40.67;transport=UDP};tag=as01e4ce53
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 388 REGISTER
Server: FPBX-2.10.0(1.8.12.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="0e810883", stale=true
Content-Length: 0



2002:9:8:14:33 SSMU: ---} Message Sent: Sent to Addr=88.190.40.67:5060, UDP
REGISTER sip:88.190.40.67;transport=UDP SIP/2.0
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a2030-28fea59-13c4-3d7b5fcc-7acd7f37-3d7b5fcc
To: {sip:0427000027@88.190.40.67;transport=UDP}
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 389 REGISTER
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5fcc-29ee361f-39252f4
Max-Forwards: 70
Supported: replaces,timer,100rel
User-Agent: VT2542
Contact: {sip:0427000027@89.234.143.2:5060;transport=UDP}
Expires: 60
Content-Length: 0



2002:9:8:14:33 SSMU: {--- Message Received: Received from addr=88.190.40.67:5060, UDP
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5fcc-29ee361f-39252f4;received=89.234.143.2;rport=5060
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a2030-28fea59-13c4-3d7b5fcc-7acd7f37-3d7b5fcc
To: {sip:0427000027@88.190.40.67;transport=UDP};tag=as756a29ce
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 389 REGISTER
Server: FPBX-2.10.0(1.8.12.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="208e0494"
Content-Length: 0



2002:9:8:14:33 SSMU: ---} Message Sent: Sent to Addr=88.190.40.67:5060, UDP
REGISTER sip:88.190.40.67;transport=UDP SIP/2.0
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a2030-28fea59-13c4-3d7b5fcc-7acd7f37-3d7b5fcc
To: {sip:0427000027@88.190.40.67;transport=UDP}
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 390 REGISTER
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5fcc-29ee363d-1044c8cd
Max-Forwards: 70
Supported: replaces,timer,100rel
User-Agent: VT2542
Contact: {sip:0427000027@89.234.143.2:5060;transport=UDP}
Expires: 60
Authorization: Digest username="0427000027",realm="asterisk",nonce="208e0494",uri="sip:88.190.40.67;transport=UDP",response="59d973669a1bf1bc4eb4991bec8b858c",algorithm=MD5
Content-Length: 0



2002:9:8:14:33 SSMU: {--- Message Received: Received from addr=88.190.40.67:5060, UDP
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 89.234.143.2:5060;branch=z9hG4bK-3d7b5fcc-29ee363d-1044c8cd;received=89.234.143.2;rport=5060
From: {sip:0427000027@88.190.40.67;transport=UDP};tag=101a2030-28fea59-13c4-3d7b5fcc-7acd7f37-3d7b5fcc
To: {sip:0427000027@88.190.40.67;transport=UDP};tag=as01e4ce53
Call-ID: 101abcf0-28fea59-13c4-3d7b3beb-3a4bd62a-3d7b3beb
CSeq: 390 REGISTER
Server: FPBX-2.10.0(1.8.12.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="0e810883", stale=true
Content-Length: 0
nathann
Newsterisk
 
Posts: 1
Joined: Sun Jun 10, 2012 3:10 pm

Re: SIP/2.0 401 Unauthorized after random minuts

Postby david55 » Mon Jun 11, 2012 12:40 am

Providing the trace as seen by Asterisk and with core debug set to at least 5 for chan_sip is likely to be more instructive, as it should tell you why Asterisk thinks the Register has problems with its authentication.
david55
Moves Like Spencer
 
Posts: 9731
Joined: Fri Sep 26, 2008 5:03 am


Return to Asterisk Support

Who is online

Users browsing this forum: david55 and 9 guests