@eschmidbauer commented on this pull request.
}
fmsg = faked_msg_next();
memcpy(&tmsg, fmsg, sizeof(sip_msg_t));
fmsg = &tmsg;
set_route_type(EVENT_ROUTE);
init_run_actions_ctx(&ctx);
- run_top_route(event_rt.rlist[rt], fmsg, 0);
+ if (rt < 0 && keng) {
+ if (sr_kemi_route(keng, fmsg, EVENT_ROUTE,
+ &nats_event_callback, evname) < 0) {
+ LM_ERR("error running event route kemi callback\n");
+ }
+ } else {
+ run_top_route(event_rt.rlist[rt], fmsg, 0);
+ }
```
if (rt < 0 && keng) {
if (sr_kemi_route(keng, fmsg, EVENT_ROUTE, &nats_event_callback, evname) < 0)
{
LM_ERR("error running event route kemi callback\n");
}
return 0;
}
run_top_route(event_rt.rlist[rt], fmsg, 0);
return 0;
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3154#pullrequestreview-1013437556
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3154/review/1013437556(a)github.com>