From e826f0fed4ca9c31ff70ffba22b072fc58e4c306 Mon Sep 17 00:00:00 2001 From: Henri Herscher Date: Fri, 14 Apr 2006 20:41:57 +0000 Subject: OrkAudio now reports local and remote IP addresses for each tape when the voip plugin is used. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@217 09dcff7a-b715-0410-9601-b79a96267cd0 --- orkaudio/messages/TapeMsg.cpp | 5 +++++ orkaudio/messages/TapeMsg.h | 8 ++++++++ 2 files changed, 13 insertions(+) (limited to 'orkaudio/messages') diff --git a/orkaudio/messages/TapeMsg.cpp b/orkaudio/messages/TapeMsg.cpp index 4f21703..b624d08 100644 --- a/orkaudio/messages/TapeMsg.cpp +++ b/orkaudio/messages/TapeMsg.cpp @@ -41,6 +41,11 @@ void TapeMsg::Define(Serializer* s) s->StringValue(DIRECTION_PARAM, m_direction); s->IntValue(DURATION_PARAM, m_duration); s->StringValue(SERVICE_PARAM, m_serviceName); + + s->StringValue(LOCAL_IP_PARAM, m_localIp); + s->StringValue(REMOTE_IP_PARAM, m_remoteIp); + //s->StringValue(LOCAL_MAC_PARAM, m_localMac); + //s->StringValue(REMOTE_MAC_PARAM, m_remoteMac); } void TapeMsg::Validate() diff --git a/orkaudio/messages/TapeMsg.h b/orkaudio/messages/TapeMsg.h index 81f5e3e..3165bb4 100644 --- a/orkaudio/messages/TapeMsg.h +++ b/orkaudio/messages/TapeMsg.h @@ -28,6 +28,10 @@ #define LOCALENTRYPOINT_PARAM "localentrypoint" #define DURATION_PARAM "duration" #define SERVICE_PARAM "service" +#define LOCAL_IP_PARAM "localip" +#define REMOTE_IP_PARAM "remoteip" +#define LOCAL_MAC_PARAM "localmac" +#define REMOTE_MAC_PARAM "remotemac" class TapeMsg : public SyncMessage { @@ -53,6 +57,10 @@ public: CStdString m_loginString; int m_duration; CStdString m_serviceName; + CStdString m_localIp; + CStdString m_remoteIp; + CStdString m_localMac; + CStdString m_remoteMac; }; typedef boost::shared_ptr TapeMsgRef; -- cgit v1.2.3