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