Skip to content

Commit

Permalink
rtp_relay: mark session as successful if we have callee's SDP
Browse files Browse the repository at this point in the history
(cherry picked from commit 9d77b6d)
  • Loading branch information
razvancrainea committed Jul 25, 2023
1 parent f2f87bc commit e42a648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/rtp_relay/rtp_relay_ctx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1779,7 +1779,7 @@ static int rtp_relay_ctx_leg_reply(struct rtp_relay_ctx *ctx, struct sip_msg *ms
ret = rtp_relay_offer(&info, ctx, sess, type, NULL);
else
ret = rtp_relay_answer(&info, ctx, sess, type, NULL);
if (ret > 0 && !rtp_sess_success(sess) && msg->REPLY_STATUS >= 200)
if (ret > 0 && !rtp_sess_success(sess))
rtp_relay_sess_success(ctx, sess, t, msg);
return ret;
}
Expand Down

0 comments on commit e42a648

Please sign in to comment.