Module: kamailio
Branch: master
Commit: 1b45419212f72d51dbe99d42087e119bb9dd15de
URL:
https://github.com/kamailio/kamailio/commit/1b45419212f72d51dbe99d42087e119…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-02-27T09:27:03+01:00
sipcapture: use kemi wrapper to execute routing functions
---
Modified: src/modules/sipcapture/sipcapture.c
---
Diff:
https://github.com/kamailio/kamailio/commit/1b45419212f72d51dbe99d42087e119…
Patch:
https://github.com/kamailio/kamailio/commit/1b45419212f72d51dbe99d42087e119…
---
diff --git a/src/modules/sipcapture/sipcapture.c b/src/modules/sipcapture/sipcapture.c
index 327e4e110f..dbb53c0537 100644
--- a/src/modules/sipcapture/sipcapture.c
+++ b/src/modules/sipcapture/sipcapture.c
@@ -2937,7 +2937,7 @@ static int nosip_hep_msg(sr_event_param_t *evp)
set_route_type(rtb);
return -1;
}
- if(keng->froute(msg, EVENT_ROUTE, &sc_event_callback, &evname) < 0) {
+ if(sr_kemi_route(keng, msg, EVENT_ROUTE, &sc_event_callback, &evname) < 0)
{
LM_ERR("error running event route kemi callback\n");
set_route_type(rtb);
return -1;