<span style="color:rgb(85,85,85);font-family:arial,helvetica,clean,sans-serif;font-size:12px;line-height:18px;text-align:left;background-color:rgb(204,255,153)">bug report 3530076.</span><div><div><br><br><div class="gmail_quote">
2012/5/26 Ovidiu Sas <span dir="ltr"><<a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Please open a bug report for this issue.<br>
<br>
Regards,<br>
Ovidiu Sas<br>
<div class="HOEnZb"><div class="h5"><br>
On Thu, May 24, 2012 at 10:16 AM, Ovidiu Sas <<a href="mailto:osas@voipembedded.com">osas@voipembedded.com</a>> wrote:<br>
> Can you send me privately the uac param for opensips and the user<br>
> config in asterisk?<br>
><br>
> Thanks,<br>
> Ovidiu<br>
><br>
> --<br>
> VoIP Embedded, Inc.<br>
> <a href="http://www.voipembedded.com" target="_blank">http://www.voipembedded.com</a><br>
><br>
> On Thu, May 24, 2012 at 10:07 AM, <a href="mailto:pavel@eremina.net">pavel@eremina.net</a><br>
> <<a href="mailto:eremina.net@gmail.com">eremina.net@gmail.com</a>> wrote:<br>
>> Registrar is some Nortel software...<br>
>><br>
>> At first bad trace where uac_registrant can't register and state=6 with<br>
>> message in syslog "Wrong credentials for":<br>
>><br>
>> ----------------------------<br>
>> <a href="http://123.123.123.123:5099" target="_blank">123.123.123.123:5099</a> -> <a href="http://222.222.222.222:5060" target="_blank">222.222.222.222:5060</a><br>
>> REGISTER sip:<a href="http://registrant.com" target="_blank">registrant.com</a> SIP/2.0.<br>
>> Via: SIP/2.0/UDP 123.123.123.123:5099;branch=z9hG4bK5c4e.fdef4832.0.<br>
>> To: <a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>.<br>
>> From: <<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>>;tag=d9430.<br>
>> CSeq: 1 REGISTER.<br>
>> Call-ID: 74f547c35287d7d9b6e874f6e72.<br>
>> Max-Forwards: 70.<br>
>> Content-Length: 0.<br>
>> User-Agent: OpenSIPS (1.7.2-notls (x86_64/linux)).<br>
>> Contact: <<a href="http://sip:username1@123.123.123.123:5099" target="_blank">sip:username1@123.123.123.123:5099</a>>;expires=160.<br>
>> .<br>
>><br>
>> #<br>
>> U <a href="http://222.222.222.222:5060" target="_blank">222.222.222.222:5060</a> -> <a href="http://123.123.123.123:5099" target="_blank">123.123.123.123:5099</a><br>
>> SIP/2.0 100 Trying.<br>
>> From: <<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>>;tag=d9430.<br>
>> To: <<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>>.<br>
>> Call-ID: 74f547c35287d7d9b6e874f6e72.<br>
>> CSeq: 1 REGISTER.<br>
>> Via: SIP/2.0/UDP 123.123.123.123:5099;branch=z9hG4bK5c4e.fdef4832.0.<br>
>> Content-Length: 0.<br>
>> .<br>
>><br>
>> #<br>
>> U <a href="http://222.222.222.222:5060" target="_blank">222.222.222.222:5060</a> -> <a href="http://123.123.123.123:5099" target="_blank">123.123.123.123:5099</a><br>
>> SIP/2.0 407 Proxy Authentication Required.<br>
>> From: <<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>>;tag=d9430.<br>
>> To: <<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>>;tag=1292017548.<br>
>> Call-ID: 74f547c35287d7d9b6e874f6e72.<br>
>> CSeq: 1 REGISTER.<br>
>> Via: SIP/2.0/UDP 123.123.123.123:5099;branch=z9hG4bK5c4e.fdef4832.0.<br>
>> supported: com.nortelnetworks.firewall,p-3rdpartycontrol,nosec,join.<br>
>> proxy-authenticate: Digest<br>
>> realm="Realm",nonce="MTMzNzg0MTg5OTIwM2Y2YTFiN2JiMGUyNmQ0ZmM4MTAyMTBkYjIyNDI5NzJk",stale=false,algorithm=MD5,qop="auth,auth-int".<br>
>> Content-Length: 0.<br>
>> .<br>
>><br>
>> #<br>
>> U <a href="http://123.123.123.123:5099" target="_blank">123.123.123.123:5099</a> -> <a href="http://222.222.222.222:5060" target="_blank">222.222.222.222:5060</a><br>
>> REGISTER sip:<a href="http://registrant.com" target="_blank">registrant.com</a> SIP/2.0.<br>
>> Via: SIP/2.0/UDP 123.123.123.123:5099;branch=z9hG4bK2c4e.950290a6.0.<br>
>> To: <a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>.<br>
>> From: <<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>>;tag=d9430.<br>
>> CSeq: 2 REGISTER.<br>
>> Call-ID: 74f547c35287d7d9b6e874f6e72.<br>
>> Max-Forwards: 70.<br>
>> Content-Length: 0.<br>
>> User-Agent: OpenSIPS (1.7.2-notls (x86_64/linux)).<br>
>> Contact: <<a href="http://sip:username1@123.123.123.123:5099" target="_blank">sip:username1@123.123.123.123:5099</a>>;expires=160.<br>
>> Proxy-Authorization: Digest username="username1", realm="Realm",<br>
>> nonce="MTMzNzg0MTg5OTIwM2Y2YTFiN2JiMGUyNmQ0ZmM4MTAyMTBkYjIyNDI5NzJk",<br>
>> uri="sip:<a href="http://registrant.com" target="_blank">registrant.com</a>", qop=auth, nc=00000001, cnonce="1085969230",<br>
>> response="0cffcc3c86879b06b7653d8b824c625d", algorithm=MD5.<br>
>> .<br>
>><br>
>> #<br>
>> U <a href="http://222.222.222.222:5060" target="_blank">222.222.222.222:5060</a> -> <a href="http://123.123.123.123:5099" target="_blank">123.123.123.123:5099</a><br>
>> SIP/2.0 100 Trying.<br>
>> From: <<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>>;tag=d9430.<br>
>> To: <<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>>.<br>
>> Call-ID: 74f547c35287d7d9b6e874f6e72.<br>
>> CSeq: 2 REGISTER.<br>
>> Via: SIP/2.0/UDP 123.123.123.123:5099;branch=z9hG4bK2c4e.950290a6.0.<br>
>> Content-Length: 0.<br>
>> .<br>
>><br>
>> #<br>
>> U <a href="http://222.222.222.222:5060" target="_blank">222.222.222.222:5060</a> -> <a href="http://123.123.123.123:5099" target="_blank">123.123.123.123:5099</a><br>
>> SIP/2.0 407 Proxy Authentication Required.<br>
>> From: <<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>>;tag=d9430.<br>
>> To: <<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>>;tag=1930837832.<br>
>> Call-ID: 74f547c35287d7d9b6e874f6e72.<br>
>> CSeq: 2 REGISTER.<br>
>> Via: SIP/2.0/UDP 123.123.123.123:5099;branch=z9hG4bK2c4e.950290a6.0.<br>
>> supported: com.nortelnetworks.firewall,p-3rdpartycontrol,nosec,join.<br>
>> proxy-authenticate: Digest<br>
>> realm="Realm",nonce="MTMzNzg0MTg5OTIwM2Y2YTFiN2JiMGUyNmQ0ZmM4MTAyMTBkYjIyNDI5NzJk",stale=false,algorithm=MD5,qop="auth,auth-int".<br>
>> Content-Length: 0.<br>
>> ----------------------------<br>
>><br>
>> Second trace shows as Asterisk successful register.<br>
>><br>
>> U <a href="http://123.123.123.123:5060" target="_blank">123.123.123.123:5060</a> -> <a href="http://222.222.222.222:5060" target="_blank">222.222.222.222:5060</a><br>
>> REGISTER sip:<a href="http://registrant.com" target="_blank">registrant.com</a> SIP/2.0.<br>
>> Via: SIP/2.0/UDP 123.123.123.123:5060;branch=z9hG4bK2ca386fa;rport.<br>
>> Max-Forwards: 70.<br>
>> From: <<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>>;tag=as336b2c86.<br>
>> To: <<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>>.<br>
>> Call-ID: <a href="mailto:14a29ce01796964912ecb21b42f3b05c@123.123.123.123">14a29ce01796964912ecb21b42f3b05c@123.123.123.123</a>.<br>
>> CSeq: 104 REGISTER.<br>
>> User-Agent: Asterisk PBX 1.8.8.1-1digium1~squeeze.<br>
>> Authorization: Digest username="username1", realm="Realm", algorithm=MD5,<br>
>> uri="sip:<a href="http://registrant.com" target="_blank">registrant.com</a>",<br>
>> nonce="MTMzNzg0MjAyMDMwMzhiZmEwODAxZmFlOTg2ZGJiNTFjYzVmYzgwMTE0Mjdj",<br>
>> response="8d11c83d7409ec062346f4c7ccf8ffed", qop=auth, cnonce="104d4c74",<br>
>> nc=00000002.<br>
>> Expires: 60.<br>
>> Contact: <<a href="http://sip:123123@123.123.123.123:5060" target="_blank">sip:123123@123.123.123.123:5060</a>>.<br>
>> Content-Length: 0.<br>
>> .<br>
>><br>
>> #<br>
>> U <a href="http://222.222.222.222:5060" target="_blank">222.222.222.222:5060</a> -> <a href="http://123.123.123.123:5060" target="_blank">123.123.123.123:5060</a><br>
>> SIP/2.0 100 Trying.<br>
>> From: <<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>>;tag=as336b2c86.<br>
>> To: <<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>>.<br>
>> Call-ID: <a href="mailto:14a29ce01796964912ecb21b42f3b05c@123.123.123.123">14a29ce01796964912ecb21b42f3b05c@123.123.123.123</a>.<br>
>> CSeq: 104 REGISTER.<br>
>> Via: SIP/2.0/UDP 123.123.123.123:5060;rport=5060;branch=z9hG4bK2ca386fa.<br>
>> Content-Length: 0.<br>
>> .<br>
>><br>
>> #<br>
>> U <a href="http://222.222.222.222:5060" target="_blank">222.222.222.222:5060</a> -> <a href="http://123.123.123.123:5060" target="_blank">123.123.123.123:5060</a><br>
>> SIP/2.0 200 Registration Successful.<br>
>> From: "username1 username1"<<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>>;tag=as336b2c86.<br>
>> To: <<a href="mailto:sip%3Ausername1@registrant.com">sip:username1@registrant.com</a>>;tag=2120312459.<br>
>> Call-ID: <a href="mailto:14a29ce01796964912ecb21b42f3b05c@123.123.123.123">14a29ce01796964912ecb21b42f3b05c@123.123.123.123</a>.<br>
>> CSeq: 104 REGISTER.<br>
>> Via: SIP/2.0/UDP 123.123.123.123:5060;rport=5060;branch=z9hG4bK2ca386fa.<br>
>> contact:<br>
>> <<a href="http://sip:123123@123.123.123.123:5060" target="_blank">sip:123123@123.123.123.123:5060</a>>;expires=60,<sip:username1@46.48.122.18:62374;rinstance=c18b3810debbb4db;transport=UDP>;expires=1320.<br>
>> supported: com.nortelnetworks.firewall,p-3rdpartycontrol,nosec,join.<br>
>> Content-Length: 0.<br>
>><br>
>><br>
>><br>
>> 2012/5/24 Ovidiu Sas <<a href="mailto:osas@voipembedded.com">osas@voipembedded.com</a>><br>
>>><br>
>>> Can you provide the db records for the two cases along with ngrep traces?<br>
>>> The "To" 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>
>>><br>
>>> On Thu, May 24, 2012 at 3:25 AM, <a href="mailto:pavel@eremina.net">pavel@eremina.net</a><br>
>>> <<a href="mailto:eremina.net@gmail.com">eremina.net@gmail.com</a>> wrote:<br>
>>> > Hi, all!<br>
>>> ><br>
>>> > I think i found some interconection trouble, if i send REGISTER:<br>
>>> ><br>
>>> > ...<br>
>>> > From: <<a href="mailto:sip%3Auyksi1@max.ru">sip:uyksi1@max.ru</a>>;tag=as336b2c86.<br>
>>> > To: <<a href="mailto:sip%3Auyksi1@max.ru">sip:uyksi1@max.ru</a>>.<br>
>>> > ...<br>
>>> ><br>
>>> > And register is OK.<br>
>>> ><br>
>>> > When i send REGISTER:<br>
>>> > ....<br>
>>> > To: <a href="mailto:sip%3Auyksi1@max.ru">sip:uyksi1@max.ru</a>.<br>
>>> > From: <<a href="mailto:sip%3Auyksi1@max.ru">sip:uyksi1@max.ru</a>>;tag=f046e.<br>
>>> > ...<br>
>>> > And get message "Wrong Credentials for" in syslog.<br>
>>> ><br>
>>> > May be problem with generated TO header by uac_registrant module?<br>
>>> ><br>
>>><br>
>>> _______________________________________________<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>
>><br>
<br>
<br>
<br>
--<br>
VoIP Embedded, Inc.<br>
<a href="http://www.voipembedded.com" target="_blank">http://www.voipembedded.com</a><br>
<br>
_______________________________________________<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>
</div></div></blockquote></div><br></div></div>