<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>just adding a bit more here ...<br>
    </p>
    When changing the transport protocol, kamailio does bridging
    automatically. For example, if two users call each other and one has
    registered over UDP and the other over TCP, nothing special is
    needed, usrloc/registrar/rr and tm will do the job internally.<br>
    <br>
    If the sip server is also the registrar, then the proxy must do Path
    extension processing (see path module).<br>
    <br>
    If you get traffic over TCP and want to send out over UDP, you can
    set the dst uri to a UDP address and relay, like next:<br>
    <br>
    $du = <a class="moz-txt-link-rfc2396E" href="sip:1.2.3.4:5060;transport=udp">"sip:1.2.3.4:5060;transport=udp"</a>;<br>
    t_relay();<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 04.10.18 19:45, Sergiu Pojoga wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJZsGCmTFcWy9MpBbY6yznXowGMMRWk4V-4uYwcuTjzqMqd2pA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <div dir="ltr">
        <div dir="ltr">Hi Laqoore,
          <div><br>
          </div>
          <div>For a start:</div>
          <div><br>
          </div>
          <div><i>mhomed=1</i><br>
          </div>
          <div><i>listen=<b>udp</b>:yourip:5060</i></div>
          <div><i>listen=<b>tcp</b>:yourip:5060</i></div>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">On Thu, Oct 4, 2018 at 12:06 PM M K <<a
            href="mailto:laqoore@outlook.com" target="_blank"
            moz-do-not-send="true">laqoore@outlook.com</a>> wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div dir="ltr">
            <div
              class="m_-4671802149716365488m_-8864091090128884476WordSection1">
              <p class="MsoNormal" style="margin:0cm 0cm
                0.0001pt;font-size:12pt;font-family:Calibri,sans-serif">
                <span style="font-size:11.0pt;font-family:Helvetica"
                  lang="EN-US">Hi, I'm struggling with the configuration
                  to use Kamailio as TCP UDP proxy: [SIP Client]
                  <-(TCP)-> [Proxy] <-(UDP)-> [SIP Server]
                  should be the setup. I only have one client and one
                  SIP server.</span></p>
              <p class="MsoNormal" style="margin:0cm 0cm
                0.0001pt;font-size:12pt;font-family:Calibri,sans-serif">
                <span style="font-size:11.0pt;font-family:Helvetica"
                  lang="EN-US"> </span></p>
              <p class="MsoNormal" style="margin:0cm 0cm
                0.0001pt;font-size:12pt;font-family:Calibri,sans-serif">
                <span style="font-size:11.0pt;font-family:Helvetica"
                  lang="EN-US">How do I get Kamailio configured as a
                  proxy so that translation between TCP and UDP works
                  (and vice versa)? I have not yet found any
                  documentation and examples that have caused messages
                  to arrive at my SIP server. I think I've been on the
                  wrong track so far and I'm looking forward to any
                  help.</span></p>
              <p class="MsoNormal" style="margin:0cm 0cm
                0.0001pt;font-size:12pt;font-family:Calibri,sans-serif">
                <span style="font-size:11.0pt;font-family:Helvetica"
                  lang="EN-US"> </span></p>
              <p class="MsoNormal" style="margin:0cm 0cm
                0.0001pt;font-size:12pt;font-family:Calibri,sans-serif">
                <span style="font-size:11.0pt;font-family:Helvetica">Thank
                  you in advance,</span></p>
              <p class="MsoNormal" style="margin:0cm 0cm
                0.0001pt;font-size:12pt;font-family:Calibri,sans-serif">
                <span style="font-size:11.0pt;font-family:Helvetica">Laqoore</span></p>
              <p class="MsoNormal" style="margin:0cm 0cm
                0.0001pt;font-size:12pt;font-family:Calibri,sans-serif">
                 </p>
            </div>
          </div>
          _______________________________________________<br>
          Kamailio (SER) - Users Mailing List<br>
          <a href="mailto:sr-users@lists.kamailio.org" target="_blank"
            moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
          <a
            href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
            rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio World Conference -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a>
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a></pre>
  </body>
</html>