4
Fork 0

Added filtering of local node callsign

This commit is contained in:
Artem Prilutskiy 2019-06-04 16:22:31 +03:00
parent e6561f15d1
commit cfb0c9061d
3 changed files with 22 additions and 6 deletions

View file

@ -211,7 +211,7 @@ bool ModuleEchoLink::initialize(void)
<< "/CALLSIGN) to a real callsign\n";
return false;
}
string password;
if (!cfg().getValue(cfgName(), "PASSWORD", password))
{
@ -429,6 +429,8 @@ bool ModuleEchoLink::initialize(void)
bridge.setProxyConfiguration(value.c_str());
}
bridge.setCallConfiguration(mycall);
// Initialize directory server communication
dir = new Directory(servers, mycall, password, location, bind_addr);
dir->statusChanged.connect(mem_fun(*this, &ModuleEchoLink::onStatusChanged));