<div dir="ltr">yes , script execute, but warning and errors by http_event. In other case no warnings and errors.  <br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 1, 2019 at 4:17 PM Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> 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">
<div 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="gmail-m_7137688496637499541moz-cite-prefix">On 01.03.19 12:50, <a class="gmail-m_7137688496637499541moz-txt-link-abbreviated" href="mailto:logosvlad@gmail.com" target="_blank">logosvlad@gmail.com</a>
wrote:<br>
</div>
<blockquote type="cite">
<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" target="_blank">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="gmail-m_7137688496637499541mimeAttachmentHeader"></fieldset>
<pre class="gmail-m_7137688496637499541moz-quote-pre">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="gmail-m_7137688496637499541moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
<a class="gmail-m_7137688496637499541moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="gmail-m_7137688496637499541moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="gmail-m_7137688496637499541moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a>
<a class="gmail-m_7137688496637499541moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="gmail-m_7137688496637499541moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 6-8, 2019 -- <a class="gmail-m_7137688496637499541moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank">www.kamailioworld.com</a>
Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC, USA -- <a class="gmail-m_7137688496637499541moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a></pre>
</div>
</blockquote></div>