<div dir="ltr"><div>Hi Daniel,</div><div><br></div><div>To answer your earlier question, Kamailio receive the request via TLS, but need to forward the method to endpoint device via TCP with those Record-Route entries.  I used record_route_preset() but that broke my call so I ended up using appened_hf to get around this problem.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 13, 2017 at 3:18 AM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@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">
    <p>No, you should use either record_route() or
      record_route_preset(), not both of them for the same request.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p><div><div class="h5">
    <br>
    <div class="m_-2854220617356336422moz-cite-prefix">On 10/02/2017 20:44, Andy Chen wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">One other question.  Do I need to run
        record_route() after I run record_route_preset(string1,
        string2)?  I tried this and the Record-Route doesn't show
        presets I defined.
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Fri, Feb 10, 2017 at 9:25 AM, Andy
            Chen <span dir="ltr"><<a href="mailto:achen@fuze.com" target="_blank">achen@fuze.com</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div dir="ltr">So the ingress is actually TLS -> our
                VIP address and I see that as the second record.
                <div><br>
                </div>
                <div>The first record shows the physical interface of
                  the system with no transport value so it's always
                  defaulting to UDP.  I need to set this particular
                  header to use transport=tcp so subsequent UPDATE
                  messages from the server will use TCP throughout the
                  call.</div>
              </div>
              <div class="gmail_extra">
                <div>
                  <div class="m_-2854220617356336422h5"><br>
                    <div class="gmail_quote">On Fri, Feb 10, 2017 at
                      9:05 AM, Alex Balashov <span dir="ltr"><<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a>></span>
                      wrote:<br>
                      <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What is the actual goal?
                        If one of the RRs is generated by an ingress<br>
                        out of a TCP listener, it should already have
                        ;transport=TCP in it.<br>
                        <div>
                          <div class="m_-2854220617356336422m_3145623654317020994h5"><br>
                            On Fri, Feb 10, 2017 at 08:53:56AM -0800,
                            Andy Chen wrote:<br>
                            <br>
                            > Hi all,<br>
                            ><br>
                            > I need some advise on how to use the
                            record_route() function.  So I make<br>
                            > that call when the first method comes
                            in and there are two Record-Route<br>
                            > headers created.  However, one of of
                            the headers I want to add<br>
                            > transport=tcp.  What is the best way to
                            do this?<br>
                            ><br>
                            > I've tried adding that string per
                            documentation within the () and added it<br>
                            > to both.<br>
                            ><br>
                            > Thanks.<br>
                            ><br>
                            ><br>
                            > --<br>
                            > Andy Chen<br>
                            <br>
                          </div>
                        </div>
                        > ______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.sip-router.org/cg<wbr>i-bin/mailman/listinfo/sr-user<wbr>s</a><br>
                        <span class="m_-2854220617356336422m_3145623654317020994HOEnZb"><font color="#888888"><br>
                            <br>
                            --<br>
                            Alex Balashov | Principal | Evariste Systems
                            LLC<br>
                            <br>
                            Tel: +1-706-510-6800 (direct) /
                            +1-800-250-5920 (toll-free)<br>
                            Web: <a href="http://www.evaristesys.com/" rel="noreferrer" target="_blank">http://www.evaristesys.com/</a>,
                            <a href="http://www.csrpswitch.com/" rel="noreferrer" target="_blank">http://www.csrpswitch.com/</a><br>
                            <br>
                            ______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.sip-router.org/cg<wbr>i-bin/mailman/listinfo/sr-user<wbr>s</a><br>
                          </font></span></blockquote>
                    </div>
                    <br>
                    <br clear="all">
                    <div><br>
                    </div>
                  </div>
                </div>
                <span class="m_-2854220617356336422HOEnZb"><font color="#888888">-- <br>
                    <div class="m_-2854220617356336422m_3145623654317020994gmail_signature" data-smartmail="gmail_signature">
                      <div dir="ltr">
                        <div dir="ltr" style="font-size:12.8px">Andy
                          Chen</div>
                        <div dir="ltr" style="font-size:12.8px">
                          <div>Sr. Telephony Lead Engineer</div>
                          <div>415 516 5535 (M)</div>
                          <div><a href="mailto:achen@thinkingphones.com" target="_blank">achen@thinkingphones.com</a><br>
                            <div><img></div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </font></span></div>
            </blockquote>
          </div>
          <br>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          <div class="m_-2854220617356336422gmail_signature" data-smartmail="gmail_signature">
            <div dir="ltr">
              <div dir="ltr" style="font-size:12.8px">Andy Chen</div>
              <div dir="ltr" style="font-size:12.8px">
                <div>Sr. Telephony Lead Engineer</div>
                <div>415 516 5535 (M)</div>
                <div><a href="mailto:achen@thinkingphones.com" target="_blank">achen@thinkingphones.com</a><br>
                  <div><img></div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="m_-2854220617356336422mimeAttachmentHeader"></fieldset>
      <br>
      <pre>______________________________<wbr>_________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="m_-2854220617356336422moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a class="m_-2854220617356336422moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a>
</pre>
    </blockquote>
    <br>
    </div></div><pre class="m_-2854220617356336422moz-signature" cols="72"><span class="HOEnZb"><font color="#888888">-- 
Daniel-Constantin Mierla
</font></span><span class=""><a class="m_-2854220617356336422moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="m_-2854220617356336422moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - <a class="m_-2854220617356336422moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a>
Kamailio World Conference - May 8-10, 2017 - <a class="m_-2854220617356336422moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank">www.kamailioworld.com</a></span></pre>
  </div>

<br>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr" style="font-size:12.8px">Andy Chen</div><div dir="ltr" style="font-size:12.8px"><div>Sr. Telephony Lead Engineer</div><div>415 516 5535 (M)</div><div><a href="mailto:achen@thinkingphones.com" target="_blank">achen@thinkingphones.com</a><br><div><img src=""></div></div></div></div></div>
</div>