[Opalvoip-svn] SF.net SVN: opalvoip:[33156] opal/trunk/src/ep/skinnyep.cxx
Brought to you by:
csoutheren,
rjongbloed
From: <rjo...@us...> - 2014-11-27 23:48:11
|
Revision: 33156 http://sourceforge.net/p/opalvoip/code/33156 Author: rjongbloed Date: 2014-11-27 23:48:03 +0000 (Thu, 27 Nov 2014) Log Message: ----------- Added some extra logging re skinny connect state changes. Modified Paths: -------------- opal/trunk/src/ep/skinnyep.cxx Modified: opal/trunk/src/ep/skinnyep.cxx =================================================================== --- opal/trunk/src/ep/skinnyep.cxx 2014-11-27 22:47:44 UTC (rev 33155) +++ opal/trunk/src/ep/skinnyep.cxx 2014-11-27 23:48:03 UTC (rev 33156) @@ -1018,10 +1018,13 @@ break; case OpalSkinnyEndPoint::eStateOnHook: - if (IsEstablished()) { + if (GetPhase() >= (IsOriginating() ? ConnectedPhase : EstablishedPhase)) { m_needSoftKeyEndcall = false; Release(EndedByRemoteUser); } + else { + PTRACE(4, "Unexpected on hook state change in call set up."); + } break; case OpalSkinnyEndPoint::eStateProceed : @@ -1039,6 +1042,9 @@ SetPhase(EstablishedPhase); OnEstablished(); } + else { + PTRACE_IF(2, GetPhase() < ConnectedPhase, "State connected before we answered - server probably configured for auto-answer"); + } break; default : This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |