<div dir="ltr"><div><div>Hi Dan,<br><br></div>My suggestion will work only if you are routing the call by checking lookup location. If you are using kamailio as a proxy i am not sure how will you check the transport protocol.<br><br>Can you explain your call routing set in detail ?<br><br></div>Regards <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 14, 2014 at 4:39 PM, Dan Christian Bogos <span dir="ltr"><<a href="mailto:danb.lists@gmail.com" target="_blank">danb.lists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hey Paul,<br>
    <br>
    Thanks for your feedback! <br>
    In this case the call will come in via UDP (so it has 2 record route
    headers). I can still play tricks like reading the record-route
    headers but, I was in some way hoping that is the responsibility of
    loose_route() function to properly use the right protocol out of
    route headers since we are a proxy.<br>
    <br>
    Cheers,<br>
    DanB<br>
    <br>
    <div>On 14.11.2014 12:00,
      <a href="mailto:sr-users-request@lists.sip-router.org" target="_blank">sr-users-request@lists.sip-router.org</a> wrote:<br>
    </div>
    <blockquote type="cite">
      <pre>Message: 3
Date: Thu, 13 Nov 2014 16:55:18 +0530
From: Varghese Paul <a href="mailto:varghesepaul87@gmail.com" target="_blank"><varghesepaul87@gmail.com></a>
To: "Kamailio (SER) - Users Mailing List"
        <a href="mailto:sr-users@lists.sip-router.org" target="_blank"><sr-users@lists.sip-router.org></a>
Subject: Re: [SR-Users] UDP-TCP bridging in-dialog SUBSCRIBE
Message-ID:
        <a href="mailto:CAM33Ch4furD1FM-ZNKfbQ0nXNQd88BmzW73gjjb=cVyuC0K=8w@mail.gmail.com" target="_blank"><CAM33Ch4furD1FM-ZNKfbQ0nXNQd88BmzW73gjjb=cVyuC0K=8w@mail.gmail.com></a>
Content-Type: text/plain; charset="utf-8"

Hi Dan,

You can check the transport value in the RURI and relay the SIP message as
tcp.

if ($<b><span>*</span>rP<span>*</span></b> == "tcp"){
          t_relay_to_tcp()
}

Regards

Varghese Paul</pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>