Module: kamailio
Branch: master
Commit: 3c2cf7c3aad2670b1feff5b5fde9a49ba9aeb295
URL:
https://github.com/kamailio/kamailio/commit/3c2cf7c3aad2670b1feff5b5fde9a49…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-02-27T09:27:03+01:00
msrp: use kemi wrapper to execute routing functions
---
Modified: src/modules/msrp/msrp_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/3c2cf7c3aad2670b1feff5b5fde9a49…
Patch:
https://github.com/kamailio/kamailio/commit/3c2cf7c3aad2670b1feff5b5fde9a49…
---
diff --git a/src/modules/msrp/msrp_mod.c b/src/modules/msrp/msrp_mod.c
index 2aa53e101a..d69beea133 100644
--- a/src/modules/msrp/msrp_mod.c
+++ b/src/modules/msrp/msrp_mod.c
@@ -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");
}
@@ -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);
-}
\ No newline at end of file
+}