[asterisk-users] Received REGISTER response 401(Unauthorized 1103003032F)
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= From: ;tag= To: Call-ID: yxyxyxyxyxyxyxyxyxyxyxyxyxyxy CSeq: 15095 REGISTER Contact: 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="xxx", uri="sip:sip.alice-voip.de", response="186x11yd22424424EDQb11133315b44ff1", algorithm=MD5, cnonce="BasjdasKFHKbfhhfkjhfjkSGHF", qop=auth, nc=0001 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=xxx To: ;tag=xxx From: ;tag=y Call-ID: yxyxyxyxyxyxyxyxyxyxyxyxyxyxy CSeq: 15095 REGISTER Service-Route: WWW-Authenticate: Digest realm="ims.telefonica.de",nonce="xx",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:491234567...@sip.alice-voip.de', retrying in '30' [...] pgpAZOa4lwUQh.pgp Description: OpenPGP digital signature -- _ -- 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
Re: [asterisk-users] Received REGISTER response 401(Unauthorized 1103003032F)
Am Sat, 2 Sep 2017 09:58:09 +0200 "O. Hartmann" schrieb: Is this question to "blunt" for this forum? The background is, that I have two ITSP providing VoIP. One works with Asterisk 13 like a charme, but the other one not. This specific ITSP claims that they've provided me with all the necessary informations - comprised from registrar, username, password and SIP server. nothing more. The working one did the same, and it worked. Now I need to figure out what is wrong. I suspect the password, but before pressing charges, I need to know some more proof ... So far thanks. oh > 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= > From: > ;tag= > To: > Call-ID: yxyxyxyxyxyxyxyxyxyxyxyxyxyxy > CSeq: 15095 REGISTER > Contact: > 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="xxx", uri="sip:sip.alice-voip.de", > response="186x11yd22424424EDQb11133315b44ff1", algorithm=MD5, > cnonce="BasjdasKFHKbfhhfkjhfjkSGHF", qop=auth, nc=0001 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=xxx > To: > ;tag=xxx > From: ;tag=y > Call-ID: > yxyxyxyxyxyxyxyxyxyxyxyxyxyxy CSeq: 15095 REGISTER > Service-Route: > WWW-Authenticate: Digest > realm="ims.telefonica.de",nonce="xx",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:491234567...@sip.alice-voip.de', retrying in '30' > > [...] > pgpmRhyDIoURW.pgp Description: OpenPGP digital signature -- _ -- 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
Re: [asterisk-users] Received REGISTER response 401(Unauthorized 1103003032F)
On 09/02/2017 06:36 PM, O. Hartmann wrote: Is this question to "blunt" for this forum? No, But it is a holiday weekend in the States. Doug -- _ -- 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
Re: [asterisk-users] Received REGISTER response 401(Unauthorized 1103003032F)
Possibly the realm? Thanks, Steve On Sat, Sep 2, 2017 at 3:58 AM, O. Hartmann 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= > From: > ;tag= > To: > Call-ID: > yxyxyxyxyxyxyxyxyxyxyxyxyxyxy > CSeq: 15095 REGISTER > Contact: > 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="xxx", uri="sip:sip.alice-voip.de", > response="186x11yd22424424EDQb11133315b44ff1", algorithm=MD5, > cnonce="BasjdasKFHKbfhhfkjhfjkSGHF", qop=auth, nc=0001 > 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= > xxx > To: ;tag= > xxx > From: ;tag=y > Call-ID: > yxyxyxyxyxyxyxyxyxyxyxyxyxyxy CSeq: 15095 REGISTER > Service-Route: > WWW-Authenticate: Digest > realm="ims.telefonica.de",nonce="xx > ",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:491234567...@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 > -- _ -- 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