diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c index ed10f35df6..9b1716a29e 100644 --- a/res/res_rtp_asterisk.c +++ b/res/res_rtp_asterisk.c @@ -3654,6 +3654,12 @@ static struct ast_frame *ast_rtp_read(struct ast_rtp_instance *instance, int rtc f = ast_frisolate(&srcupdate); AST_LIST_INSERT_TAIL(&frames, f, frame_list); + rtp->seedrxseqno = 0; + rtp->rxcount = 0; + rtp->cycles = 0; + rtp->lastrxseqno = 0; + rtp->rtcp->expected_prior = 0; + rtp->rtcp->received_prior = 0; rtp->last_seqno = 0; rtp->last_end_timestamp = 0; }