<div>Registrar is some Nortel software... </div><div><br></div><div>At first bad trace where uac_registrant can&#39;t register and state=6 with message in syslog &quot;Wrong credentials for&quot;:</div><div><br></div><div>
----------------------------</div><div> <a href="http://123.123.123.123:5099">123.123.123.123:5099</a> -&gt; <a href="http://222.222.222.222:5060">222.222.222.222:5060</a></div><div>REGISTER sip:<a href="http://registrant.com">registrant.com</a> SIP/2.0.</div>
<div>Via: SIP/2.0/UDP 123.123.123.123:5099;branch=z9hG4bK5c4e.fdef4832.0.</div><div>To: <a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>.</div><div>From: &lt;<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>&gt;;tag=d9430.</div>
<div>CSeq: 1 REGISTER.</div><div>Call-ID: 74f547c35287d7d9b6e874f6e72.</div><div>Max-Forwards: 70.</div><div>Content-Length: 0.</div><div>User-Agent: OpenSIPS (1.7.2-notls (x86_64/linux)).</div><div>Contact: &lt;<a href="http://sip:username1@123.123.123.123:5099">sip:username1@123.123.123.123:5099</a>&gt;;expires=160.</div>
<div>.</div><div><br></div><div>#</div><div>U <a href="http://222.222.222.222:5060">222.222.222.222:5060</a> -&gt; <a href="http://123.123.123.123:5099">123.123.123.123:5099</a></div><div>SIP/2.0 100 Trying.</div><div>From: &lt;<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>&gt;;tag=d9430.</div>
<div>To: &lt;<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>&gt;.</div><div>Call-ID: 74f547c35287d7d9b6e874f6e72.</div><div>CSeq: 1 REGISTER.</div><div>Via: SIP/2.0/UDP 123.123.123.123:5099;branch=z9hG4bK5c4e.fdef4832.0.</div>
<div>Content-Length: 0.</div><div>.</div><div><br></div><div>#</div><div>U <a href="http://222.222.222.222:5060">222.222.222.222:5060</a> -&gt; <a href="http://123.123.123.123:5099">123.123.123.123:5099</a></div><div>SIP/2.0 407 Proxy Authentication Required.</div>
<div>From: &lt;<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>&gt;;tag=d9430.</div><div>To: &lt;<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>&gt;;tag=1292017548.</div>
<div>Call-ID: 74f547c35287d7d9b6e874f6e72.</div><div>CSeq: 1 REGISTER.</div><div>Via: SIP/2.0/UDP 123.123.123.123:5099;branch=z9hG4bK5c4e.fdef4832.0.</div><div>supported: com.nortelnetworks.firewall,p-3rdpartycontrol,nosec,join.</div>
<div>proxy-authenticate: Digest realm=&quot;Realm&quot;,nonce=&quot;MTMzNzg0MTg5OTIwM2Y2YTFiN2JiMGUyNmQ0ZmM4MTAyMTBkYjIyNDI5NzJk&quot;,stale=false,algorithm=MD5,qop=&quot;auth,auth-int&quot;.</div><div>Content-Length: 0.</div>
<div>.</div><div><br></div><div>#</div><div>U <a href="http://123.123.123.123:5099">123.123.123.123:5099</a> -&gt; <a href="http://222.222.222.222:5060">222.222.222.222:5060</a></div><div>REGISTER sip:<a href="http://registrant.com">registrant.com</a> SIP/2.0.</div>
<div>Via: SIP/2.0/UDP 123.123.123.123:5099;branch=z9hG4bK2c4e.950290a6.0.</div><div>To: <a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>.</div><div>From: &lt;<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>&gt;;tag=d9430.</div>
<div>CSeq: 2 REGISTER.</div><div>Call-ID: 74f547c35287d7d9b6e874f6e72.</div><div>Max-Forwards: 70.</div><div>Content-Length: 0.</div><div>User-Agent: OpenSIPS (1.7.2-notls (x86_64/linux)).</div><div>Contact: &lt;<a href="http://sip:username1@123.123.123.123:5099">sip:username1@123.123.123.123:5099</a>&gt;;expires=160.</div>
<div>Proxy-Authorization: Digest username=&quot;username1&quot;, realm=&quot;Realm&quot;, nonce=&quot;MTMzNzg0MTg5OTIwM2Y2YTFiN2JiMGUyNmQ0ZmM4MTAyMTBkYjIyNDI5NzJk&quot;, uri=&quot;sip:<a href="http://registrant.com">registrant.com</a>&quot;, qop=auth, nc=00000001, cnonce=&quot;1085969230&quot;, response=&quot;0cffcc3c86879b06b7653d8b824c625d&quot;, algorithm=MD5.</div>
<div>.</div><div><br></div><div>#</div><div>U <a href="http://222.222.222.222:5060">222.222.222.222:5060</a> -&gt; <a href="http://123.123.123.123:5099">123.123.123.123:5099</a></div><div>SIP/2.0 100 Trying.</div><div>From: &lt;<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>&gt;;tag=d9430.</div>
<div>To: &lt;<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>&gt;.</div><div>Call-ID: 74f547c35287d7d9b6e874f6e72.</div><div>CSeq: 2 REGISTER.</div><div>Via: SIP/2.0/UDP 123.123.123.123:5099;branch=z9hG4bK2c4e.950290a6.0.</div>
<div>Content-Length: 0.</div><div>.</div><div><br></div><div>#</div><div>U <a href="http://222.222.222.222:5060">222.222.222.222:5060</a> -&gt; <a href="http://123.123.123.123:5099">123.123.123.123:5099</a></div><div>SIP/2.0 407 Proxy Authentication Required.</div>
<div>From: &lt;<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>&gt;;tag=d9430.</div><div>To: &lt;<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>&gt;;tag=1930837832.</div>
<div>Call-ID: 74f547c35287d7d9b6e874f6e72.</div><div>CSeq: 2 REGISTER.</div><div>Via: SIP/2.0/UDP 123.123.123.123:5099;branch=z9hG4bK2c4e.950290a6.0.</div><div>supported: com.nortelnetworks.firewall,p-3rdpartycontrol,nosec,join.</div>
<div>proxy-authenticate: Digest realm=&quot;Realm&quot;,nonce=&quot;MTMzNzg0MTg5OTIwM2Y2YTFiN2JiMGUyNmQ0ZmM4MTAyMTBkYjIyNDI5NzJk&quot;,stale=false,algorithm=MD5,qop=&quot;auth,auth-int&quot;.</div><div>Content-Length: 0.</div>
<div>----------------------------</div><div><br></div><div>Second trace shows as Asterisk successful register.</div><div><br></div><div>U <a href="http://123.123.123.123:5060">123.123.123.123:5060</a> -&gt; <a href="http://222.222.222.222:5060">222.222.222.222:5060</a></div>
<div>REGISTER sip:<a href="http://registrant.com">registrant.com</a> SIP/2.0.</div><div>Via: SIP/2.0/UDP 123.123.123.123:5060;branch=z9hG4bK2ca386fa;rport.</div><div>Max-Forwards: 70.</div><div>From: &lt;<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>&gt;;tag=as336b2c86.</div>
<div>To: &lt;<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>&gt;.</div><div>Call-ID: <a href="mailto:14a29ce01796964912ecb21b42f3b05c@123.123.123.123">14a29ce01796964912ecb21b42f3b05c@123.123.123.123</a>.</div>
<div>CSeq: 104 REGISTER.</div><div>User-Agent: Asterisk PBX 1.8.8.1-1digium1~squeeze.</div><div>Authorization: Digest username=&quot;username1&quot;, realm=&quot;Realm&quot;, algorithm=MD5, uri=&quot;sip:<a href="http://registrant.com">registrant.com</a>&quot;, nonce=&quot;MTMzNzg0MjAyMDMwMzhiZmEwODAxZmFlOTg2ZGJiNTFjYzVmYzgwMTE0Mjdj&quot;, response=&quot;8d11c83d7409ec062346f4c7ccf8ffed&quot;, qop=auth, cnonce=&quot;104d4c74&quot;, nc=00000002.</div>
<div>Expires: 60.</div><div>Contact: &lt;<a href="http://sip:123123@123.123.123.123:5060">sip:123123@123.123.123.123:5060</a>&gt;.</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div>#</div><div>U <a href="http://222.222.222.222:5060">222.222.222.222:5060</a> -&gt; <a href="http://123.123.123.123:5060">123.123.123.123:5060</a></div>
<div>SIP/2.0 100 Trying.</div><div>From: &lt;<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>&gt;;tag=as336b2c86.</div><div>To: &lt;<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>&gt;.</div>
<div>Call-ID: <a href="mailto:14a29ce01796964912ecb21b42f3b05c@123.123.123.123">14a29ce01796964912ecb21b42f3b05c@123.123.123.123</a>.</div><div>CSeq: 104 REGISTER.</div><div>Via: SIP/2.0/UDP 123.123.123.123:5060;rport=5060;branch=z9hG4bK2ca386fa.</div>
<div>Content-Length: 0.</div><div>.</div><div><br></div><div>#</div><div>U <a href="http://222.222.222.222:5060">222.222.222.222:5060</a> -&gt; <a href="http://123.123.123.123:5060">123.123.123.123:5060</a></div><div>SIP/2.0 200 Registration Successful.</div>
<div>From: &quot;username1 username1&quot;&lt;<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>&gt;;tag=as336b2c86.</div><div>To: &lt;<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>&gt;;tag=2120312459.</div>
<div>Call-ID: <a href="mailto:14a29ce01796964912ecb21b42f3b05c@123.123.123.123">14a29ce01796964912ecb21b42f3b05c@123.123.123.123</a>.</div><div>CSeq: 104 REGISTER.</div><div>Via: SIP/2.0/UDP 123.123.123.123:5060;rport=5060;branch=z9hG4bK2ca386fa.</div>
<div>contact: &lt;<a href="http://sip:123123@123.123.123.123:5060">sip:123123@123.123.123.123:5060</a>&gt;;expires=60,&lt;sip:username1@46.48.122.18:62374;rinstance=c18b3810debbb4db;transport=UDP&gt;;expires=1320.</div><div>
supported: com.nortelnetworks.firewall,p-3rdpartycontrol,nosec,join.</div><div>Content-Length: 0.</div><div><br></div><div><br></div><br><div class="gmail_quote">2012/5/24 Ovidiu Sas <span dir="ltr">&lt;<a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can you provide the db records for the two cases along with ngrep traces?<br>
The &quot;To&quot; header is not part of the authentication process.  What kind<br>
of registrar are you using?<br>
<br>
Regards,<br>
Ovidiu Sas<br>
<br>
--<br>
VoIP Embedded, Inc.<br>
<a href="http://www.voipembedded.com" target="_blank">http://www.voipembedded.com</a><br>
<div><div class="h5"><br>
On Thu, May 24, 2012 at 3:25 AM, <a href="mailto:pavel@eremina.net">pavel@eremina.net</a><br>
&lt;<a href="mailto:eremina.net@gmail.com">eremina.net@gmail.com</a>&gt; wrote:<br>
&gt; Hi, all!<br>
&gt;<br>
&gt; I think i found some interconection trouble, if i send REGISTER:<br>
&gt;<br>
&gt; ...<br>
&gt; From: &lt;<a href="mailto:sip%3Auyksi1@max.ru">sip:uyksi1@max.ru</a>&gt;;tag=as336b2c86.<br>
&gt; To: &lt;<a href="mailto:sip%3Auyksi1@max.ru">sip:uyksi1@max.ru</a>&gt;.<br>
&gt; ...<br>
&gt;<br>
&gt; And register is OK.<br>
&gt;<br>
&gt; When i send REGISTER:<br>
&gt; ....<br>
&gt; To: <a href="mailto:sip%3Auyksi1@max.ru">sip:uyksi1@max.ru</a>.<br>
&gt; From: &lt;<a href="mailto:sip%3Auyksi1@max.ru">sip:uyksi1@max.ru</a>&gt;;tag=f046e.<br>
&gt; ...<br>
&gt; And get message &quot;Wrong Credentials for&quot; in syslog.<br>
&gt;<br>
&gt; May be problem with generated TO header by uac_registrant module?<br>
&gt;<br>
<br>
</div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br>