Skip to content
Snippets Groups Projects
Commit 3c0493a2 authored by prlanzarin's avatar prlanzarin Committed by prlanzarin
Browse files

akka-fsesl: handle dial in/out users uIDs in GetUsersStatusToVoiceConfSysMsg responses

The lack of handling to check whether the user was a dial-in user when answering akka-apps periodic member probes was making it use an arbitrary default (callerName) as the userId, explicitly violating the convention that dial-in/outs should have v_memberId userIds

That would botch whichever added janitorial tasks that operated upon akka-apps GetUsersStatusToVoiceConfSysMsg probes
parent 8f233b74
No related branches found
No related tags found
No related merge requests found
......@@ -85,10 +85,12 @@ public class GetUsersStatusCommand extends FreeswitchCommand {
voiceUserId = callWithSess.group(1).trim();
clientSession = callWithSess.group(2).trim();
callerIdName = callWithSess.group(3).trim();
} else
if (matcher.matches()) {
} else if (matcher.matches()) {
voiceUserId = matcher.group(1).trim();
callerIdName = matcher.group(2).trim();
} else {
// This is a caller using dial in or out
voiceUserId = "v_" + member.getId().toString();
}
log.info("Conf user. uuid=" + uuid
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment