diff --git a/src/sip/sipaccount_config.cpp b/src/sip/sipaccount_config.cpp index a8bf9410f47f3930b58f9324651d7916a4a0358c..b5b9b61b6360e911ef2daf3f69941c3352e4c9a1 100644 --- a/src/sip/sipaccount_config.cpp +++ b/src/sip/sipaccount_config.cpp @@ -217,6 +217,10 @@ SipAccountConfig::toMap() const } 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_LISTENER_PORT, std::to_string(tlsListenerPort)); a.emplace(Conf::CONFIG_TLS_CA_LIST_FILE, tlsCaListFile);