From 1f89548d659d9d8003dee541e602f3c899a19105 Mon Sep 17 00:00:00 2001 From: Alec L Davis Date: Fri, 12 Apr 2013 08:46:19 +0000 Subject: [PATCH] IAX2 defer_full_frames fail to get sent Ensure iax2_process_thread is signalled when a deferred frame is queued to it. (issue ASTERISK-18827) Reported by: alecdavis Tested by: alecdavis alecdavis (license 585) Review https://reviewboard.asterisk.org/r/2426/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@385429 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_iax2.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 35228fa798..81e9819012 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -9608,6 +9608,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); } -- 2.47.3