<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body 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>
    <br>
    <div class="moz-cite-prefix">On 10/02/2017 20:44, Andy Chen wrote:<br>
    </div>
    <blockquote
cite="mid:CAEytwJ0SQvsVG-OyFGa-yXYdsSpARerFiH+kSM7-d3ZHdJ2jvQ@mail.gmail.com"
      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 moz-do-not-send="true"
                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="h5"><br>
                    <div class="gmail_quote">On Fri, Feb 10, 2017 at
                      9:05 AM, Alex Balashov <span dir="ltr"><<a
                          moz-do-not-send="true"
                          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_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 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"
                          rel="noreferrer" target="_blank">http://lists.sip-router.org/cg<wbr>i-bin/mailman/listinfo/sr-user<wbr>s</a><br>
                        <span class="m_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 moz-do-not-send="true"
                              href="http://www.evaristesys.com/"
                              rel="noreferrer" target="_blank">http://www.evaristesys.com/</a>,
                            <a moz-do-not-send="true"
                              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 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"
                              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="HOEnZb"><font color="#888888">-- <br>
                    <div class="m_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 moz-do-not-send="true"
                              href="mailto:achen@thinkingphones.com"
                              target="_blank">achen@thinkingphones.com</a><br>
                            <div><img moz-do-not-send="true"></div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </font></span></div>
            </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 moz-do-not-send="true"
                    href="mailto:achen@thinkingphones.com"
                    target="_blank">achen@thinkingphones.com</a><br>
                  <div><img moz-do-not-send="true" src=""></div>
                </div>
              </div>
            </div>
          </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-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 Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 8-10, 2017 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>