[asterisk-commits] mnicholson: branch 1.4 r322698 - /branches/1.4/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 9 10:36:10 CDT 2011


Author: mnicholson
Date: Thu Jun  9 10:36:05 2011
New Revision: 322698

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=322698
Log:
unlock pvt when we drop voice frames received in early media when in t.38 mode

Modified:
    branches/1.4/channels/chan_sip.c

Modified: branches/1.4/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=322698&r1=322697&r2=322698
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Thu Jun  9 10:36:05 2011
@@ -4064,6 +4064,7 @@
 			ast_mutex_lock(&p->lock);
 			if (p->t38.state == T38_ENABLED && !p->t38.direct) {
 				/* drop frame, can't sent VOICE frames while in T.38 mode */
+				ast_mutex_unlock(&p->lock);
 				break;
 			} else if (p->rtp) {
 				/* If channel is not up, activate early media session */




More information about the asterisk-commits mailing list