summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenri Herscher <henri@oreka.org>2006-01-30 21:38:54 +0000
committerHenri Herscher <henri@oreka.org>2006-01-30 21:38:54 +0000
commite9b2ca7e34c2f35251f98c78d28cab86812046c9 (patch)
tree07ce9b2f08f4b23e9e75cb23cb7120634ebb2b8e
parentaf62e2bc69e74ff09f53f5703d348e98a328957b (diff)
Fixed problem where Skinny CallInfo message resend would cause a skinny session to stop abruptly
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@147 09dcff7a-b715-0410-9601-b79a96267cd0
-rw-r--r--orkaudio/audiocaptureplugins/voip/RtpSession.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/orkaudio/audiocaptureplugins/voip/RtpSession.cpp b/orkaudio/audiocaptureplugins/voip/RtpSession.cpp
index 2cac30c..8cfbab7 100644
--- a/orkaudio/audiocaptureplugins/voip/RtpSession.cpp
+++ b/orkaudio/audiocaptureplugins/voip/RtpSession.cpp
@@ -458,11 +458,10 @@ void RtpSessions::ReportSkinnyCallInfo(SkCallInfoStruct* callInfo)
CStdString callId = IntToString(callInfo->callId);
std::map<CStdString, RtpSessionRef>::iterator pair;
pair = m_byCallId.find(callId);
+
if (pair != m_byCallId.end())
{
- // A session exists on the same CallId, stop old session
- RtpSessionRef session = pair->second;
- Stop(session);
+ return; // CM can resend the same message more than once in a session, so do nothing in this case
}
// create new session and insert into the callid map