From 72fda6ebe7d6245b57178441c6355eb9d2402747 Mon Sep 17 00:00:00 2001 From: Henri Herscher Date: Mon, 30 Jul 2007 14:32:19 +0000 Subject: Added non-lookback recording mode. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@458 09dcff7a-b715-0410-9601-b79a96267cd0 --- orkaudio/audiocaptureplugins/voip/RtpSession.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'orkaudio/audiocaptureplugins/voip/RtpSession.h') diff --git a/orkaudio/audiocaptureplugins/voip/RtpSession.h b/orkaudio/audiocaptureplugins/voip/RtpSession.h index 861daad..2919926 100644 --- a/orkaudio/audiocaptureplugins/voip/RtpSession.h +++ b/orkaudio/audiocaptureplugins/voip/RtpSession.h @@ -78,6 +78,8 @@ public: void Start(); bool AddRtpPacket(RtpPacketInfoRef& rtpPacket); void ReportSipInvite(SipInviteInfoRef& invite); + bool OrkUidMatches(CStdString &oUid); + bool PartyMatches(CStdString &party); CStdString m_trackingId; CStdString m_ipAndPort; // IP address and TCP port of one side of the session, serves as a key for session storage and retrieval. Not necessarily the same as the capturePort (capturePort is usually the client (phone) IP+port) @@ -95,6 +97,8 @@ public: int m_skinnyPassThruPartyId; ACE_Time_Value m_skinnyLastCallInfoTime; bool m_onHold; + bool m_keep; + bool m_nonLookBackSessionStarted; private: void ProcessMetadataSip(RtpPacketInfoRef&); @@ -156,6 +160,8 @@ public: void ReportRtpPacket(RtpPacketInfoRef& rtpPacket); void Hoover(time_t now); EndpointInfoRef GetEndpointInfo(struct in_addr endpointIp); + void StartCapture(CStdString& party); + private: RtpSessionRef findByEndpointIp(struct in_addr, int passThruPartyId = 0); RtpSessionRef findNewestByEndpointIp(struct in_addr endpointIpAddr); -- cgit v1.2.3