<div dir="ltr"><div><div>Possibly the realm? <br><br></div>Thanks,<br></div>Steve<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 2, 2017 at 3:58 AM, O. Hartmann <span dir="ltr"><<a href="mailto:ohartmann@walstatt.org" target="_blank">ohartmann@walstatt.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
It might sound stupid and a kind of "noobish", but I have serious trouble with<br>
registering one of my ITSP to Asterisk 13, running on a FreeBSD 12-CURRENT box.<br>
<br>
The following is seen in the log and anything seems somehow "normal", my PBX tries to<br>
REGISTER, receives 401, and then .... nothing more!<br>
<br>
I can't see why the REGISTER attempt dies that early (reason?). The only hint is:<br>
<br>
SIP/2.0 401 Unauthorized 1103003032F<br>
<br>
Can someone shed some light/help onto this?<br>
<br>
Thanks in advance,<br>
<br>
Oliver<br>
<br>
[...]<br>
[Sep 1 17:32:06] VERBOSE[100189] res_pjsip_logger.c: <--- Transmitting SIP request (829<br>
bytes) to UDP:<a href="http://213.20.127.47:5060" rel="noreferrer" target="_blank">213.20.127.47:5060</a> ---> REGISTER sip:<a href="http://sip.alice-voip.de" rel="noreferrer" target="_blank">sip.alice-voip.de</a> SIP/2.0<br>
Via: SIP/2.0/UDP<br>
XXX.XXX.XXX.XXX:5060;rport;<wbr>branch=<wbr>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<wbr>XXXXXXXXXX From:<br>
<<a href="mailto:sip%3A491234567890@sip.alice-voip.de">sip:491234567890@sip.alice-<wbr>voip.de</a>>;tag=<wbr>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<wbr>XXXXXX To:<br>
<<a href="mailto:sip%3A491234567890@sip.alice-voip.de">sip:491234567890@sip.alice-<wbr>voip.de</a>> Call-ID: yxyxyxyxyxyxyxyxyxyxyxyxyxyxy<br>
CSeq: 15095 REGISTER<br>
Contact: <sip:491234567890@XXX.XXX.XXX.<wbr>XXX:5060><br>
Expires: 1800<br>
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK,<br>
REGISTER, REFER, MESSAGE Max-Forwards: 70<br>
User-Agent: Asterisk13<br>
Authorization: Digest username="491234567890", realm="<a href="http://ims.telefonica.de" rel="noreferrer" target="_blank">ims.telefonica.de</a>",<br>
nonce="<wbr>xxxxxxxxxxxxxxxxxxxxxxxxxxx", uri="sip:<a href="http://sip.alice-voip.de" rel="noreferrer" target="_blank">sip.alice-voip.de</a>",<br>
response="<wbr>186x11yd22424424EDQb11133315b4<wbr>4ff1", algorithm=MD5,<br>
cnonce="<wbr>BasjdasKFHKbfhhfkjhfjkSGHF", qop=auth, nc=00000001 Content-Length: 0<br>
<br>
<br>
[Sep 1 17:32:06] VERBOSE[100188] res_pjsip_logger.c: <--- Received SIP response (589<br>
bytes) from UDP:<a href="http://213.20.127.47:5060" rel="noreferrer" target="_blank">213.20.127.47:5060</a> ---> SIP/2.0 401 Unauthorized 1103003032F<br>
Via: SIP/2.0/UDP<br>
XXX.XXX.XXX.XXX:5060;received=<wbr>XXX.XXX.XXX.XXX;rport=5060;<wbr>branch=<wbr>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<wbr>xxxxxxxxx<br>
To: <<a href="mailto:sip%3A491234567890@sip.alice-voip.de">sip:491234567890@sip.alice-<wbr>voip.de</a>>;tag=<wbr>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<wbr>xxxxxxxxx<br>
From: <<a href="mailto:sip%3A491234567890@sip.alice-voip.de">sip:491234567890@sip.alice-<wbr>voip.de</a>>;tag=<wbr>yyyyyyyyyyyyyyyyyyyyyyyyyyyyy Call-ID:<br>
yxyxyxyxyxyxyxyxyxyxyxyxyxyxy CSeq: 15095 REGISTER<br>
Service-Route: <sip:<a href="tel:213.20.127.47" value="+12132012747">213.20.127.47</a>:5060;transport=udp;lr><br>
WWW-Authenticate: Digest<br>
realm="<a href="http://ims.telefonica.de" rel="noreferrer" target="_blank">ims.telefonica.de</a>",<wbr>nonce="<wbr>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<wbr>xxxx",algorithm=MD5,qop="auth"<br>
Content-Length: 0<br>
<br>
[Sep 1 17:32:06] WARNING[100189] res_pjsip_outbound_<wbr>registration.c: Temporal response<br>
'401' received from 'sip:<a href="http://sip.alice-voip.de" rel="noreferrer" target="_blank">sip.alice-voip.de</a>' on registration attempt to<br>
'<a href="mailto:sip%3A491234567890@sip.alice-voip.de">sip:491234567890@sip.alice-<wbr>voip.de</a>', retrying in '30'<br>
<br>
[...]<br>
<br>
<br>--<br>
______________________________<wbr>______________________________<wbr>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.<wbr>org/</a><br>
<br>
New to Asterisk? Start here:<br>
      <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/<wbr>wiki/display/AST/Getting+<wbr>Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/<wbr>mailman/listinfo/asterisk-<wbr>users</a><br></blockquote></div><br></div>