IAX2 defer_full_frames fail to get sent
[asterisk/asterisk.git] / channels / chan_iax2.c
index e6b40a7..c15aa85 100644 (file)
@@ -9515,6 +9515,9 @@ static void defer_full_frame(struct iax2_thread *from_here, struct iax2_thread *
        if (!cur_pkt_buf)
                AST_LIST_INSERT_TAIL(&to_here->full_frames, pkt_buf, entry);
 
+       to_here->iostate = IAX_IOSTATE_READY;
+       ast_cond_signal(&to_here->cond);
+
        ast_mutex_unlock(&to_here->lock);
 }