[SR-Users] http_event have errors with exec_avp
Daniel-Constantin Mierla
miconda at gmail.com
Fri Mar 1 15:17:45 CET 2019
Hello,
these are only log errors and warnings, the script is executed, isn't it?
Cheers,
Daniel
On 01.03.19 12:50, logosvlad at gmail.com wrote:
> Hi there!
>
> we have an issue, and it's similar to reported in this thread:
> http://sip-router.1086192.n5.nabble.com/exec-warning-td165448.html
>
> We use kamailio 5.0.6. When we call route from http_event by url
> reguest (code is below)
>
> event_route[xhttp:request] {
> set_reply_close();
> set_reply_no_connect();
>
> if ($(hu{url.path}) ==”update”) {
> route(DO_SMTH);
> xhttp_reply("200", "OK”, "", "");
> }
>
> route[DO_SMTH]
> {
> exec_avp(“/usr/bin/who”,”$avp(s:user_)”);
> }
>
>
> we got errors exec like these:
> Mar 1 10:51:05 test kamailio[21035]: WARNING: exec [exec_hf.c:464]:
> append_fixed_vars(): uri not parsed
> Mar 1 10:51:05 test kamailio[21035]: WARNING: exec [exec_hf.c:482]:
> append_fixed_vars(): orig URI not parsed
> 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
> Mar 1 10:51:05 test kamailio[21035]: WARNING: exec [exec_hf.c:492]:
> append_fixed_vars(): no tid can be determined
> Mar 1 10:51:05 test kamailio[21035]: ERROR: exec [exec_hf.c:504]:
> append_fixed_vars(): no to-tag
>
>
> But when we call route(DO_SMTH) from request_route - there are no such
> errors
>
> We think that it is something related to the nature of event_routes,
> anything can be done with this? Should I create an issue on github?
>
> thanks for insights and ideas
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com
Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC, USA -- www.asipto.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190301/2a2369de/attachment.html>
More information about the sr-users
mailing list