summaryrefslogtreecommitdiff
path: root/orkaudio/audiocaptureplugins/voip/VoIpConfig.cpp
diff options
context:
space:
mode:
authorGerald Begumisa <ben_g@users.sourceforge.net>2008-03-06 17:52:46 +0000
committerGerald Begumisa <ben_g@users.sourceforge.net>2008-03-06 17:52:46 +0000
commitc8218d259f148e5eb267369a2e508d43570291c0 (patch)
tree7b6b1243e3e72dc5efa3f24704226e4ff72cb1a0 /orkaudio/audiocaptureplugins/voip/VoIpConfig.cpp
parent0937742d2f5689c93efca3a5a56e8b36f81152c7 (diff)
Changed the way direction is determined while recording SIP-based VoIP sessions. A new configuration parameter, SipDomains, has been created and should be set under the VoIpPlugin section in config.xml. This parameter should contain a comma separated list of domains. So, if the domain of the SIP "from" URI matches any entry in this list, direction is set to "out". If the domain of the SIP "to" URI matches any entry in this list, direction is set to "in". If both domains of the "from" and "to" URIs match entries in this list, direction is set to "out" which is also the default case.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@527 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkaudio/audiocaptureplugins/voip/VoIpConfig.cpp')
-rw-r--r--orkaudio/audiocaptureplugins/voip/VoIpConfig.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/orkaudio/audiocaptureplugins/voip/VoIpConfig.cpp b/orkaudio/audiocaptureplugins/voip/VoIpConfig.cpp
index 79462ae..ddd1758 100644
--- a/orkaudio/audiocaptureplugins/voip/VoIpConfig.cpp
+++ b/orkaudio/audiocaptureplugins/voip/VoIpConfig.cpp
@@ -109,6 +109,8 @@ void VoIpConfig::Define(Serializer* s)
s->IntValue("SangomaRxTcpPortStart", m_sangomaRxTcpPortStart);
s->IntValue("SangomaTxTcpPortStart", m_sangomaTxTcpPortStart);
+
+ s->CsvValue("SipDomains", m_sipDomains);
}
void VoIpConfig::Validate()