From: Paul Cadach Date: Thu, 28 Sep 2006 10:51:21 +0000 (+0000) Subject: Do not open transmit channel until TCS is received X-Git-Tag: 1.4.0-beta3~147 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e2d1986cec2d59bb02dc4daf05c0675b71c5108f;p=thirdparty%2Fasterisk.git Do not open transmit channel until TCS is received git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43846 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/h323/ast_h323.cxx b/channels/h323/ast_h323.cxx index 6a3eb7ec15..73b81865f0 100644 --- a/channels/h323/ast_h323.cxx +++ b/channels/h323/ast_h323.cxx @@ -1394,6 +1394,10 @@ H323Channel * MyH323Connection::CreateRealTimeLogicalChannel(const H323Capabilit 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); }