diff options
author | Gerald Begumisa <ben_g@users.sourceforge.net> | 2008-04-15 14:44:51 +0000 |
---|---|---|
committer | Gerald Begumisa <ben_g@users.sourceforge.net> | 2008-04-15 14:44:51 +0000 |
commit | 0ef1e5245dd3112c25001439b72386e9004cb545 (patch) | |
tree | c0650ecc58e7ab5d859bb59f6143cc3f3ce52f1e | |
parent | 62307f579598d3ace8916aa3b66f6c3fa5c73ff9 (diff) |
Added support for the case where the SIP INVITE has no SDP - but SDP is to be later obtained from a later SIP 200 OK. For this to work, set the parameter SipUse200OkMediaAddress to true (this should be configured under the VoIpPlugin section of config.xml).
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@534 09dcff7a-b715-0410-9601-b79a96267cd0
-rw-r--r-- | orkaudio/audiocaptureplugins/voip/VoIp.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/orkaudio/audiocaptureplugins/voip/VoIp.cpp b/orkaudio/audiocaptureplugins/voip/VoIp.cpp index a2a07a4..130c720 100644 --- a/orkaudio/audiocaptureplugins/voip/VoIp.cpp +++ b/orkaudio/audiocaptureplugins/voip/VoIp.cpp @@ -1813,6 +1813,16 @@ bool TrySipInvite(EthernetHeaderStruct* ethernetHeader, IpHeaderStruct* ipHeader { RtpSessionsSingleton::instance()->ReportSipInvite(info); } + else + { + if(drop == false && DLLCONFIG.m_sipUse200OkMediaAddress && info->m_from.size() && info->m_to.size() && info->m_callId.size()) + { + // Get information from 200 OK + RtpSessionsSingleton::instance()->ReportSipInvite(info); + } + //logMsg.Format("Not logging this INVITE: drop:%s m_fromRtpPort:%s from:%s to:%s callId:%s", (drop ? "true" : "false"), info->m_fromRtpPort, info->m_from, info->m_to, info->m_callId); + //LOG4CXX_INFO(s_sipPacketLog, logMsg); + } } return result; } |