Skip to content

Commit

Permalink
topos: set context when executing event route
Browse files Browse the repository at this point in the history
- should fix detection of using KSR.drop()
- reported by GH #1924

(cherry picked from commit a383027)
  • Loading branch information
miconda committed Apr 10, 2019
1 parent d63b21f commit d82a6cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/topos/topos_mod.c
Expand Up @@ -521,7 +521,7 @@ static int tps_execute_event_route(sip_msg_t *msg, sr_event_param_t *evp,
run_top_route(event_rt.rlist[evidx], (msg)?msg:fmsg, &ctx);
} else {
if(keng!=NULL) {
if(sr_kemi_route(keng, (msg)?msg:fmsg, EVENT_ROUTE,
if(sr_kemi_ctx_route(keng, &ctx, (msg)?msg:fmsg, EVENT_ROUTE,
&_tps_eventrt_callback, evname)<0) {
LM_ERR("error running event route kemi callback\n");
p_onsend=NULL;
Expand Down

0 comments on commit d82a6cd

Please sign in to comment.