<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <tt>Hi Alexsandr,<br>
      <br>
      Well, the problem is more complex a bit. I see you configured
      OpenSIPs to add PATH header to REGISTER before sending it to FS.
      The address in PATH has UDP transport, so FS (if supports PATH)
      should send the calls back to OpenSIPS by using the address from
      PATH (with UDP). The contact in register has TLS transport (and
      you fwd it to FS as it is), but it should not be used directly by
      FS because of the presence and priority of PATH hdr.<br>
      <br>
      So, my only explanation is that FS does not support / not
      configured to handle PATH, so that it uses the address from
      contact, which is TLS.<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>
    <br>
    On 01/24/2013 03:04 PM, Chusov Alexsandr wrote:
    <blockquote
cite="mid:CABn9qfoJSOFDD=0jmNU-t85Fx-_8mO8UU-2Re0JY=8rbQweTew@mail.gmail.com"
      type="cite">
      <div dir="ltr"><span style="font-family:
          arial,helvetica,sans-serif;">Yes Opensips proxying the
          REGISTER to FS. <br>
          <span id="result_box" class="" lang="en"><span class="">No</span><span
              class="">, I get</span> <span class="">an error that</span>
            <span class="">TLC</span> <span class="">unsupported</span>
            <span class="">Profiles</span></span>. <br>
          <span id="result_box" class="" lang="en"><span class="">it
              seems that this</span> <span class="">problem</span> <span
              class="">FS </span></span></span><span
          style="font-family: arial,helvetica,sans-serif;"><span
            id="result_box" class="" lang="en"><span class=""><span
                id="result_box" class="" lang="en"><span class="">but I</span><span
                  class="">'m not sure yet. <a moz-do-not-send="true"
                    href="http://jira.freeswitch.org/browse/FS-4989">http://jira.freeswitch.org/browse/FS-4989</a></span></span>
            </span></span></span>
        <div class="gmail_extra">
          <br>
          <br>
          <div class="gmail_quote">2013/1/24 Bogdan-Andrei Iancu <span
              dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;</span><br>
            <blockquote class="gmail_quote" style="margin: 0px 0px 0px
              0.8ex; border-left: 1px solid rgb(204, 204, 204);
              padding-left: 1ex;">
              <div bgcolor="#ffffff" text="#000000"> <tt>Hi Chusov,<br>
                  <br>
                  Is your OpenSIPS proxying the REGISTER from clients to
                  FS ? Do you see how the INVITE FS wants to send via
                  TLS looks like ?<br>
                  <br>
                  Regards,<br>
                </tt>
                <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                <div>
                  <div class="h5"> <br>
                    On 01/22/2013 12:36 PM, Chusov Alexsandr wrote: </div>
                </div>
                <blockquote type="cite">
                  <div>
                    <div class="h5">
                      <div dir="ltr">
                        <div><span dir="ltr">Hello.<br>
                            I'm trying to deploy Opensips&nbsp; as a
                            front-end for TLS-UDP translation, as a
                            back-end would be FreeSWITCH. <br>
                            TLS -&gt; Opensips -&gt; UDP -&gt; </span><span
                            dir="ltr"><span dir="ltr">FreeSWITCH</span><br>
                            TLS work fine end point is registered. But
                            when freeswitch send invite he </span><span
                            dir="ltr"><span lang="en"><span>tries</span></span>
                          </span><span>use</span> <span>TLS</span> <span>instead
                            of</span> UDP. <span lang="en"><span>I
                              understand</span> <span>the problem</span>
                            <span>in&nbsp; </span></span><span dir="ltr">"transport=tls"</span></div>
                        <span lang="en"><span><br>
                          </span></span>
                        <div><span dir="ltr">Example register message: <br>
                          </span></div>
                        <div><span dir="ltr"></span></div>
                        <div><span dir="ltr"><br>
                            REGISTER <a moz-do-not-send="true">sip:10.222.0.22</a>
                            SIP/2.0<br>
                            Record-Route: <a moz-do-not-send="true">&lt;sip:10.222.0.22;r2=on;lr=on&gt;</a><br>
                            Record-Route: <a moz-do-not-send="true">&lt;sip:10.222.0.22;transport=tls;r2=on;lr=on&gt;</a><br>
                            Via: SIP/2.0/UDP
                            10.222.0.22;branch=z9hG4bKcydzigwkX;i=1<br>
                            Via: SIP/2.0/TCP
                            10.222.1.221:5060;branch=z9hG4bK317662383;rport=49521;alias<br>
                            From: &lt;<a moz-do-not-send="true"
                              href="mailto:sip%3A2128@10.222.0.22"
                              target="_blank">sip:2128@10.222.0.22</a>&gt;;tag=905919494<br>
                            To: &lt;<a moz-do-not-send="true"
                              href="mailto:sip%3A2128@10.222.0.22"
                              target="_blank">sip:2128@10.222.0.22</a>&gt;<br>
                            Call-ID: <a moz-do-not-send="true"
                              href="mailto:1735784069-5060-1@BA.CCC.B.CCB"
                              target="_blank">1735784069-5060-1@BA.CCC.B.CCB</a><br>
                            CSeq: 2011 REGISTER<br>
                            Contact:
                            <a moz-do-not-send="true">&lt;sip:2128@10.222.1.221:5060;transport=tls&gt;</a>;reg-id=1;+sip.instance="&lt;urn:uuid:00000000-0000-1000-8000-000B823DB6B2&gt;"<br>
                            Max-Forwards: 69<br>
                            User-Agent: Grandstream GXP1405 1.0.5.10<br>
                            Supported: path<br>
                            Expires: 0<br>
                            Allow: INVITE, ACK, OPTIONS, CANCEL, BYE,
                            SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE,
                            MESSAGE<br>
                            Content-Length: 0<br>
                            Path:
                            <a moz-do-not-send="true">&lt;sip:10.222.0.22;lr;received='sip:10.222.1.221:49521;transport=tls'&gt;</a><br>
                            <br>
                            <br>
                          </span><br>
                          Sorry for my english</div>
                      </div>
                    </div>
                  </div>
                  <pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                </blockquote>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
  </body>
</html>