Module: kamailio
Branch: master
Commit: eb653f02cfe25a2c3b6388d5c581a37139707e77
URL:
https://github.com/kamailio/kamailio/commit/eb653f02cfe25a2c3b6388d5c581a37…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-02-27T09:27:03+01:00
tls: use kemi wrapper to execute routing functions
---
Modified: src/modules/tls/tls_server.c
---
Diff:
https://github.com/kamailio/kamailio/commit/eb653f02cfe25a2c3b6388d5c581a37…
Patch:
https://github.com/kamailio/kamailio/commit/eb653f02cfe25a2c3b6388d5c581a37…
---
diff --git a/src/modules/tls/tls_server.c b/src/modules/tls/tls_server.c
index 1de6b94fda..812015f622 100644
--- a/src/modules/tls/tls_server.c
+++ b/src/modules/tls/tls_server.c
@@ -1477,7 +1477,7 @@ int tls_run_event_routes(struct tcp_connection *c)
} else {
keng = sr_kemi_eng_get();
if(keng!=NULL) {
- if(keng->froute(fmsg, EVENT_ROUTE,
+ if(sr_kemi_route(keng, fmsg, EVENT_ROUTE,
&sr_tls_event_callback, &evname)<0) {
LM_ERR("error running event route kemi callback\n");
return -1;