diff options
author | Gerald Begumisa <ben_g@users.sourceforge.net> | 2007-12-20 02:53:14 +0000 |
---|---|---|
committer | Gerald Begumisa <ben_g@users.sourceforge.net> | 2007-12-20 02:53:14 +0000 |
commit | 0e9d7cb80716bd22e0e5234af0a7d3ba4d5a3091 (patch) | |
tree | c37832192a74edd2c0805cfd6b6e33d054ef1e23 /orkbasecxx/Config.h | |
parent | b4f73de93002e79ccdf6ee62cd91a533c0f7ba1f (diff) |
Added a new feature that allows orkaudio to filter recordings by the remote or local party. If the configuration parameter <PartyFilter> is filled with a CSV list of numbers or ranges of numbers such as <PartyFilter>300,450-490,4000-6000</PartyFilter>, orkaudio will only produce recordings for cases where the remote or local parties match a specified number or fall within the specified number range (for the case where a range has been specified).
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@516 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkbasecxx/Config.h')
-rw-r--r-- | orkbasecxx/Config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/orkbasecxx/Config.h b/orkbasecxx/Config.h index fb98405..5630a71 100644 --- a/orkbasecxx/Config.h +++ b/orkbasecxx/Config.h @@ -102,6 +102,8 @@ #define ALLOW_AUTOMATIC_RECORDING_DEFAULT true #define CAPTURE_FILE_SIZE_LIMIT_KB_PARAM "CaptureFileSizeLimitKb" #define CAPTURE_FILE_SIZE_LIMIT_KB_DEFAULT 300000 +#define PARTY_FILTER_PARAM "PartyFilter" +#define PARTY_FILTER_DEFAULT "" class DLL_IMPORT_EXPORT_ORKBASE Config : public Object { @@ -160,6 +162,7 @@ public: bool m_lookBackRecording; bool m_allowAutomaticRecording; int m_captureFileSizeLimitKb; + std::list<CStdString> m_partyFilter; private: log4cxx::LoggerPtr m_log; |