Skip to content
Snippets Groups Projects
Commit 3c25f607 authored by Pierre Nicolas's avatar Pierre Nicolas :joy:
Browse files

sip: add SRTP keys for configuration

On android, we were not able to display the correct settings.

GitLab: #1312
Change-Id: I3f8a9fd39b0ab19e9700e091ed8e36a9e2a840ad
parent d191e2e2
No related branches found
No related tags found
No related merge requests found
...@@ -217,6 +217,10 @@ SipAccountConfig::toMap() const ...@@ -217,6 +217,10 @@ SipAccountConfig::toMap() const
} }
a.emplace(Conf::CONFIG_ACCOUNT_PASSWORD, std::move(password)); a.emplace(Conf::CONFIG_ACCOUNT_PASSWORD, std::move(password));
// srtp settings
a.emplace(Conf::CONFIG_SRTP_KEY_EXCHANGE, sip_utils::getKeyExchangeName(srtpKeyExchange));
a.emplace(Conf::CONFIG_SRTP_RTP_FALLBACK, srtpFallback ? TRUE_STR : FALSE_STR);
a.emplace(Conf::CONFIG_TLS_ENABLE, tlsEnable ? TRUE_STR : FALSE_STR); a.emplace(Conf::CONFIG_TLS_ENABLE, tlsEnable ? TRUE_STR : FALSE_STR);
a.emplace(Conf::CONFIG_TLS_LISTENER_PORT, std::to_string(tlsListenerPort)); a.emplace(Conf::CONFIG_TLS_LISTENER_PORT, std::to_string(tlsListenerPort));
a.emplace(Conf::CONFIG_TLS_CA_LIST_FILE, tlsCaListFile); a.emplace(Conf::CONFIG_TLS_CA_LIST_FILE, tlsCaListFile);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment