diff --git a/modules/siprec/siprec_logic.c b/modules/siprec/siprec_logic.c index 4067564ab62..e314316c1d7 100644 --- a/modules/siprec/siprec_logic.c +++ b/modules/siprec/siprec_logic.c @@ -621,7 +621,6 @@ static void tm_update_recording(struct cell *t, int type, struct tmcb_params *ps void tm_start_recording(struct cell *t, int type, struct tmcb_params *ps) { - str *body; struct src_sess *ss; if (!is_invite(t)) @@ -633,11 +632,6 @@ void tm_start_recording(struct cell *t, int type, struct tmcb_params *ps) return; } - /* check if we have a reply with body */ - body = get_body_part(ps->rpl, TYPE_APPLICATION, SUBTYPE_SDP); - if (!body || body->len == 0) - return; - /* engage only on successful calls */ SIPREC_LOCK(ss); /* if session has been started, do not start it again */