Ver Fonte

tm: lookup if kemi engine is set for onreply_route callback

Daniel-Constantin Mierla há 9 anos atrás
pai
commit
f2c03790c4
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      modules/tm/t_reply.c

+ 1 - 0
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);