<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 16.05.20 23:56, Easy Rider wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CACpwqg5wiLV7D08AYc0p=bs8w63+Mh6Sdo-gE=7s2GDrEqdtVw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <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>
    <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>