From e9b2ca7e34c2f35251f98c78d28cab86812046c9 Mon Sep 17 00:00:00 2001 From: Henri Herscher Date: Mon, 30 Jan 2006 21:38:54 +0000 Subject: 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 --- orkaudio/audiocaptureplugins/voip/RtpSession.cpp | 5 ++--- 1 file 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::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 -- cgit v1.2.3