diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index eb482bcdec..cc022d8d64 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -3064,6 +3064,7 @@ static void __attempt_transmit(const void *data) AST_LIST_REMOVE(&iaxq.queue, f, list); iaxq.count--; AST_LIST_UNLOCK(&iaxq.queue); + f->retrans = -1; /* this is safe because this is the scheduled function */ /* Free the IAX frame */ iax2_frame_free(f); }