diff options
author | Gerald Begumisa <ben_g@users.sourceforge.net> | 2007-09-21 17:26:05 +0000 |
---|---|---|
committer | Gerald Begumisa <ben_g@users.sourceforge.net> | 2007-09-21 17:26:05 +0000 |
commit | 5a418de8f295d76e16873a0f1a8314e2a9fa6745 (patch) | |
tree | 10cc23c3fecf6ff2d876c58503885f4b9e65a286 /orkaudio/audiocaptureplugins/voip/RtpSession.h | |
parent | 92876587193f588bb1fd34853861f3fedea25b6a (diff) |
Added support to report RTP events in SIP sessions
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@494 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkaudio/audiocaptureplugins/voip/RtpSession.h')
-rw-r--r-- | orkaudio/audiocaptureplugins/voip/RtpSession.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/orkaudio/audiocaptureplugins/voip/RtpSession.h b/orkaudio/audiocaptureplugins/voip/RtpSession.h index 02cc7ce..9c59593 100644 --- a/orkaudio/audiocaptureplugins/voip/RtpSession.h +++ b/orkaudio/audiocaptureplugins/voip/RtpSession.h @@ -42,6 +42,7 @@ public: bool m_validated; // true when an RTP stream has been seen for the INVITE bool m_attrSendonly; // true if the SDP has a:sendonly std::map<CStdString, CStdString> m_extractedFields; + CStdString m_telephoneEventPayloadType; time_t m_recvTime; }; @@ -145,6 +146,8 @@ private: void ProcessMetadataSkinny(RtpPacketInfoRef& rtpPacket); void ReportMetadata(); void GenerateOrkUid(); + void HandleRtpEvent(RtpPacketInfoRef& rtpPacket); + void RecordRtpEvent(); RtpPacketInfoRef m_lastRtpPacket; RtpPacketInfoRef m_lastRtpPacketSide1; @@ -174,6 +177,14 @@ private: TcpAddressList m_rtpAddressList; std::list<SipInviteInfoRef> m_invites; std::map<CStdString, CStdString> m_tags; + CStdString m_telephoneEventPayloadType; + + unsigned short m_currentRtpEvent; + unsigned int m_currentRtpEventTs; + unsigned int m_currentDtmfDuration; + unsigned int m_currentDtmfVolume; + unsigned int m_currentSeqNo; + unsigned int m_lastEventEndSeqNo; }; typedef boost::shared_ptr<RtpSession> RtpSessionRef; |