<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 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 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 href="mailto:sr-users@lists.sip-router.org" target="_blank">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>
          </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 href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<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>
</pre>
    </blockquote>
    <br>
  </div></div></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><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>