33 std::map<std::string, std::string>
toMap()
const override;
34 void fromMap(
const std::map<std::string, std::string>&)
override;
39 std::string
interface {
"default"};
void updateRange(uint16_t min, uint16_t max, std::pair< uint16_t, uint16_t > &range)
void emitSignal(Args... args)
static constexpr unsigned MAX_PORT
static constexpr const char *const SIPINFO_STR
static constexpr unsigned HALF_MAX_PORT
static constexpr const char *const OVERRTP_STR
const std::string type
Account type.
const std::filesystem::path path
Path where the configuration file is stored.
const std::string id
Account id.
bool turnEnabled
Determine if TURN public address resolution is required to register this account.
bool publishedSameasLocal
Flag which determine if localIpAddress_ or publishedIpAddress_ is used in sip headers.
std::string turnServerUserName
std::pair< uint16_t, uint16_t > videoPortRange
Port range for video RTP ports.
SipAccountBaseConfig(const std::string &type, const std::string &id, const std::filesystem::path &path)
std::string turnServerRealm
std::string tlsCaListFile
std::string tlsPrivateKeyFile
std::string tlsCertificateFile
void fromMap(const std::map< std::string, std::string > &) override
std::string turnServer
The TURN server hostname (optional), used to provide the public IP address in case the softphone stay...
void serializeDiff(YAML::Emitter &out, const SipAccountBaseConfig &def) const
std::pair< uint16_t, uint16_t > audioPortRange
std::string turnServerPwd
void unserialize(const YAML::Node &node) override
std::map< std::string, std::string > toMap() const override