[asterisk-commits] pcadach: branch 1.4 r43846 -
/branches/1.4/channels/h323/ast_h323.cxx
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu Sep 28 03:51:21 MST 2006
Author: pcadach
Date: Thu Sep 28 05:51:21 2006
New Revision: 43846
URL: http://svn.digium.com/view/asterisk?rev=43846&view=rev
Log:
Do not open transmit channel until TCS is received
Modified:
branches/1.4/channels/h323/ast_h323.cxx
Modified: branches/1.4/channels/h323/ast_h323.cxx
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/h323/ast_h323.cxx?rev=43846&r1=43845&r2=43846&view=diff
==============================================================================
--- branches/1.4/channels/h323/ast_h323.cxx (original)
+++ branches/1.4/channels/h323/ast_h323.cxx Thu Sep 28 05:51:21 2006
@@ -1394,6 +1394,10 @@
const H245_H2250LogicalChannelParameters * /*param*/,
RTP_QOS * /*param*/ )
{
+ /* Do not open tx channel when transmitter has been paused by empty TCS */
+ if ((dir == H323Channel::IsTransmitter) && transmitterSidePaused)
+ return NULL;
+
return new MyH323_ExternalRTPChannel(*this, capability, dir, sessionID);
}
More information about the asterisk-commits
mailing list