[asterisk-commits] mnicholson: branch 1.6.2 r322699 - /branches/1.6.2/channels/chan_sip.c

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


Author: mnicholson
Date: Thu Jun  9 10:37:04 2011
New Revision: 322699

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

Modified:
    branches/1.6.2/channels/chan_sip.c

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




More information about the asterisk-commits mailing list