[asterisk-users] Received REGISTER response 401(Unauthorized 1103003032F)

O. Hartmann ohartmann at walstatt.org
Sat Sep 2 02:58:09 CDT 2017


It might sound stupid and a kind of "noobish", but I have serious trouble with
registering one of my ITSP to Asterisk 13, running on a FreeBSD 12-CURRENT box.

The following is seen in the log and anything seems somehow "normal", my PBX tries to
REGISTER, receives 401, and then .... nothing more!

I can't see why the REGISTER attempt dies that early (reason?). The only hint is:

SIP/2.0 401 Unauthorized 1103003032F

Can someone shed some light/help onto this?

Thanks in advance,

Oliver

[...]
[Sep 1 17:32:06] VERBOSE[100189] res_pjsip_logger.c: <--- Transmitting SIP request (829
bytes) to UDP:213.20.127.47:5060 ---> REGISTER sip:sip.alice-voip.de SIP/2.0
Via: SIP/2.0/UDP
XXX.XXX.XXX.XXX:5060;rport;branch=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX From:
<sip:491234567890 at sip.alice-voip.de>;tag=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX To:
<sip:491234567890 at sip.alice-voip.de> Call-ID: yxyxyxyxyxyxyxyxyxyxyxyxyxyxy
CSeq: 15095 REGISTER
Contact: <sip:491234567890 at XXX.XXX.XXX.XXX:5060>
Expires: 1800
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK,
REGISTER, REFER, MESSAGE Max-Forwards: 70
User-Agent: Asterisk13
Authorization: Digest username="491234567890", realm="ims.telefonica.de",
nonce="xxxxxxxxxxxxxxxxxxxxxxxxxxx", uri="sip:sip.alice-voip.de",
response="186x11yd22424424EDQb11133315b44ff1", algorithm=MD5,
cnonce="BasjdasKFHKbfhhfkjhfjkSGHF", qop=auth, nc=00000001 Content-Length: 0


[Sep 1 17:32:06] VERBOSE[100188] res_pjsip_logger.c: <--- Received SIP response (589
bytes) from UDP:213.20.127.47:5060 ---> SIP/2.0 401 Unauthorized 1103003032F
Via: SIP/2.0/UDP
XXX.XXX.XXX.XXX:5060;received=XXX.XXX.XXX.XXX;rport=5060;branch=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
To: <sip:491234567890 at sip.alice-voip.de>;tag=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
From: <sip:491234567890 at sip.alice-voip.de>;tag=yyyyyyyyyyyyyyyyyyyyyyyyyyyyy Call-ID:
yxyxyxyxyxyxyxyxyxyxyxyxyxyxy CSeq: 15095 REGISTER
Service-Route: <sip:213.20.127.47:5060;transport=udp;lr>
WWW-Authenticate: Digest
realm="ims.telefonica.de",nonce="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",algorithm=MD5,qop="auth"
Content-Length: 0

[Sep 1 17:32:06] WARNING[100189] res_pjsip_outbound_registration.c: Temporal response
'401' received from 'sip:sip.alice-voip.de' on registration attempt to
'sip:491234567890 at sip.alice-voip.de', retrying in '30'

[...] 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 313 bytes
Desc: OpenPGP digital signature
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170902/ca7471c9/attachment.pgp>


More information about the asterisk-users mailing list