diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c
index 1cd68736e8a38cb4d9e550c2bdaeaca749f1eff4..eb1d07d6ccb78d2606c30b147894cc0d44e72518 100644
--- a/res/res_rtp_asterisk.c
+++ b/res/res_rtp_asterisk.c
@@ -495,12 +495,10 @@ static void rtp_learning_seq_init(struct ast_rtp *rtp, uint16_t seq)
  */
 static int rtp_learning_rtp_seq_update(struct ast_rtp *rtp, uint16_t seq)
 {
-	int probation = 0;
+	int probation = 1;
 
 	ast_debug(1, "%p -- probation = %d, seq = %d\n", rtp, rtp->learning_probation, seq);
 
-	probation = 1;
-
 	if (seq == rtp->learning_max_seq + 1) {
 		/* packet is in sequence */
 		rtp->learning_probation--;