Svxlink Echolink Description doesnt work-SOLVED !!
No matter what I set in ModuleEchoLink.conf I cannot get description to display at all. I tried all configurations as per man pages but to no avail. Then searching on the internet came across a bug forum post which lead to the solution.
I have tried this solution on version 13,14 and 15 and it works though the svxlink developer states its a workaround and has not fixed it in the versions I have tried. My hats off to the guy who gave the solution.
The solution states to edit the ModuleEchoLink.cpp file before compiling and chaging/adding the following
line 1448 inside ModuleEchoLink.cpp inside void ModuleEchoLink::broadcastTalkerStatus(void) function to:
msg << description << "\n" << "SvxLink " << SVXLINK_VERSION << " - " << mycall
<< " (" << numConnectedStations() << ")\n\n";
and add in
void ModuleEchoLink::updateDescription(void)
{
if (max_qsos < 2)
{
return;
}
string desc(location);
if (numConnectedStations() > 0)
{
stringstream sstr;
sstr << " (" << numConnectedStations() << ")";
if ((sstr.str().size() + desc.size()) > Directory::MAX_DESCRIPTION_SIZE)
{
desc.resize(Directory::MAX_DESCRIPTION_SIZE - sstr.str().size(), ' ');
}
desc += sstr.str();
}
dir->setDescription(desc);
dir->refreshRegistration();
}
/* ModuleEchoLink::updateDescription */
As I was running version 13, I just recompiled and installed svxlink 13 from source on a vm machine and copied the /usr/lib/svxlink/ModuleEchoLink.so from the vm to the production machine overwriting /usr/lib/svxlink/ModuleEchoLink.so and vola !!!
Comments
Post a Comment