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

Steve Totaro stotaro at totarotechnologies.com
Sat Sep 2 20:11:13 CDT 2017


Possibly the realm?

Thanks,
Steve

On Sat, Sep 2, 2017 at 3:58 AM, O. Hartmann <ohartmann at walstatt.org> wrote:

>
> 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="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> xxxx",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'
>
> [...]
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at: https://community.asterisk.
> org/
>
> New to Asterisk? Start here:
>       https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170902/bb241c7a/attachment.html>


More information about the asterisk-users mailing list