<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body ><div><div></div><div>Hi Bogdan, </div><div><br></div><div>Thanks for your response. </div><div>In this situation how can I configure opensips to pass this message to the destination. Is it a configuration change or should I use another function instead of t_relay ?</div><div><br></div><div><br></div><div>Kind regards</div><div><br></div><div><br></div><div><div style="font-size:8px;color:#575757">Samsung Mobile tarafından gönderildi</div></div></div><br><br><div>-------- Orjinal mesaj --------</div><div>Kimden: Bogdan-Andrei Iancu <bogdan@opensips.org> </div><div>Tarih:07 10 2014 16:29 (GMT+02:00) </div><div>Alıcı: Kaan Dandin <kaandandin@yahoo.com>,OpenSIPS users mailling list <users@lists.opensips.org> </div><div>Cc: </div><div>Konu: Re: [OpenSIPS-Users] RFC3261 transaction matching failed error for the second 401 Unauthorized - Challenging the UE </div><div><br></div>
<div class="moz-cite-prefix"><tt>Hi Kaan,<br>
<br>
The log you refer to is a DBG and not an ERR (error) - when a
new request is received, opensips (inside the t_relay) tries to
match it against existing transactions to see if it a
retransmission on not. The fact your request does not match
means it is not a retransmission, but rather a new request.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
On 04.10.2014 11:18, Kaan Dandin wrote:<br>
</div>
<blockquote cite="mid:1412410687.9891.YahooMailNeo@web121504.mail.ne1.yahoo.com" type="cite">
<div style="color:#000; background-color:#fff;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
Lucida Grande, sans-serif;font-size:16px">
<div>Hi all,</div>
<div> </div>
<div>I am making registration to the Open IMS nodes(192.168.2.3
and 192.168.2.5) simultaneously from IMS bench(192.168.2.11).
Registration messages are going through OpenSIPS load
balancer(192.168.2.141).</div>
<div> </div>
<div>Registration messages which are going to first Open IMS
node(192.168.2.5) completed succesfully.</div>
<div> </div>
<div> </div>
<div>But registration to second IMS node(192.168.2.3) is not
completed successfully since t_relay() function in OpenSIPS
load balancer is giving "DBG:tm:matching_3261: RFC3261
transaction matching failed" error and not passing the
"Status: 401 Unauthorized - Challenging the UE (0
bindings)" messages to IMS bench.</div>
<div> </div>
<div>Below please find wireshark log and opensips logs in debug
level=6.</div>
<div> </div>
<div>Do you have any idea for this problem.</div>
<div> </div>
<div>BR,</div>
<div>Kaan</div>
<div> </div>
<div> </div>
<div>o. Time Source
Destination Protocol Info<br>
55 1.186495 192.168.2.11
192.168.2.141 SIP Request: REGISTER
sip:open-ims.test<br>
56 1.188443 192.168.2.141
192.168.2.3 SIP Request: REGISTER
sip:open-ims.test<br>
57 1.189001 192.168.2.141
192.168.2.5 SIP Request: REGISTER
sip:open-ims.test<br>
58 1.215792 192.168.2.5
192.168.2.141 SIP Status: 401 Unauthorized -
Challenging the UE (0 bindings)<br>
59 1.216974 192.168.2.141
192.168.2.11 SIP Status: 401 Unauthorized -
Challenging the UE (0 bindings)<br>
60 1.217486 192.168.2.11
192.168.2.141 SIP Request: REGISTER
sip:open-ims.test<br>
61 1.218516 192.168.2.141
192.168.2.3 SIP Request: REGISTER
sip:open-ims.test<br>
62 1.218804 192.168.2.141
192.168.2.5 SIP Request: REGISTER
sip:open-ims.test<br>
63 1.233561 192.168.2.3
192.168.2.141 SIP Status: 401 Unauthorized -
Challenging the UE (0 bindings)<br>
64 1.241624 192.168.2.3
192.168.2.141 SIP Status: 401 Unauthorized -
Challenging the UE (0 bindings)<br>
65 1.246112 192.168.2.5
192.168.2.141 SIP Status: 200 OK - SAR succesful
and registrar saved (1 bindings)<br>
66 1.246919 192.168.2.141
192.168.2.11 SIP Status: 200 OK - SAR succesful
and registrar saved (1 bindings)</div>
<div> </div>
<div> </div>
<div> </div>
<div>Oct 3 10:01:35 ubuntu
/usr/local/opensips/sbin/opensips[8938]: xlog method:
[REGISTER] totag: [<null>] sipid: [192.168.2.11]
messageid: [68] callid: [<a class="moz-txt-link-abbreviated" href="mailto:56-6888@192.168.2.11">56-6888@192.168.2.11</a>] callsequence:
[2]<br>
Oct 3 10:01:35 ubuntu
/usr/local/opensips/sbin/opensips[8938]: DBG:uri:has_totag: no
totag<br>
Oct 3 10:01:35 ubuntu
/usr/local/opensips/sbin/opensips[8938]: xlog_initialregister<br>
Oct 3 10:01:35 ubuntu
/usr/local/opensips/sbin/opensips[8938]:
DBG:core:comp_scriptvar: str 20 : 192.168.2.11<br>
Oct 3 10:01:35 ubuntu
/usr/local/opensips/sbin/opensips[8938]: DBG:tm:t_newtran:
transaction on entrance=0xffffffffffffffff<br>
Oct 3 10:01:35 ubuntu
/usr/local/opensips/sbin/opensips[8938]:
DBG:core:parse_headers: flags=ffffffffffffffff<br>
Oct 3 10:01:35 ubuntu
/usr/local/opensips/sbin/opensips[8938]:
DBG:core:get_hdr_field: content_length=0<br>
Oct 3 10:01:35 ubuntu
/usr/local/opensips/sbin/opensips[8938]:
DBG:core:get_hdr_field: found end of header<br>
Oct 3 10:01:35 ubuntu
/usr/local/opensips/sbin/opensips[8938]:
DBG:core:parse_headers: flags=78<br>
Oct 3 10:01:35 ubuntu
/usr/local/opensips/sbin/opensips[8938]:
DBG:tm:t_lookup_request: start searching: hash=35746, isACK=0<br>
Oct 3 10:01:35 ubuntu
/usr/local/opensips/sbin/opensips[8938]: DBG:tm:matching_3261:
RFC3261 transaction matching failed<br>
Oct 3 10:01:35 ubuntu
/usr/local/opensips/sbin/opensips[8938]:
DBG:tm:t_lookup_request: no transaction found<br>
Oct 3 10:01:35 ubuntu
/usr/local/opensips/sbin/opensips[8938]:
DBG:tm:run_reqin_callbacks: trans=0x7fcda4739918, callback
type 1, id 1 entered<br>
Oct 3 10:01:35 ubuntu
/usr/local/opensips/sbin/opensips[8938]:
DBG:tm:run_reqin_callbacks: trans=0x7fcda4739918, callback
type 1, id 0 entered<br>
Oct 3 10:01:35 ubuntu
/usr/local/opensips/sbin/opensips[8938]:
DBG:core:check_ip_address: params 192.168.2.11, 192.168.2.11,
0<br>
<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>