Skip to content
Snippets Groups Projects
Commit fe7739f7 authored by Alexandre Savard's avatar Alexandre Savard Committed by Tristan Matthews
Browse files

#9623: Allow all account to change tls listener port (not only IP2IP)

parent 51ea1c67
No related branches found
No related tags found
No related merge requests found
...@@ -428,10 +428,7 @@ void SIPAccount::setAccountDetails(std::map<std::string, std::string> details) ...@@ -428,10 +428,7 @@ void SIPAccount::setAccountDetails(std::map<std::string, std::string> details)
srtpKeyExchange_ = details[CONFIG_SRTP_KEY_EXCHANGE]; srtpKeyExchange_ = details[CONFIG_SRTP_KEY_EXCHANGE];
// TLS settings // 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]; tlsEnable_ = details[CONFIG_TLS_ENABLE];
tlsCaListFile_ = details[CONFIG_TLS_CA_LIST_FILE]; tlsCaListFile_ = details[CONFIG_TLS_CA_LIST_FILE];
tlsCertificateFile_ = details[CONFIG_TLS_CERTIFICATE_FILE]; tlsCertificateFile_ = details[CONFIG_TLS_CERTIFICATE_FILE];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment