diff options
author | Henri Herscher <henri@oreka.org> | 2009-06-11 23:00:18 +0000 |
---|---|---|
committer | Henri Herscher <henri@oreka.org> | 2009-06-11 23:00:18 +0000 |
commit | 4501ab5c6cfc68fb2f2a958e39bbc47487c1826d (patch) | |
tree | 999b64cf8b66eab3cf2e49a101a387cd3dbd69db /orkaudio/audiocaptureplugins/voip/VoIp.cpp | |
parent | 028b5c83275e16a286a26a63a3dcb4698e824793 (diff) |
Added PartiesUseName configuration parameter so that it is possible to report name instead of number for local and remote parties.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@622 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkaudio/audiocaptureplugins/voip/VoIp.cpp')
-rw-r--r-- | orkaudio/audiocaptureplugins/voip/VoIp.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/orkaudio/audiocaptureplugins/voip/VoIp.cpp b/orkaudio/audiocaptureplugins/voip/VoIp.cpp index bb22b7d..8c45c51 100644 --- a/orkaudio/audiocaptureplugins/voip/VoIp.cpp +++ b/orkaudio/audiocaptureplugins/voip/VoIp.cpp @@ -2140,10 +2140,7 @@ bool TrySipInvite(EthernetHeaderStruct* ethernetHeader, IpHeaderStruct* ipHeader char* fromFieldEnd = memFindEOL(fromField, sipEnd); - if(DLLCONFIG.m_sipReportNamesAsTags == true) - { - GrabSipName(fromField, fromFieldEnd, info->m_fromName); - } + GrabSipName(fromField, fromFieldEnd, info->m_fromName); char* sipUser = memFindAfter("sip:", fromField, fromFieldEnd); if(sipUser) @@ -2177,10 +2174,7 @@ bool TrySipInvite(EthernetHeaderStruct* ethernetHeader, IpHeaderStruct* ipHeader char* toFieldEnd = GrabLine(toField, sipEnd, to); LOG4CXX_DEBUG(s_sipExtractionLog, "to: " + to); - if(DLLCONFIG.m_sipReportNamesAsTags == true) - { - GrabSipName(toField, toFieldEnd, info->m_toName); - } + GrabSipName(toField, toFieldEnd, info->m_toName); char* sipUser = memFindAfter("sip:", toField, toFieldEnd); if(sipUser) |