diff options
author | beg_g <beg_g@09dcff7a-b715-0410-9601-b79a96267cd0> | 2009-10-27 09:50:35 +0000 |
---|---|---|
committer | beg_g <beg_g@09dcff7a-b715-0410-9601-b79a96267cd0> | 2009-10-27 09:50:35 +0000 |
commit | f34f0ec5187ab8d0d6d67afc4be791cefc0ad93d (patch) | |
tree | 6e4ca66a9e493e94a8cd9da0521373e6508e6bea /orkaudio/audiocaptureplugins/voip/RtpSession.h | |
parent | 431b8771bce2f011e570f32c6d21642394e356a2 (diff) |
Modified the VoIP plugin to support the cases where Skinny CallInfo is sent without corresponding StartMediaTransmission or OpenReceiveChannelAck messages.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@650 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkaudio/audiocaptureplugins/voip/RtpSession.h')
-rw-r--r-- | orkaudio/audiocaptureplugins/voip/RtpSession.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/orkaudio/audiocaptureplugins/voip/RtpSession.h b/orkaudio/audiocaptureplugins/voip/RtpSession.h index ec14d1e..2dd7f15 100644 --- a/orkaudio/audiocaptureplugins/voip/RtpSession.h +++ b/orkaudio/audiocaptureplugins/voip/RtpSession.h @@ -154,6 +154,8 @@ class EndpointInfo { public: CStdString m_extension; + CStdString m_latestCallId; + struct in_addr m_ip; }; typedef boost::shared_ptr<EndpointInfo> EndpointInfoRef; @@ -186,6 +188,7 @@ public: void ReportSkinnyCallInfo(SkCallInfoStruct*, IpHeaderStruct* ipHeader); CStdString GetOrkUid(); void MarkAsOnDemand(); + bool Stopped(); CStdString m_capturePort; CStdString m_trackingId; @@ -285,7 +288,7 @@ public: void ReportSkinnyStartMediaTransmission(SkStartMediaTransmissionStruct*, IpHeaderStruct* ipHeader); void ReportSkinnyStopMediaTransmission(SkStopMediaTransmissionStruct*, IpHeaderStruct* ipHeader); void ReportSkinnyOpenReceiveChannelAck(SkOpenReceiveChannelAckStruct*); - void SetEndpointExtension(CStdString& extension, struct in_addr* endpointIp); + void SetEndpointExtension(CStdString& extension, struct in_addr* endpointIp, CStdString& callId); void ReportSkinnyLineStat(SkLineStatStruct*, IpHeaderStruct* ipHeader); void ReportSkinnySoftKeyHold(SkSoftKeyEventMessageStruct* skEvent, IpHeaderStruct* ipHeader); void ReportSkinnySoftKeyResume(SkSoftKeyEventMessageStruct* skEvent, IpHeaderStruct* ipHeader); @@ -322,6 +325,7 @@ private: CStdString GenerateSkinnyCallId(struct in_addr endpointIp, unsigned int callId); void UpdateEndpointWithCallInfo(SkCallInfoStruct* callInfo, IpHeaderStruct* ipHeader); void UpdateSessionWithCallInfo(SkCallInfoStruct*, RtpSessionRef&); + bool TrySkinnySession(RtpPacketInfoRef& rtpPacket, EndpointInfoRef&); std::map<CStdString, RtpSessionRef> m_byIpAndPort; std::map<CStdString, RtpSessionRef> m_byCallId; |