<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>these are only log errors and warnings, the script is executed,
      isn't it?</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 01.03.19 12:50, <a class="moz-txt-link-abbreviated" href="mailto:logosvlad@gmail.com">logosvlad@gmail.com</a>
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABuPiaJMaKJBFjnKLm4DriuOsESQeUmnwov6LsiZoZ-YssZuLA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">Hi there!<br>
          <br>
          we have an issue, and it's similar to reported in this thread:
          <a
href="http://sip-router.1086192.n5.nabble.com/exec-warning-td165448.html"
            moz-do-not-send="true">http://sip-router.1086192.n5.nabble.com/exec-warning-td165448.html</a><br>
          <br>
          We use kamailio 5.0.6. When we call route from http_event by
          url reguest (code is below)<br>
          <br>
          event_route[xhttp:request] {<br>
              set_reply_close();<br>
              set_reply_no_connect();<br>
          <br>
           if  ($(hu{url.path}) ==”update”)  {<br>
              route(DO_SMTH);<br>
              xhttp_reply("200", "OK”, "", "");<br>
              }<br>
          <br>
          route[DO_SMTH]<br>
          {<br>
              exec_avp(“/usr/bin/who”,”$avp(s:user_)”);<br>
          }<br>
          <br>
          <br>
          we got errors exec like these:<br>
          Mar  1 10:51:05 test kamailio[21035]: WARNING: exec
          [exec_hf.c:464]: append_fixed_vars(): uri not parsed<br>
          Mar  1 10:51:05 test kamailio[21035]: WARNING: exec
          [exec_hf.c:482]: append_fixed_vars(): orig URI not parsed<br>
          Mar  1 10:51:05 test kamailio[21035]: ERROR: exec
          [../../core/char_msg_val.h:51]: char_msg_val(): can't
          calculate char_value due to a parsing error<br>
          Mar  1 10:51:05 test kamailio[21035]: WARNING: exec
          [exec_hf.c:492]: append_fixed_vars(): no tid can be determined<br>
          Mar  1 10:51:05 test kamailio[21035]: ERROR: exec
          [exec_hf.c:504]: append_fixed_vars(): no to-tag<br>
          <br>
          <br>
          But when we call route(DO_SMTH) from request_route - there are
          no such errors<br>
          <br>
          We think that it is something related to the nature of
          event_routes, <br>
          anything can be done with this? Should I create an issue on
          github?<br>
          <br>
          thanks for insights and ideas<br>
          <br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <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>
Kamailio World Conference - May 6-8, 2019 -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a>
Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC, USA -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a></pre>
  </body>
</html>