<html><body><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><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="background-color: transparent;" class=""> else if (is_method("INVITE")) {</div><div style="background-color: transparent;" class=""> #load_balance("1","pstn");</div><div style="background-color: transparent;" class=""> xlog("xlog_initialinvite");</div><div style="background-color: transparent;" class=""><span style="background-color: transparent;"
class=""> if($si=="192.168.2.11") {</span><br class="" style=""></div><div style="background-color: transparent;" class=""> <span style="background-color: transparent;" class=""> ds_select_dst("1","1");</span></div><div style="background-color: transparent;" class=""> }</div><div style="background-color: transparent;" class=""> record_route();</div><div style="background-color: transparent;" class=""> if(!t_relay()) {</div><div style="background-color: transparent;" class=""> sl_reply_error();</div><div style="background-color: transparent;" class="">
xlog("xlog_invitereplyerror");</div><div style="background-color: transparent;" class=""> }</div><div style="background-color: transparent;" class=""> exit;</div><div style="background-color: transparent;" class=""><span style="background-color: transparent;" class=""></span></div><div style="background-color: transparent;" class=""> }</div><div class="" style=""><br class="" style=""></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=""><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="">wireshark log</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;" class="">No. Time Source Destination Protocol Info</span></div><div style="background-color: transparent;" class=""> 4647 79.393261 192.168.2.11 192.168.2.141 SIP/SDP Request: INVITE sip:subs000174@open-ims.test, with session description</div><div style="background-color: transparent;" class=""> 4648 79.395108 192.168.2.141 192.168.2.11 SIP Status: 100 Giving a try</div><div style="background-color: transparent;" class=""> 4649 79.395467 192.168.2.141 192.168.2.3 SIP/SDP
Request: INVITE sip:subs000174@open-ims.test, with session description</div><div style="background-color: transparent;" class=""> 4650 79.426101 192.168.2.3 192.168.2.141 SIP Status: 100 trying -- your call is important to us</div><div style="background-color: transparent;" class=""> 4651 79.464427 192.168.2.3 192.168.2.141 SIP/SDP Request: INVITE sip:subs000174@192.168.2.11:7174, with session description</div><div style="background-color: transparent;" class=""> 4652 79.465264 192.168.2.141 192.168.2.3 SIP Status: 100 Giving a try</div><div style="background-color: transparent;" class=""> 4654 79.465773 192.168.2.141
192.168.2.11 SIP/SDP Request: INVITE sip:subs000174@192.168.2.11:7174, with session description</div><div style="background-color: transparent;" class=""> 4655 79.465773 192.168.2.11 192.168.2.141 SIP Status: 180 Ringing</div><div style="background-color: transparent;" class=""> 4656 79.466172 192.168.2.141 192.168.2.3 SIP Status: 180 Ringing</div><div style="background-color: transparent;" class=""> 4657 79.507893 192.168.2.3 192.168.2.141 SIP Status: 180 Ringing</div><div style="background-color: transparent;" class=""> 4658 79.508153 192.168.2.141
192.168.2.11 SIP Status: 180 Ringing</div><div style="background-color: transparent;" class=""> 5053 84.372654 192.168.2.11 192.168.2.141 SIP/SDP Status: 200 OK, with session description</div><div style="background-color: transparent;" class=""> 5054 84.372931 192.168.2.141 192.168.2.3 SIP/SDP Status: 200 OK, with session description</div><div style="background-color: transparent;" class=""> 5055 84.396628 192.168.2.3 192.168.2.141 SIP/SDP Status: 200 OK, with session description</div><div style="background-color: transparent;" class=""> 5056 84.397036 192.168.2.141 192.168.2.11
SIP/SDP Status: 200 OK, with session description</div><div style="background-color: transparent;" class=""> 5057 84.397552 192.168.2.11 192.168.2.141 SIP Request: ACK sip:subs000174@192.168.2.11:7174;transport=UDP</div><div style="background-color: transparent;" class=""> 5058 84.398921 192.168.2.141 192.168.2.5 SIP Request: ACK sip:subs000174@192.168.2.11:7174;transport=UDP</div><div style="background-color: transparent;" class=""> 5075 84.874990 192.168.2.11 192.168.2.141 SIP/SDP Status: 200 OK, with session description</div><div style="background-color: transparent;" class=""> 5076 84.875713 192.168.2.141
192.168.2.3 SIP/SDP Status: 200 OK, with session description</div><div style="background-color: transparent;" class=""> 5077 84.925133 192.168.2.3 192.168.2.141 SIP/SDP Status: 200 OK, with session description</div><div style="background-color: transparent;" class=""> 5078 84.925434 192.168.2.141 192.168.2.11 SIP/SDP Status: 200 OK, with session description</div><div style="background-color: transparent;" class=""> 5079 84.925622 192.168.2.11 192.168.2.141 SIP Request: ACK sip:subs000174@192.168.2.11:7174;transport=UDP</div><div style="background-color: transparent;" class=""> 5080 84.926591 192.168.2.141
192.168.2.5 SIP Request: ACK sip:subs000174@192.168.2.11:7174;transport=UDP</div><div style="background-color: transparent;" class=""> 5418 85.876690 192.168.2.11 192.168.2.141 SIP/SDP Status: 200 OK, with session description</div><div style="background-color: transparent;" class=""> 5419 85.876692 192.168.2.141 192.168.2.3 SIP/SDP Status: 200 OK, with session description</div><div style="background-color: transparent;" class=""> 5420 85.936150 192.168.2.3 192.168.2.141 SIP/SDP Status: 200 OK, with session description</div><div style="background-color: transparent;" class=""> 5421 85.936625
192.168.2.141 192.168.2.11 SIP/SDP Status: 200 OK, with session description</div><div style="background-color: transparent;" class=""> 5422 85.936815 192.168.2.11 192.168.2.141 SIP Request: ACK sip:subs000174@192.168.2.11:7174;transport=UDP</div><div style="background-color: transparent;" class=""> 5423 85.937798 192.168.2.141 192.168.2.5 SIP Request: ACK sip:subs000174@192.168.2.11:7174;transport=UDP</div><div style="background-color: transparent;" class=""> 5440 87.883590 192.168.2.11 192.168.2.141 SIP/SDP Status: 200 OK, with session description</div><div style="background-color: transparent;"
class=""> 5441 87.884024 192.168.2.141 192.168.2.3 SIP/SDP Status: 200 OK, with session description</div><div style="background-color: transparent;" class=""> 5445 87.960207 192.168.2.3 192.168.2.141 SIP/SDP Status: 200 OK, with session description</div><div style="background-color: transparent;" class=""> 5447 87.960454 192.168.2.141 192.168.2.11 SIP/SDP Status: 200 OK, with session description</div><div style="background-color: transparent;" class=""> 5448 87.961156 192.168.2.11 192.168.2.141 SIP Request: ACK sip:subs000174@192.168.2.11:7174;transport=UDP</div><div style="background-color:
transparent;" class=""> 5449 87.961157 192.168.2.141 192.168.2.5 SIP Request: ACK sip:subs000174@192.168.2.11:7174;transport=UDP</div><div style="background-color: transparent;" class=""> 5522 91.888474 192.168.2.11 192.168.2.141 SIP/SDP Status: 200 OK, with session description</div><div style="background-color: transparent;" class=""> 6137 95.893241 192.168.2.11 192.168.2.141 SIP/SDP Status: 200 OK, with session description</div><div style="background-color: transparent;" class=""> 6228 99.902322 192.168.2.11 192.168.2.141 SIP/SDP Status: 200 OK, with session description</div><div
style="background-color: transparent;" class=""> 6327 103.908286 192.168.2.11 192.168.2.141 SIP/SDP Status: 200 OK, with session description</div><div style="background-color: transparent;" class=""> 7097 107.919189 192.168.2.11 192.168.2.141 SIP/SDP Status: 200 OK, with session description</div><div style="background-color: transparent;" class=""> 7241 111.925927 192.168.2.11 192.168.2.141 SIP/SDP Status: 200 OK, with session description</div><div style="background-color: transparent;" class=""> 8781 133.854566 192.168.2.11 192.168.2.141 SIP Request: BYE
sip:subs000174@192.168.2.11:7174;transport=UDP</div><div style="background-color: transparent;" class=""> 8782 133.855367 192.168.2.141 192.168.2.5 SIP Request: BYE sip:subs000174@192.168.2.11:7174;transport=UDP</div><div style="background-color: transparent;" class=""><span style="background-color: transparent;" class=""> 8783 133.856357 192.168.2.5 192.168.2.141 SIP Status: 403 Forbidden - Originating subsequent requests outside dialog not allowed</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=""><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=""><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=""><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="font-weight: bold;">Opensips related log</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="">ct 15 13:01:27 ubuntu /usr/local/opensips/sbin/opensips[4329]: xlog method: [ACK] totag: [3283SIPpTag01173] sipid: [192.168.2.11] messageid: [883] callid: [173-3283@192.168.2.11] callsequence: [1]</div><div style="background-color: transparent;" class="">Oct 15 13:01:27 ubuntu /usr/local/opensips/sbin/opensips[4329]: DBG:uri:has_totag: totag found</div><div style="background-color: transparent;" class="">Oct 15 13:01:27 ubuntu /usr/local/opensips/sbin/opensips[4329]: xlog_has_totag</div><div style="background-color: transparent;" class="">Oct 15 13:01:27 ubuntu
/usr/local/opensips/sbin/opensips[4329]: DBG:core:parse_headers: flags=200</div><div style="background-color: transparent;" class="">Oct 15 13:01:27 ubuntu /usr/local/opensips/sbin/opensips[4329]: DBG:core:get_hdr_field: content_length=0</div><div style="background-color: transparent;" class="">Oct 15 13:01:27 ubuntu /usr/local/opensips/sbin/opensips[4329]: DBG:core:get_hdr_field: found end of header</div><div style="background-color: transparent;" class=""><span style="font-weight: bold;" class="">Oct 15 13:01:27 ubuntu /usr/local/opensips/sbin/opensips[4329]: DBG:rr:find_first_route: No Route headers found</span></div><div style="background-color: transparent;" class=""><span style="font-weight: bold;" class="">Oct 15 13:01:27 ubuntu /usr/local/opensips/sbin/opensips[4329]: DBG:rr:loose_route: There is no Route HF</span></div><div style="background-color: transparent;" class="">Oct 15 13:01:27 ubuntu /usr/local/opensips/sbin/opensips[4329]:
xlog_ack_method</div><div style="background-color: transparent;" class="">Oct 15 13:01:27 ubuntu /usr/local/opensips/sbin/opensips[4329]: DBG:core:parse_headers: flags=78</div><div style="background-color: transparent;" class="">Oct 15 13:01:27 ubuntu /usr/local/opensips/sbin/opensips[4329]: DBG:tm:t_lookup_request: start searching: hash=58738, isACK=1</div><div style="background-color: transparent;" class="">Oct 15 13:01:27 ubuntu /usr/local/opensips/sbin/opensips[4329]: DBG:core:parse_headers: flags=38</div><div style="background-color: transparent;" class="">Oct 15 13:01:27 ubuntu /usr/local/opensips/sbin/opensips[4329]: DBG:core:parse_to_param: tag=3283SIPpTag00173</div><div style="background-color: transparent;" class="">Oct 15 13:01:27 ubuntu /usr/local/opensips/sbin/opensips[4329]: DBG:core:parse_to: end of header reached, state=29</div><div style="background-color: transparent;" class="">Oct 15 13:01:27 ubuntu
/usr/local/opensips/sbin/opensips[4329]: DBG:core:parse_to: display={"subs004916"}, ruri={sip:subs004916@open-ims.test}</div><div style="background-color: transparent;" class="">Oct 15 13:01:27 ubuntu /usr/local/opensips/sbin/opensips[4329]: DBG:tm:t_lookup_request: REF_UNSAFE:[0x7f81f6570408] after is 1</div><div style="background-color: transparent;" class="">Oct 15 13:01:27 ubuntu /usr/local/opensips/sbin/opensips[4329]: DBG:tm:t_lookup_request: e2e proxy ACK found</div><div style="background-color: transparent;" class=""><span class="" style=""></span></div><div style="background-color: transparent;" class="">Oct 15 13:01:27 ubuntu /usr/local/opensips/sbin/opensips[4329]: xlog_nonlooseroutestatefulack</div><div class="" style=""><div class="" style="">Oct 15 13:01:27 ubuntu /usr/local/opensips/sbin/opensips[4329]: DBG:tm:t_newtran: transaction on entrance=(nil)</div><div class="" style="">Oct 15 13:01:27 ubuntu
/usr/local/opensips/sbin/opensips[4329]: DBG:core:parse_headers: flags=ffffffffffffffff</div><div class="" style="">Oct 15 13:01:27 ubuntu /usr/local/opensips/sbin/opensips[4329]: DBG:tm:t_newtran: building branch for end2end ACK - flags=1</div><div class="" style="">Oct 15 13:01:27 ubuntu /usr/local/opensips/sbin/opensips[4329]: DBG:tm:t_relay_to: forwarding ACK</div><div class="" style=""><span style="font-weight: bold;" class="">Oct 15 13:01:27 ubuntu /usr/local/opensips/sbin/opensips[4329]: DBG:core:mk_proxy: doing DNS lookup</span>...</div><div class="" style="">Oct 15 13:01:27 ubuntu /usr/local/opensips/sbin/opensips[4329]: DBG:core:check_ip_address: params 192.168.2.11, 192.168.2.11, 0</div><div class="" style="">Oct 15 13:01:27 ubuntu /usr/local/opensips/sbin/opensips[4329]: DBG:core:forward_request: sending:#012ACK sip:subs000129@192.168.2.11:7129;transport=UDP SIP/2.0#015#012Record-Route:
<sip:192.168.2.141;lr;ftag=3283SIPpTag00173>#015#012Via: SIP/2.0/UDP 192.168.2.141:4060;branch=z9hG4bK275e.11b33e95.2#015#012Via: SIP/2.0/UDP 192.168.2.11:11916;branch=z9hG4bK-3283-173-4#015#012Max-Forwards: 70#015#012Record-Route: <sip:192.168.2.141;lr;ftag=3283SIPpTag00173>#015#012Record-Route: <sip:mt@pcscf.open-ims.test:4060;lr>#015#012Record-Route: <sip:mt@scscf.open-ims.test:6060;lr>#015#012Record-Route: <sip:mo@scscf.open-ims.test:6060;lr>#015#012Record-Route: <sip:mo@pcscf.open-ims.test:4060;lr>#015#012Record-Route: <sip:192.168.2.141;lr;ftag=3283SIPpTag00173>#015#012From: "subs004916" <sip:subs004916@open-ims.test>;tag=3283SIPpTag00173#015#012To: "subs000129" <sip:subs000129@open-ims.test>;tag=3283SIPpTag01174;tag=3283SIPpTag01173#015#012Call-ID: 173-3283@192.168.2.11#015#012CSeq: 1 INVITE#015#012Content-Length: 0#015#012#015#012.</div><div class="" style="">Oct 15 13:01:27 ubuntu
/usr/local/opensips/sbin/opensips[4329]: DBG:core:forward_request: orig. len=701, new_len=828, proto=1</div><div class="" style="">Oct 15 13:01:27 ubuntu /usr/local/opensips/sbin/opensips[4329]: DBG:tm:t_unref_cell: UNREF_UNSAFE: [0x7f81f6570408] after is 0</div><div class="" style="">Oct 15 13:01:27 ubuntu /usr/local/opensips/sbin/opensips[4329]: DBG:core:destroy_avp_list: destroying list (nil)</div><div class="" style=""><br class="" style=""></div><div class="" style=""><br class="" style=""></div><div class="" style=""><span style="font-weight: bold;" class="">Details of 180 Ringing which is passed properly</span></div><div class="" style=""><br class="" style=""></div><div class="" style=""><br class="" style=""></div><div class="" style=""><div class="" style="">No. Time Source Destination Protocol Info</div><div
class="" style=""> 3263 49.371030 192.168.2.11 192.168.2.141 SIP Status: 180 Ringing</div><div class="" style=""><br class="" style=""></div><div class="" style="">Frame 3263 (1177 bytes on wire, 1177 bytes captured)</div><div class="" style=""> Arrival Time: Oct 15, 2014 22:54:17.241278000</div><div class="" style=""> [Time delta from previous captured frame: 0.002010000 seconds]</div><div class="" style=""> [Time delta from previous displayed frame: 0.002010000 seconds]</div><div class="" style=""> [Time since reference or first frame: 49.371030000 seconds]</div><div class="" style=""> Frame Number: 3263</div><div class="" style=""> Frame Length: 1177 bytes</div><div class="" style=""> Capture Length: 1177 bytes</div><div class="" style=""> [Frame is
marked: False]</div><div class="" style=""> [Protocols in frame: eth:ip:udp:sip]</div><div class="" style=""> [Coloring Rule Name: UDP]</div><div class="" style=""> [Coloring Rule String: udp]</div><div class="" style="">Ethernet II, Src: Vmware_d2:6a:2a (00:0c:29:d2:6a:2a), Dst: Vmware_22:e0:4c (00:0c:29:22:e0:4c)</div><div class="" style=""> Destination: Vmware_22:e0:4c (00:0c:29:22:e0:4c)</div><div class="" style=""> Address: Vmware_22:e0:4c (00:0c:29:22:e0:4c)</div><div class="" style=""> .... ...0 .... .... .... .... = IG bit: Individual address (unicast)</div><div class="" style=""> .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)</div><div class="" style=""> Source: Vmware_d2:6a:2a (00:0c:29:d2:6a:2a)</div><div class="" style=""> Address:
Vmware_d2:6a:2a (00:0c:29:d2:6a:2a)</div><div class="" style=""> .... ...0 .... .... .... .... = IG bit: Individual address (unicast)</div><div class="" style=""> .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)</div><div class="" style=""> Type: IP (0x0800)</div><div class="" style="">Internet Protocol, Src: 192.168.2.11 (192.168.2.11), Dst: 192.168.2.141 (192.168.2.141)</div><div class="" style=""> Version: 4</div><div class="" style=""> Header length: 20 bytes</div><div class="" style=""> Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)</div><div class="" style=""> 0000 00.. = Differentiated Services Codepoint: Default (0x00)</div><div class="" style=""> .... ..0. = ECN-Capable Transport (ECT): 0</div><div class="" style="">
.... ...0 = ECN-CE: 0</div><div class="" style=""> Total Length: 1163</div><div class="" style=""> Identification: 0x504b (20555)</div><div class="" style=""> Flags: 0x04 (Don't Fragment)</div><div class="" style=""> 0... = Reserved bit: Not set</div><div class="" style=""> .1.. = Don't fragment: Set</div><div class="" style=""> ..0. = More fragments: Not set</div><div class="" style=""> Fragment offset: 0</div><div class="" style=""> Time to live: 64</div><div class="" style=""> Protocol: UDP (0x11)</div><div class="" style=""> Header checksum: 0x602e [correct]</div><div class="" style=""> [Good: True]</div><div class="" style=""> [Bad : False]</div><div class="" style=""> Source: 192.168.2.11
(192.168.2.11)</div><div class="" style=""> Destination: 192.168.2.141 (192.168.2.141)</div><div class="" style="">User Datagram Protocol, Src Port: 11630 (11630), Dst Port: dsmeter_iatc (4060)</div><div class="" style=""> Source port: 11630 (11630)</div><div class="" style=""> Destination port: dsmeter_iatc (4060)</div><div class="" style=""> Length: 1143</div><div class="" style=""> Checksum: 0xb322 [correct]</div><div class="" style=""> [Good Checksum: True]</div><div class="" style=""> [Bad Checksum: False]</div><div class="" style="">Session Initiation Protocol</div><div class="" style=""> Status-Line: SIP/2.0 180 Ringing</div><div class="" style=""> Status-Code: 180</div><div class="" style=""> [Resent Packet: False]</div><div class="" style="">
Message Header</div><div class="" style=""> Via: SIP/2.0/UDP 192.168.2.141:4060;branch=z9hG4bKd619.6d0c1795.0</div><div class="" style=""> Transport: UDP</div><div class="" style=""> Sent-by Address: 192.168.2.141</div><div class="" style=""> Sent-by port: 4060</div><div class="" style=""> Branch: z9hG4bKd619.6d0c1795.0</div><div class="" style=""> Via: SIP/2.0/UDP 192.168.2.3:4060;branch=z9hG4bKd619.d62fc68.0</div><div class="" style=""> Transport: UDP</div><div class="" style=""> Sent-by Address: 192.168.2.3</div><div class="" style=""> Sent-by port: 4060</div><div class="" style="">
Branch: z9hG4bKd619.d62fc68.0</div><div class="" style=""> Via: SIP/2.0/UDP 192.168.2.3:6060;received=192.168.2.3;rport=6060;branch=z9hG4bKd619.b137ec01.0</div><div class="" style=""> Transport: UDP</div><div class="" style=""> Sent-by Address: 192.168.2.3</div><div class="" style=""> Sent-by port: 6060</div><div class="" style=""> Received: 192.168.2.3</div><div class="" style=""> RPort: 6060</div><div class="" style=""> Branch: z9hG4bKd619.b137ec01.0</div><div class="" style=""> Via: SIP/2.0/UDP 192.168.2.3:6060;branch=z9hG4bKd619.a137ec01.0</div><div class="" style=""> Transport: UDP</div><div class=""
style=""> Sent-by Address: 192.168.2.3</div><div class="" style=""> Sent-by port: 6060</div><div class="" style=""> Branch: z9hG4bKd619.a137ec01.0</div><div class="" style=""> Via: SIP/2.0/UDP 192.168.2.3:4060;branch=z9hG4bKd619.c62fc68.0</div><div class="" style=""> Transport: UDP</div><div class="" style=""> Sent-by Address: 192.168.2.3</div><div class="" style=""> Sent-by port: 4060</div><div class="" style=""> Branch: z9hG4bKd619.c62fc68.0</div><div class="" style=""> Via: SIP/2.0/UDP 192.168.2.141:4060;received=192.168.2.141;rport=4060;branch=z9hG4bKd619.5d0c1795.0</div><div class="" style="">
Transport: UDP</div><div class="" style=""> Sent-by Address: 192.168.2.141</div><div class="" style=""> Sent-by port: 4060</div><div class="" style=""> Received: 192.168.2.141</div><div class="" style=""> RPort: 4060</div><div class="" style=""> Branch: z9hG4bKd619.5d0c1795.0</div><div class="" style=""> Via: SIP/2.0/UDP 192.168.2.11:10800;branch=z9hG4bK-3501-57-4</div><div class="" style=""> Transport: UDP</div><div class="" style=""> Sent-by Address: 192.168.2.11</div><div class="" style=""> Sent-by port: 10800</div><div class="" style="">
Branch: z9hG4bK-3501-57-4</div><div class="" style=""> Record-Route: <sip:192.168.2.141;lr;ftag=3501SIPpTag0057></div><div class="" style=""> Record-Route: <sip:mt@pcscf.open-ims.test:4060;lr></div><div class="" style=""> Record-Route: <sip:mt@scscf.open-ims.test:6060;lr></div><div class="" style=""> Record-Route: <sip:mo@scscf.open-ims.test:6060;lr></div><div class="" style=""> Record-Route: <sip:mo@pcscf.open-ims.test:4060;lr></div><div class="" style=""> Record-Route: <sip:192.168.2.141;lr;ftag=3501SIPpTag0057></div><div class="" style=""> From: "subs003800" <sip:subs003800@open-ims.test>;tag=3501SIPpTag0057</div><div class="" style=""> SIP Display info: "subs003800" </div><div
class="" style=""> SIP from address: sip:subs003800@open-ims.test</div><div class="" style=""> SIP tag: 3501SIPpTag0057</div><div class="" style=""> To: "subs004630" <sip:subs004630@open-ims.test>;tag=3501SIPpTag0158</div><div class="" style=""> SIP Display info: "subs004630" </div><div class="" style=""> SIP to address: sip:subs004630@open-ims.test</div><div class="" style=""> SIP tag: 3501SIPpTag0158</div><div class="" style=""> Call-ID: 57-3501@192.168.2.11</div><div class="" style=""> CSeq: 1 INVITE</div><div class="" style=""> Sequence Number: 1</div><div class="" style="">
Method: INVITE</div><div class="" style=""> Contact: <sip:subs004630@192.168.2.11:11630;transport=UDP></div><div class="" style=""> Contact Binding: <sip:subs004630@192.168.2.11:11630;transport=UDP></div><div class="" style=""> URI: <sip:subs004630@192.168.2.11:11630;transport=UDP></div><div class="" style=""> SIP contact address: sip:subs004630@192.168.2.11:11630</div><div class="" style=""> Content-Length:</div></div><div class="" style=""><br class="" style=""></div><div class="" style=""><br class="" style=""></div><div class="" style=""><span style="font-weight: bold;">sample ack message</span></div><div class="" style=""><br></div><div class="" style=""><div class="" style="">No. Time
Source Destination Protocol Info</div><div class="" style=""> 3271 49.468199 192.168.2.11 192.168.2.141 SIP Request: ACK sip:subs000663@192.168.2.11:7663;transport=UDP</div><div class="" style=""><br class="" style=""></div><div class="" style="">Frame 3271 (636 bytes on wire, 636 bytes captured)</div><div class="" style=""> Arrival Time: Oct 15, 2014 22:54:17.338447000</div><div class="" style=""> [Time delta from previous captured frame: 0.000420000 seconds]</div><div class="" style=""> [Time delta from previous displayed frame: 0.000420000 seconds]</div><div class="" style=""> [Time since reference or first frame: 49.468199000 seconds]</div><div class="" style=""> Frame Number:
3271</div><div class="" style=""> Frame Length: 636 bytes</div><div class="" style=""> Capture Length: 636 bytes</div><div class="" style=""> [Frame is marked: False]</div><div class="" style=""> [Protocols in frame: eth:ip:udp:sip]</div><div class="" style=""> [Coloring Rule Name: UDP]</div><div class="" style=""> [Coloring Rule String: udp]</div><div class="" style="">Ethernet II, Src: Vmware_d2:6a:2a (00:0c:29:d2:6a:2a), Dst: Vmware_22:e0:4c (00:0c:29:22:e0:4c)</div><div class="" style=""> Destination: Vmware_22:e0:4c (00:0c:29:22:e0:4c)</div><div class="" style=""> Address: Vmware_22:e0:4c (00:0c:29:22:e0:4c)</div><div class="" style=""> .... ...0 .... .... .... .... = IG bit: Individual address (unicast)</div><div class="" style=""> .... ..0. .... .... .... .... = LG bit:
Globally unique address (factory default)</div><div class="" style=""> Source: Vmware_d2:6a:2a (00:0c:29:d2:6a:2a)</div><div class="" style=""> Address: Vmware_d2:6a:2a (00:0c:29:d2:6a:2a)</div><div class="" style=""> .... ...0 .... .... .... .... = IG bit: Individual address (unicast)</div><div class="" style=""> .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)</div><div class="" style=""> Type: IP (0x0800)</div><div class="" style="">Internet Protocol, Src: 192.168.2.11 (192.168.2.11), Dst: 192.168.2.141 (192.168.2.141)</div><div class="" style=""> Version: 4</div><div class="" style=""> Header length: 20 bytes</div><div class="" style=""> Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)</div><div class="" style=""> 0000 00.. =
Differentiated Services Codepoint: Default (0x00)</div><div class="" style=""> .... ..0. = ECN-Capable Transport (ECT): 0</div><div class="" style=""> .... ...0 = ECN-CE: 0</div><div class="" style=""> Total Length: 622</div><div class="" style=""> Identification: 0x504d (20557)</div><div class="" style=""> Flags: 0x04 (Don't Fragment)</div><div class="" style=""> 0... = Reserved bit: Not set</div><div class="" style=""> .1.. = Don't fragment: Set</div><div class="" style=""> ..0. = More fragments: Not set</div><div class="" style=""> Fragment offset: 0</div><div class="" style=""> Time to live: 64</div><div class="" style=""> Protocol: UDP (0x11)</div><div class="" style=""> Header checksum: 0x6249 [correct]</div><div class=""
style=""> [Good: True]</div><div class="" style=""> [Bad : False]</div><div class="" style=""> Source: 192.168.2.11 (192.168.2.11)</div><div class="" style=""> Destination: 192.168.2.141 (192.168.2.141)</div><div class="" style="">User Datagram Protocol, Src Port: 10538 (10538), Dst Port: dsmeter_iatc (4060)</div><div class="" style=""> Source port: 10538 (10538)</div><div class="" style=""> Destination port: dsmeter_iatc (4060)</div><div class="" style=""> Length: 602</div><div class="" style=""> Checksum: 0xf199 [correct]</div><div class="" style=""> [Good Checksum: True]</div><div class="" style=""> [Bad Checksum: False]</div><div class="" style="">Session Initiation Protocol</div><div class="" style=""> Request-Line: ACK
sip:subs000663@192.168.2.11:7663;transport=UDP SIP/2.0</div><div class="" style=""> Method: ACK</div><div class="" style=""> [Resent Packet: False]</div><div class="" style=""> Message Header</div><div class="" style=""> Via: SIP/2.0/UDP 192.168.2.11:10538;branch=z9hG4bK-3501-49-4</div><div class="" style=""> Transport: UDP</div><div class="" style=""> Sent-by Address: 192.168.2.11</div><div class="" style=""> Sent-by port: 10538</div><div class="" style=""> Branch: z9hG4bK-3501-49-4</div><div class="" style=""> Max-Forwards: 70</div><div class="" style=""> [truncated] Route: <sip:192.168.2.141;lr;ftag=3501SIPpTag0049>,
<sip:mo@pcscf.open-ims.test:4060;lr>, <sip:mo@scscf.open-ims.test:6060;lr>, <sip:mt@scscf.open-ims.test:6060;lr>, <sip:mt@pcscf.open-ims.test:4060;lr>,<sip:192.168.2.141;lr;f</div><div class="" style=""> From: "subs003538" <sip:subs003538@open-ims.test>;tag=3501SIPpTag0049</div><div class="" style=""> SIP Display info: "subs003538" </div><div class="" style=""> SIP from address: sip:subs003538@open-ims.test</div><div class="" style=""> SIP tag: 3501SIPpTag0049</div><div class="" style=""> To: "subs000663" <sip:subs000663@open-ims.test>;tag=3501SIPpTag0150</div><div class="" style=""> SIP Display info: "subs000663" </div><div class="" style=""> SIP to
address: sip:subs000663@open-ims.test</div><div class="" style=""> SIP tag: 3501SIPpTag0150</div><div class="" style=""> Call-ID: 49-3501@192.168.2.11</div><div class="" style=""> CSeq: 1 ACK</div><div class="" style=""> Sequence Number: 1</div><div class="" style=""> Method: ACK</div><div class="" style=""> Content-Length: 0</div></div><div class="" style=""><br class="" style=""></div></div> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" class=""> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" class=""> <div dir="ltr" class="" style=""> <hr size="1" class="" style=""> <font size="2" face="Arial" class=""
style=""> <b class="" style=""><span style="font-weight:bold;" class="">From:</span></b> Bogdan-Andrei Iancu <bogdan@opensips.org><br class="" style=""> <b class="" style=""><span style="font-weight: bold;" class="">To:</span></b> Kaan Dandin <kaandandin@yahoo.com>; OpenSIPS users mailling list <users@lists.opensips.org> <br class="" style=""><b class="" style=""><span style="font-weight: bold;" class="">Cc:</span></b> Gunes Kurt <gkurt@itu.edu.tr>; "Ibrahim Hokelek, (BÄ°LGEM-UEKAE)" <ibrahim.hokelek@tubitak.gov.tr> <br class="" style=""> <b class="" style=""><span style="font-weight: bold;" class="">Sent:</span></b> Wednesday, October 15, 2014 10:22 AM<br class="" style=""> <b class="" style=""><span style="font-weight: bold;" class="">Subject:</span></b> Re: YNT: Re: YNT: Re: YNT: Re: [OpenSIPS-Users] RFC3261 transaction matching failed error for the second 401 Unauthorized - Challenging the UE<br class="" style="">
</font> </div> <div class="" style=""><br class="" style=""><div id="yiv5305690552" class="" style=""><div class="" style="">
<div class="" style="">Hi Kaan,<br clear="none" class="" style="">
<br clear="none" class="" style="">
I'm glad the first part is properly working now.<br clear="none" class="" style="">
<br clear="none" class="" style="">
Your ACK (as it is for a 200 OK) should be routed based on Route
headers (record route and loose route mechanism). TO better
understand this, please take a look to this webinar:<br clear="none" class="" style="">
<a rel="nofollow" shape="rect" class="" target="_blank" href="http://www.opensips.org/Documentation/Webinars#toc12" style="">http://www.opensips.org/Documentation/Webinars#toc12</a> (
chapter 5.5 )<br clear="none" class="" style="">
<br clear="none" class="" style="">
At INVITE time you should do record_route() and the ACK should
carry the Route headers in order to follow the same path as the
INVITE.<br clear="none" class="" style="">
<br clear="none" class="" style="">
Regards,<br clear="none" class="" style="">
<pre class="" style="">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a rel="nofollow" shape="rect" class="" target="_blank" href="http://www.opensips-solutions.com/" style="">http://www.opensips-solutions.com</a></pre></div></div></div><br class="" style=""></div> </div> </div> </div></body></html>