Module: kamailio
Branch: master
Commit: 9446ed393d515255da7a04c881c92169e78c491d
URL:
https://github.com/kamailio/kamailio/commit/9446ed393d515255da7a04c881c9216…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-02-27T09:27:03+01:00
xmlrpc: use kemi wrapper to execute routing functions
---
Modified: src/modules/xmlrpc/xmlrpc.c
---
Diff:
https://github.com/kamailio/kamailio/commit/9446ed393d515255da7a04c881c9216…
Patch:
https://github.com/kamailio/kamailio/commit/9446ed393d515255da7a04c881c9216…
---
diff --git a/src/modules/xmlrpc/xmlrpc.c b/src/modules/xmlrpc/xmlrpc.c
index 793b2d2db2..9521af2386 100644
--- a/src/modules/xmlrpc/xmlrpc.c
+++ b/src/modules/xmlrpc/xmlrpc.c
@@ -2343,7 +2343,7 @@ static int em_receive_request(sip_msg_t* orig_msg,
}else{
keng = sr_kemi_eng_get();
if(keng!=NULL) {
- if(keng->froute(msg, EVENT_ROUTE,
+ if(sr_kemi_route(keng, msg, EVENT_ROUTE,
&xmlrpc_event_callback, &evrtname)<0) {
LM_ERR("error running event route kemi callback\n");
}