- better logging + initial sips: tests
This commit is contained in:
parent
634fc3ac8c
commit
616498e8a2
|
|
@ -175,6 +175,9 @@ void AgentImpl::processConfig(JsonCpp::Value &d, JsonCpp::Value &answer)
|
||||||
config()[CONFIG_IPV4] = d["ipv4"].asBool();
|
config()[CONFIG_IPV4] = d["ipv4"].asBool();
|
||||||
config()[CONFIG_IPV6] = d["ipv6"].asBool();
|
config()[CONFIG_IPV6] = d["ipv6"].asBool();
|
||||||
|
|
||||||
|
if (transport == "tls")
|
||||||
|
config()[CONFIG_SIPS] = true;
|
||||||
|
|
||||||
// Log file
|
// Log file
|
||||||
std::string logfile = d["logfile"].asString();
|
std::string logfile = d["logfile"].asString();
|
||||||
ice::Logger& logger = ice::GLogger;
|
ice::Logger& logger = ice::GLogger;
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,7 @@ void UserAgent::start()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Initialize resip loggег
|
// Initialize resip loggег
|
||||||
resip::Log::initialize(resip::Log::OnlyExternal, resip::Log::Info, "Client", *this);
|
resip::Log::initialize(resip::Log::OnlyExternal, resip::Log::Debug, "Client", *this);
|
||||||
|
|
||||||
// Build list of nameservers if specified
|
// Build list of nameservers if specified
|
||||||
resip::DnsStub::NameserverList nslist;
|
resip::DnsStub::NameserverList nslist;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue