Module: kamailio
Branch: master
Commit: 7f20200c9e0bca5c4ed16c55b9db162922a51e76
URL:
https://github.com/kamailio/kamailio/commit/7f20200c9e0bca5c4ed16c55b9db162…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-10T10:40:14+02:00
tls: set execution context for kemi callbacks
---
Modified: src/modules/tls/tls_server.c
---
Diff:
https://github.com/kamailio/kamailio/commit/7f20200c9e0bca5c4ed16c55b9db162…
Patch:
https://github.com/kamailio/kamailio/commit/7f20200c9e0bca5c4ed16c55b9db162…
---
diff --git a/src/modules/tls/tls_server.c b/src/modules/tls/tls_server.c
index 812015f622..5d3bc94522 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(sr_kemi_route(keng, fmsg, EVENT_ROUTE,
+ if(sr_kemi_ctx_route(keng, &ctx, fmsg, EVENT_ROUTE,
&sr_tls_event_callback, &evname)<0) {
LM_ERR("error running event route kemi callback\n");
return -1;