mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user