diff options
author | Henri Herscher <henri@oreka.org> | 2008-06-13 15:11:28 +0000 |
---|---|---|
committer | Henri Herscher <henri@oreka.org> | 2008-06-13 15:11:28 +0000 |
commit | 2617fbea5ba138b69a68f832ff6146274e580f2c (patch) | |
tree | 8a8d4e51f736582f7e227dd1d22b6735891a9b18 | |
parent | a6ba3be2c2f36a9a8db19715189046104126dd2d (diff) |
Made sure that sessions having already received their CallInfo message would not accept another CallInfo message in late CallInfo mode.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@546 09dcff7a-b715-0410-9601-b79a96267cd0
-rw-r--r-- | orkaudio/audiocaptureplugins/voip/RtpSession.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/orkaudio/audiocaptureplugins/voip/RtpSession.cpp b/orkaudio/audiocaptureplugins/voip/RtpSession.cpp index b1398c5..e1309dd 100644 --- a/orkaudio/audiocaptureplugins/voip/RtpSession.cpp +++ b/orkaudio/audiocaptureplugins/voip/RtpSession.cpp @@ -1205,8 +1205,9 @@ void RtpSessions::ReportSkinnyCallInfo(SkCallInfoStruct* callInfo, IpHeaderStruc { RtpSessionRef ipPortSession = findByEndpointIpUsingIpAndPort(ipHeader->ip_dest); - if(ipPortSession.get()) + if(ipPortSession.get() && ipPortSession->m_callId.IsEmpty()) { + // The session has not already had a CallInfo, update it with CallInfo data ipPortSession->m_skinnyLastCallInfoTime = ACE_OS::gettimeofday(); ipPortSession->m_callId = callId; UpdateSessionWithCallInfo(callInfo, ipPortSession); |