summaryrefslogtreecommitdiff
path: root/orkaudio/audiocaptureplugins/voip/RtpSession.h
diff options
context:
space:
mode:
authorGerald Begumisa <ben_g@users.sourceforge.net>2008-05-09 18:12:30 +0000
committerGerald Begumisa <ben_g@users.sourceforge.net>2008-05-09 18:12:30 +0000
commitaaad6163c79cdab20f6dfe5255887287306608af (patch)
tree9b88d93cb24fcd436d71e8643bff4e864481fcab /orkaudio/audiocaptureplugins/voip/RtpSession.h
parente17262676d77711ca5c1c455f51c0b3a96ac7dae (diff)
Added new configuration parameter SipDirectionRefenceIpAddresses. This should be configured with a comma-delimited list of IP addresses under the VoIpPlugin section of config.xml. So if the IP address of the sender of the SIP INVITE message matches any of the IPs in this list, the direction of the session is set to "in"
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@538 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkaudio/audiocaptureplugins/voip/RtpSession.h')
-rw-r--r--orkaudio/audiocaptureplugins/voip/RtpSession.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/orkaudio/audiocaptureplugins/voip/RtpSession.h b/orkaudio/audiocaptureplugins/voip/RtpSession.h
index b08dc82..fb2ba4f 100644
--- a/orkaudio/audiocaptureplugins/voip/RtpSession.h
+++ b/orkaudio/audiocaptureplugins/voip/RtpSession.h
@@ -162,6 +162,7 @@ private:
void HandleRtpEvent(RtpPacketInfoRef& rtpPacket);
void RecordRtpEvent();
bool MatchesSipDomain(CStdString& domain);
+ bool MatchesReferenceAddresses(struct in_addr inAddr);
RtpPacketInfoRef m_lastRtpPacket;
RtpPacketInfoRef m_lastRtpPacketSide1;