[asterisk-commits] alecdavis: branch 1.8 r385429 - /branches/1.8/channels/chan_iax2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Apr 12 03:46:28 CDT 2013


Author: alecdavis
Date: Fri Apr 12 03:46:19 2013
New Revision: 385429

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=385429
Log:
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/

Modified:
    branches/1.8/channels/chan_iax2.c

Modified: branches/1.8/channels/chan_iax2.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_iax2.c?view=diff&rev=385429&r1=385428&r2=385429
==============================================================================
--- branches/1.8/channels/chan_iax2.c (original)
+++ branches/1.8/channels/chan_iax2.c Fri Apr 12 03:46:19 2013
@@ -9608,6 +9608,9 @@
 
 	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);
 }




More information about the asterisk-commits mailing list