[asterisk-scf-commits] asterisk-scf/integration/sip.git branch "configuration" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Mon Apr 11 13:27:19 CDT 2011
branch "configuration" has been updated
via 6fa0d1a69f5290d1154951965017380dc4e61825 (commit)
from 06ba07d7d56ed8447eeb188eb4bb5770a9c41adc (commit)
Summary of changes:
src/PJSipManager.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 6fa0d1a69f5290d1154951965017380dc4e61825
Author: Joshua Colp <jcolp at digium.com>
Date: Mon Apr 11 15:30:30 2011 -0300
Do not attempt to start a TLS transport if pjsip has not been built with support for it.
diff --git a/src/PJSipManager.cpp b/src/PJSipManager.cpp
index 7571b80..2fb8f6f 100644
--- a/src/PJSipManager.cpp
+++ b/src/PJSipManager.cpp
@@ -189,7 +189,9 @@ pjsip_tpfactory *PJSipManager::createTLSTransport(std::string address, int port,
pjsip_tpfactory *tlsTransport = NULL;
+#if PJSIP_HAS_TLS_TRANSPORT
if (pjsip_tls_transport_start(mEndpoint, tlsSettings, &tlsAddr, NULL, 2, &tlsTransport) != PJ_SUCCESS)
+#endif
{
lg(Error) << "Failed to create TLS transport.";
}
-----------------------------------------------------------------------
--
asterisk-scf/integration/sip.git
More information about the asterisk-scf-commits
mailing list