diff options
author | Henri Herscher <henri@oreka.org> | 2008-07-17 13:58:10 +0000 |
---|---|---|
committer | Henri Herscher <henri@oreka.org> | 2008-07-17 13:58:10 +0000 |
commit | 51ab6edcab824eca6dcf6b34f207aa99226b862c (patch) | |
tree | 5469e55cba07f1a4073c18f2f306f8cd725e2b4f /orkaudio/audiocaptureplugins/voip/RtpSession.h | |
parent | 34724e7903c9b9ee2c1ce90addfb571d77049855 (diff) |
Added SkinnyCallInfoStopsPrevious config parameter. This allows a new CallInfo to stop the previous session on the same Skinny endpoint and line instance.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@552 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkaudio/audiocaptureplugins/voip/RtpSession.h')
-rw-r--r-- | orkaudio/audiocaptureplugins/voip/RtpSession.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/orkaudio/audiocaptureplugins/voip/RtpSession.h b/orkaudio/audiocaptureplugins/voip/RtpSession.h index ce4b96c..abf7787 100644 --- a/orkaudio/audiocaptureplugins/voip/RtpSession.h +++ b/orkaudio/audiocaptureplugins/voip/RtpSession.h @@ -148,6 +148,7 @@ public: struct in_addr m_endPointIp; // only used for Skinny int m_skinnyPassThruPartyId; ACE_Time_Value m_skinnyLastCallInfoTime; + int m_skinnyLineInstance; bool m_onHold; bool m_keep; bool m_nonLookBackSessionStarted; @@ -230,9 +231,10 @@ public: void StartCapture(CStdString& party); private: - RtpSessionRef findByEndpointIp(struct in_addr, int passThruPartyId = 0); + RtpSessionRef findByEndpointIp(struct in_addr endpointIpAddr, int passThruPartyId = 0); RtpSessionRef findNewestByEndpointIp(struct in_addr endpointIpAddr); RtpSessionRef findByEndpointIpUsingIpAndPort(struct in_addr endpointIpAddr); + RtpSessionRef findByEndpointIpAndLineInstance(struct in_addr endpointIpAddr, int lineInstance); bool 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); |