Skip to content

Commit

Permalink
msrp: use kemi wrapper to execute routing functions
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Feb 27, 2019
1 parent c3ed3d9 commit 3c2cf7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/msrp/msrp_mod.c
Expand Up @@ -551,7 +551,7 @@ static int msrp_frame_received(sr_event_param_t *evp)
LM_ERR("event callback (%s) set, but no cfg engine\n",
msrp_event_callback.s);
} else {
if(keng->froute(fmsg, EVENT_ROUTE,
if(sr_kemi_route(keng, fmsg, EVENT_ROUTE,
&msrp_event_callback, &evname)<0) {
LM_ERR("error running event route kemi callback\n");
}
Expand Down Expand Up @@ -635,4 +635,4 @@ int mod_register(char *path, int *dlflags, void *p1, void *p2)
{
sr_kemi_modules_add(sr_kemi_msrp_exports);
return register_trans_mod(path, mod_trans);
}
}

0 comments on commit 3c2cf7c

Please sign in to comment.