Disable RTP forward gracefully if caller does not support it.

git-svn-id: http://yate.null.ro/svn/yate/trunk@1201 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2007-02-27 20:23:15 +00:00
parent c046365845
commit 0c6bfd0b86
1 changed files with 4 additions and 0 deletions

View File

@ -1111,6 +1111,10 @@ H323Connection::AnswerCallResponse YateH323Connection::OnAnswerCall(const PStrin
m->addParam("rtp_addr",m_remoteAddr);
m->addParam("rtp_port",String(m_remotePort));
}
else if (m_passtrough) {
Debug(this,DebugNote,"Disabling RTP forward because of slow start mode [%p]",this);
m_passtrough = false;
}
if (m_remoteFormats)
m->addParam("formats",m_remoteFormats);