summaryrefslogtreecommitdiff
path: root/orkaudio/messages
diff options
context:
space:
mode:
authorHenri Herscher <henri@oreka.org>2006-04-14 20:41:57 +0000
committerHenri Herscher <henri@oreka.org>2006-04-14 20:41:57 +0000
commite826f0fed4ca9c31ff70ffba22b072fc58e4c306 (patch)
tree6b3313997966be3bff8a0174d5e6a39227182579 /orkaudio/messages
parent12ed4e413577cdfabe7123dc8bfe70df05b87fe9 (diff)
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
Diffstat (limited to 'orkaudio/messages')
-rw-r--r--orkaudio/messages/TapeMsg.cpp5
-rw-r--r--orkaudio/messages/TapeMsg.h8
2 files changed, 13 insertions, 0 deletions
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<TapeMsg> TapeMsgRef;