diff --git a/daemon/src/sip/sipaccount.cpp b/daemon/src/sip/sipaccount.cpp index 156e4d695226dc2fba29ee45aeafd08c4e39e217..796f25c44b283aabf5cfe308965db7d4c0ffbf30 100644 --- a/daemon/src/sip/sipaccount.cpp +++ b/daemon/src/sip/sipaccount.cpp @@ -428,10 +428,7 @@ void SIPAccount::setAccountDetails(std::map<std::string, std::string> details) srtpKeyExchange_ = details[CONFIG_SRTP_KEY_EXCHANGE]; // TLS settings - // The TLS listener is unique and globally defined through IP2IP_PROFILE - if (isIP2IP()) - tlsListenerPort_ = atoi(details[CONFIG_TLS_LISTENER_PORT].c_str()); - + tlsListenerPort_ = atoi(details[CONFIG_TLS_LISTENER_PORT].c_str()); tlsEnable_ = details[CONFIG_TLS_ENABLE]; tlsCaListFile_ = details[CONFIG_TLS_CA_LIST_FILE]; tlsCertificateFile_ = details[CONFIG_TLS_CERTIFICATE_FILE];