@rfuchs commented on this pull request.


In src/modules/rtpengine/rtpengine.c:

> +
+	fmsg = faked_msg_next();
+	rtb = get_route_type();
+	set_route_type(REQUEST_ROUTE);
+	init_run_actions_ctx(&ctx);
+	run_top_route(event_rt.rlist[dtmf_event_rt], fmsg, &ctx);
+	set_route_type(rtb);
+	if(ctx.run_flags & DROP_R_F) {
+		LM_ERR("exit due to 'drop' in event route\n");
+		goto error;
+	}
+
+	return 0;
+
+error:
+	srjson_DestroyDoc(&jdoc);

This also needs to be done on success, no?


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3473/review/1477039343@github.com>