- better logging + initial sips: tests
This commit is contained in:
@@ -175,6 +175,9 @@ void AgentImpl::processConfig(JsonCpp::Value &d, JsonCpp::Value &answer)
|
||||
config()[CONFIG_IPV4] = d["ipv4"].asBool();
|
||||
config()[CONFIG_IPV6] = d["ipv6"].asBool();
|
||||
|
||||
if (transport == "tls")
|
||||
config()[CONFIG_SIPS] = true;
|
||||
|
||||
// Log file
|
||||
std::string logfile = d["logfile"].asString();
|
||||
ice::Logger& logger = ice::GLogger;
|
||||
|
||||
@@ -93,7 +93,7 @@ void UserAgent::start()
|
||||
}
|
||||
|
||||
// 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
|
||||
resip::DnsStub::NameserverList nslist;
|
||||
|
||||
Reference in New Issue
Block a user