mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 23:08:32 +00:00
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/ ........ Merged revisions 385429 from http://svn.asterisk.org/svn/asterisk/branches/1.8 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@385430 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -9685,6 +9685,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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user