<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,<br>
    </p>
    <div class="moz-cite-prefix">On 18.05.20 22:42, Easy Rider wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CACpwqg63ZDfdn6pC7VU_ZKpUqza_Te5LrfDjNTYbOOQtO=m-uQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">Hello<br>
        </div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">Le lun. 18 mai 2020 à 17:50,
            Daniel-Constantin Mierla <<a
              href="mailto:miconda@gmail.com" moz-do-not-send="true">miconda@gmail.com</a>>
            a écrit :<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">
            <div>
              <p>Hello,<br>
              </p>
              <div>On 16.05.20 23:56, Easy Rider wrote:<br>
              </div>
              <blockquote type="cite">
                <div dir="ltr">
                  <div>Thanks for the answer, very helpful<br>
                  </div>
                  <br>
                  <div class="gmail_quote">
                    <div dir="ltr" class="gmail_attr">On 16.05.2020
                      11:02, Daniel-Constantin Mierla wrote :<br>
                    </div>
                    <blockquote class="gmail_quote" style="margin:0px
                      0px 0px 0.8ex;border-left:1px solid
                      rgb(204,204,204);padding-left:1ex"><br>
                      Have you tried by setting the CSeq header inside
                      $uac_req(hdrs)?<br>
                    </blockquote>
                    <div><br>
                    </div>
                    <div>I tried, it simply adds another CSeq header,
                      not replacing the generated one (I also tried with
                      User-Agent header)</div>
                    <div>I may have to replace it manually on
                      tm:local-request event route<br>
                    </div>
                    <div><br>
                    </div>
                    <blockquote class="gmail_quote" style="margin:0px
                      0px 0px 0.8ex;border-left:1px solid
                      rgb(204,204,204);padding-left:1ex"> Then there is
                      the option with t_uac_send() from tm module:<br>
                      <br>
                        *<br>
                      <a
href="https://www.kamailio.org/docs/modules/stable/modules/tm.html#tm.f.t_uac_send"
                        rel="noreferrer" target="_blank"
                        moz-do-not-send="true">https://www.kamailio.org/docs/modules/stable/modules/tm.html#tm.f.t_uac_send</a><br>
                      <br>
                    </blockquote>
                    <div> </div>
                    <div>I did not know about this uac from TM module</div>
                    <div>I tried the function, but it doesn't seem to
                      accept variables as parameters... I must be doing
                      something wrong, it is almost useless if it can't
                      be used with variables</div>
                    <br>
                  </div>
                </div>
              </blockquote>
              <p>I looked at the code and it is supposed to evaluate
                variables. Can you show how you used the function and
                eventually what was sent to the network?</p>
            </div>
          </blockquote>
          <div>Problem is solved, it was a mistake on my side (I don't
            know which one though...), and I can use variables with no
            problem</div>
          <div>Thanks a lot<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">
            <div><br>
            </div>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <p>Good to know it was sorted out and no issue in the code.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<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>
Funding: <a class="moz-txt-link-freetext" href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a></pre>
  </body>
</html>