<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }body { font-size: 10.5pt; font-family: 微软雅黑; color: rgb(0, 0, 0); line-height: 1.5; }body { font-size: 10.5pt; font-family: 微软雅黑; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>Is your opensips server located behind a SBC?</div><div>in this sceniro, you have to use record_route_preset to record route, or use textops modules to modify the record-route header when you'd like to.</div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>wilddragon@sina.com</div></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:bogdan@opensips.org">Bogdan-Andrei Iancu</a></div><div><b>Date:</b> 2014-10-16 15:01</div><div><b>To:</b> <a href="mailto:kaandandin@yahoo.com">Kaan Dandin</a>; <a href="mailto:users@lists.opensips.org">OpenSIPS users mailling list</a></div><div><b>CC:</b> <a href="mailto:" ibrahim="" hokelek,="" (bİ"="">"Ibrahim Hokelek, (Bİ</a>; <a href="mailto:gkurt@itu.edu.tr">Gunes Kurt</a>; <a href="mailto:ibrahim.hokelek@tubitak.gov.tr">LGEM-UEKAE)"</a></div><div><b>Subject:</b> Re: [OpenSIPS-Users] YNT: Re: YNT: Re: YNT: Re: RFC3261 transaction matching failed error for the second 401 Unauthorized - Challenging the UE</div></div></div><div><div class="FoxDiv20141016151212507390">
<div class="moz-cite-prefix"><tt>Hi Kaan,<br>
<br>
What you need to check is : do the ACK and BYE you receive in
OpenSIPS have a Route hdr ? So, :<br>
check if the outbound INVITE (leaving OpenSIPS) has a Record-Route
hdr<br>
check if the incoming 200 OK to INVITE (from UAS) has a
Record-Route hdr<br>
check in inbound ACK (from UAC to OpenSIPS) has a Route hdr.
<br>
<br>
Let me know.<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 16.10.2014 00:25, Kaan Dandin wrote:<br>
</div>
<blockquote cite="mid:1413408334.56227.YahooMailNeo@web121506.mail.ne1.yahoo.com" type="cite" style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;">
<div style="color:#000; background-color:#fff;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
Lucida Grande, sans-serif;font-size:16px">
<div class="" style=""><span class="" style="">Hi Bogdan,</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
Grande', sans-serif; font-style: normal; background-color:
transparent;" class=""><span class="" style=""><br class="" style="">
</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
Grande', sans-serif; font-style: normal; background-color:
transparent;" class=""><span class="" style="">Thanks for your
response. I have check the related documentation once more.</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
Grande', sans-serif; font-style: normal; background-color:
transparent;" class=""><span class="" style="">But it in fact,
I was already using record_route and loose_route.</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
Grande', sans-serif; font-style: normal; background-color:
transparent;" class=""><span class="" style=""><br class="" style="">
</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
Grande', sans-serif; font-style: normal; background-color:
transparent;" class=""><span class="" style="">When I receive
initial INVITE I use record_route.</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
Grande', sans-serif; font-style: normal; background-color:
transparent;" class=""><span class="" style=""><br class="" style="">
</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
Grande', sans-serif; font-style: normal; background-color:
transparent;" class=""><span class="" style="">When the
following messages has to_tag , I am checking with
loose_route and making the routing with t_relay.</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
Grande', sans-serif; font-style: normal; background-color:
transparent;" class=""><span class="" style=""><br class="" style="">
</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
Grande', sans-serif; font-style: normal; background-color:
transparent;" class=""><span class="" style="">This is working
properly for the messages before ACK and BYE.</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
Grande', sans-serif; font-style: normal; background-color:
transparent;" class=""><span class="" style=""><br class="" style="">
</span></div>
<div style="background-color: transparent;" class=""><span style="color: rgb(0, 0, 0); font-family: HelveticaNeue,
'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
sans-serif; font-size: 16px; font-style: normal;" class="">But
for ACK and BYE messages it is not able to find route and
m</span><span style="background-color: transparent;" class="">aking a DNS lookup and since</span></div>
<div class="" style="background-color: transparent;"><span class="" style="">pcscf.open-ims.test is configured as
192.168.2.5 , it is always going to .5 openims node.</span></div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue, 'Helvetica Neue', Helvetica,
Arial, 'Lucida Grande', sans-serif; font-style: normal;
background-color: transparent;"><span class="" style=""><br class="" style="">
</span></div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue, 'Helvetica Neue', Helvetica,
Arial, 'Lucida Grande', sans-serif; font-style: normal;
background-color: transparent;"><span class="" style="">The
difference between 180 Ringing , 200 OK which is passed
properly and ACK and BYE messages seems Via headers. 180
Ringing has all the via headers.</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
Grande', sans-serif; font-style: normal; background-color:
transparent;" class=""><span style="background-color:
transparent;" class=""><br class="" style="">
</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
Grande', sans-serif; font-style: normal; background-color:
transparent;" class=""><span style="background-color:
transparent; font-weight: bold;" class="">related part of
script for record_route()</span></div>
<br>
</div>
</blockquote>
<br>
</div></div></blockquote>
</body></html>