diff --git a/daemon/src/ringdht/ringaccount.cpp b/daemon/src/ringdht/ringaccount.cpp index 940219afbfe98e507e0fbe211c8235b7f1163f83..ad06cfe858e6fee078b5be7d3a17c4fa4a9da78f 100644 --- a/daemon/src/ringdht/ringaccount.cpp +++ b/daemon/src/ringdht/ringaccount.cpp @@ -503,6 +503,8 @@ void RingAccount::doRegister() ); dht_.registerType(USER_PROFILE_TYPE); + dht_.registerType(ICE_ANNOUCEMENT_TYPE); + dht_.importValues(loadValues()); // Publish our own CA diff --git a/daemon/src/ringdht/ringaccount.h b/daemon/src/ringdht/ringaccount.h index 4c806ce93cce6a5788f61103c1bfd3608a0092b3..6eb77fcc2db3b4e06c0c12553bd02ce33625ce4f 100644 --- a/daemon/src/ringdht/ringaccount.h +++ b/daemon/src/ringdht/ringaccount.h @@ -255,6 +255,7 @@ class RingAccount : public SIPAccountBase { private: const dht::ValueType USER_PROFILE_TYPE = {9, "User profile", 60 * 60 * 24 * 7}; + const dht::ValueType ICE_ANNOUCEMENT_TYPE = {10, "ICE descriptors", 15 * 60}; void createOutgoingCall(const std::shared_ptr<SIPCall>& call, const std::string& to, const std::string& toUrl, const IpAddr& peer);