diff options
author | Henri Herscher <henri@oreka.org> | 2007-09-13 02:09:20 +0000 |
---|---|---|
committer | Henri Herscher <henri@oreka.org> | 2007-09-13 02:09:20 +0000 |
commit | 46a0111110d120ba3f3b5dfc4394ff21c122d5b1 (patch) | |
tree | 98dbed3fa102eed908cf764499fe87fa0c34abef /orkbasecxx | |
parent | 2ed32e3e08899067f1c339bfc8076c79a6806131 (diff) |
Native call ID now reported as part of tape message.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@489 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkbasecxx')
-rw-r--r-- | orkbasecxx/AudioTape.cpp | 1 | ||||
-rw-r--r-- | orkbasecxx/messages/TapeMsg.cpp | 1 | ||||
-rw-r--r-- | orkbasecxx/messages/TapeMsg.h | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/orkbasecxx/AudioTape.cpp b/orkbasecxx/AudioTape.cpp index ec0de0c..292a4a3 100644 --- a/orkbasecxx/AudioTape.cpp +++ b/orkbasecxx/AudioTape.cpp @@ -351,6 +351,7 @@ void AudioTape::PopulateTapeMessage(TapeMsg* msg, CaptureEvent::EventTypeEnum ev msg->m_timestamp = m_beginDate; msg->m_localIp = m_localIp; msg->m_remoteIp = m_remoteIp; + msg->m_nativeCallId = m_nativeCallId; MutexSentinel sentinel(m_mutex);; std::copy(m_tags.begin(), m_tags.end(), std::inserter(msg->m_tags, msg->m_tags.begin())); diff --git a/orkbasecxx/messages/TapeMsg.cpp b/orkbasecxx/messages/TapeMsg.cpp index 755048c..f91d844 100644 --- a/orkbasecxx/messages/TapeMsg.cpp +++ b/orkbasecxx/messages/TapeMsg.cpp @@ -47,6 +47,7 @@ void TapeMsg::Define(Serializer* s) s->StringValue(REMOTE_IP_PARAM, m_remoteIp); //s->StringValue(LOCAL_MAC_PARAM, m_localMac); //s->StringValue(REMOTE_MAC_PARAM, m_remoteMac); + s->StringValue(NATIVE_CALLID_PARAM, m_nativeCallId); s->CsvMapValue(TAGS_PARAM, m_tags); diff --git a/orkbasecxx/messages/TapeMsg.h b/orkbasecxx/messages/TapeMsg.h index 7f17faf..017ab0e 100644 --- a/orkbasecxx/messages/TapeMsg.h +++ b/orkbasecxx/messages/TapeMsg.h @@ -31,6 +31,7 @@ #define REMOTE_IP_PARAM "remoteip" #define LOCAL_MAC_PARAM "localmac" #define REMOTE_MAC_PARAM "remotemac" +#define NATIVE_CALLID_PARAM "nativecallid" #define TAGS_PARAM "tags" class DLL_IMPORT_EXPORT_ORKBASE TapeMsg : public SyncMessage @@ -60,6 +61,7 @@ public: CStdString m_remoteIp; CStdString m_localMac; CStdString m_remoteMac; + CStdString m_nativeCallId; std::map<CStdString, CStdString> m_tags; }; |