[Opalvoip-svn] SF.net SVN: opalvoip:[31324] opal/trunk/src/sip/sipcon.cxx
Brought to you by:
csoutheren,
rjongbloed
From: <rjo...@us...> - 2014-01-31 01:18:40
|
Revision: 31324 http://sourceforge.net/p/opalvoip/code/31324 Author: rjongbloed Date: 2014-01-31 01:18:36 +0000 (Fri, 31 Jan 2014) Log Message: ----------- Forgot to put back experimentally commented out code. Modified Paths: -------------- opal/trunk/src/sip/sipcon.cxx Modified: opal/trunk/src/sip/sipcon.cxx =================================================================== --- opal/trunk/src/sip/sipcon.cxx 2014-01-30 23:52:34 UTC (rev 31323) +++ opal/trunk/src/sip/sipcon.cxx 2014-01-31 01:18:36 UTC (rev 31324) @@ -1872,11 +1872,13 @@ ++m_sdpVersion; -#if 0 m_remoteFormatList = GetLocalMediaFormats(); m_remoteFormatList.MakeUnique(); AdjustMediaFormats(false, NULL, m_remoteFormatList); -#endif + if (m_remoteFormatList.IsEmpty()) { + PTRACE(2, "SIP\tNo media formats to offer!"); + return false; + } PSafePtr<OpalConnection> other = GetOtherPartyConnection(); if (other != NULL && other->GetConferenceState(NULL)) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |