Module: kamailio
Branch: master
Commit: f2c03790c4e7ec1976cb20ca06132eef0b4baa65
URL:
https://github.com/kamailio/kamailio/commit/f2c03790c4e7ec1976cb20ca06132ee…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-04-14T21:23:15+02:00
tm: lookup if kemi engine is set for onreply_route callback
---
Modified: modules/tm/t_reply.c
---
Diff:
https://github.com/kamailio/kamailio/commit/f2c03790c4e7ec1976cb20ca06132ee…
Patch:
https://github.com/kamailio/kamailio/commit/f2c03790c4e7ec1976cb20ca06132ee…
---
diff --git a/modules/tm/t_reply.c b/modules/tm/t_reply.c
index dececd8..2fa3620 100644
--- a/modules/tm/t_reply.c
+++ b/modules/tm/t_reply.c
@@ -2341,6 +2341,7 @@ int reply_received( struct sip_msg *p_msg )
/* Pre- and post-script callbacks have already
* been executed by the core. (Miklos)
*/
+ keng = sr_kemi_eng_get();
if(unlikely(keng!=NULL)) {
bctx = sr_kemi_act_ctx_get();
init_run_actions_ctx(&ctx);