summaryrefslogtreecommitdiff
path: root/orkaudio/audiocaptureplugins/voip/RtpSession.h
diff options
context:
space:
mode:
authorGerald Begumisa <ben_g@users.sourceforge.net>2007-05-30 15:41:39 +0000
committerGerald Begumisa <ben_g@users.sourceforge.net>2007-05-30 15:41:39 +0000
commit87856bf5f56d2597209b7ed768f5096559e0587b (patch)
tree45defb5250e26cf766cf078ccfa7547febe70d26 /orkaudio/audiocaptureplugins/voip/RtpSession.h
parenteff2a681b32a1947c44f80e6936e416a9c47c555 (diff)
Fix for correct Skinny on-hold handling. Now, only one recording is created when an endpoint goes on hold then returns.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@441 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkaudio/audiocaptureplugins/voip/RtpSession.h')
-rw-r--r--orkaudio/audiocaptureplugins/voip/RtpSession.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/orkaudio/audiocaptureplugins/voip/RtpSession.h b/orkaudio/audiocaptureplugins/voip/RtpSession.h
index 6c66e85..70c0f4b 100644
--- a/orkaudio/audiocaptureplugins/voip/RtpSession.h
+++ b/orkaudio/audiocaptureplugins/voip/RtpSession.h
@@ -88,6 +88,8 @@ public:
int m_numRtpPackets;
struct in_addr m_endPointIp; // only used for Skinny
+ bool m_onHold;
+
private:
void ProcessMetadataSip(RtpPacketInfoRef&);
void ProcessMetadataSipIncoming();
@@ -140,11 +142,14 @@ public:
void ReportSkinnyStopMediaTransmission(SkStopMediaTransmissionStruct*, IpHeaderStruct* ipHeader);
void ReportSkinnyOpenReceiveChannelAck(SkOpenReceiveChannelAckStruct*);
void ReportSkinnyLineStat(SkLineStatStruct*, IpHeaderStruct* ipHeader);
+ void ReportSkinnySoftKeyHold(SkSoftKeyEventMessageStruct* skEvent, IpHeaderStruct* ipHeader);
+ void ReportSkinnySoftKeyResume(SkSoftKeyEventMessageStruct* skEvent, IpHeaderStruct* ipHeader);
void ReportRtpPacket(RtpPacketInfoRef& rtpPacket);
void Hoover(time_t now);
EndpointInfoRef GetEndpointInfo(struct in_addr endpointIp);
private:
RtpSessionRef findByEndpointIp(struct in_addr);
+ RtpSessionRef findByEndpointIpUsingIpAndPort(struct in_addr endpointIpAddr);
void ChangeCallId(RtpSessionRef& session, unsigned int newId);
void SetMediaAddress(RtpSessionRef& session, struct in_addr mediaIp, unsigned short mediaPort);
CStdString GenerateSkinnyCallId(struct in_addr endpointIp, unsigned int callId);