<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello,<br>
    <br>
    does it add two record route headers when calling to an UDP
    destination? IIRC, the condition for double route is that incoming
    socket is different than outgoing socket and I am not sure if Peter
    updated it to detect a different sub-protocol type (as ws/wss are on
    top of tcp/tls).<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 7/31/13 1:21 PM, Peter Dunkley
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAEqTk6TNWEkxHwXwe-YWOczvwp61toRt5b5O2XfXGsi2x4O23g@mail.gmail.com"
      type="cite">
      <div dir="ltr">Have you tried the latest code on the 4.0 branch as
        I am sure there are fixes that have been made since the last
        release?
        <div><br>
        </div>
        <div>Also, if using WebSockets I do strongly recommend you try
          Git master if you have any problems. There may well be fixes
          there that haven't been back-ported to the 4.0 branch yet.</div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div><br>
        </div>
        <div>Peter</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On 31 July 2013 11:56, Vitaliy
          Aleksandrov <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:vitalik.voip@gmail.com" target="_blank">vitalik.voip@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">
              <div>Hello, <br>
                Thanks for a quick reply.<br>
                <br>
                No, outbound module is not loaded. As I understood from
                RR docs double_rr won't work if outbound module is
                present.<br>
                I've added mhomed=1 to my config, but record_route()
                still inserts only one rr with transport=ws.<br>
                <br>
                <br>
              </div>
              <div>
                <div class="h5">
                  <blockquote type="cite">
                    <div dir="ltr">Are you using outbound?  If you are I
                      suggest trying git master rather than the 4.0
                      branch.
                      <div><br>
                      </div>
                      <div>Regards,</div>
                      <div><br>
                      </div>
                      <div>Peter</div>
                    </div>
                    <div class="gmail_extra"><br>
                      <br>
                      <div class="gmail_quote"> On 31 July 2013 10:53,
                        Vitaliy Aleksandrov <span dir="ltr"><<a
                            moz-do-not-send="true"
                            href="mailto:vitalik.voip@gmail.com"
                            target="_blank">vitalik.voip@gmail.com</a>></span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex"> Hello.<br>
                          <br>
                          I'm trying to configure kamailio as a gateway
                          between Websocket and TCP/TLS transports.<br>
                          <br>
                          When I call record_route() for an initial
                          INVITE that comes via WS and will be forwarded
                          via TCP to a registered UA kamailio inserts
                          only a one record-route header with its IP and
                          transport=ws instead of two record-route
                          headers with both incoming/outgoing
                          transports.<br>
                          <br>
                          This behaviour breaks in-dialog requests
                          routing.<br>
                          <br>
                          rr module parameters are:<br>
                          modparam("rr", "enable_full_lr", 1)<br>
                          modparam("rr", "append_fromtag", 0)<br>
                          modparam("rr", "enable_double_rr", 1)<br>
                          <br>
                          I use:<br>
                          - kamailio-4.0.2<br>
                          - sipml5 as sip client<br>
                          <br>
                          Can anybody point me in the right direction to
                          understand why it happens ?<br>
                          <br>
                          <br>
_______________________________________________<br>
                          SIP Express Router (SER) and Kamailio
                          (OpenSER) - sr-users mailing list<br>
                          <a moz-do-not-send="true"
                            href="mailto:sr-users@lists.sip-router.org"
                            target="_blank">sr-users@lists.sip-router.org</a><br>
                          <a moz-do-not-send="true"
                            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>
                        </blockquote>
                      </div>
                      <br>
                      <br clear="all">
                      <div><br>
                      </div>
                      -- <br>
                      <div dir="ltr">
                        <div><font face="courier new, monospace">Peter
                            Dunkley</font></div>
                        <div><font face="courier new, monospace">Technical
                            Director</font></div>
                        <div> <font face="courier new, monospace">Crocodile
                            RCS Ltd</font></div>
                      </div>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                    <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" 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>
</pre>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
            mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
            <a moz-do-not-send="true"
              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>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div dir="ltr">
          <div><font face="courier new, monospace">Peter Dunkley</font></div>
          <div><font face="courier new, monospace">Technical Director</font></div>
          <div>
            <font face="courier new, monospace">Crocodile RCS Ltd</font></div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.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-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
</pre>
  </body>
</html>