Skip to content
Snippets Groups Projects
Commit 9fb26b56 authored by Richard Alam's avatar Richard Alam Committed by GitHub
Browse files

Merge pull request #4357 from ritzalam/identify-phone-caller

 - indicate thru the userId that a user is calling through the phone.
parents 8a2b1497 33e1cb0b
No related branches found
No related tags found
No related merge requests found
......@@ -74,9 +74,13 @@ public class ESLEventListener implements IEslEventListener {
if (matcher.matches()) {
voiceUserId = matcher.group(1).trim();
callerIdName = matcher.group(2).trim();
} else {
// This is a caller using phone. Let's create a userId that will allow
// us to identify the user as such in other parts of the system.
// (ralam - sept 1, 2017)
voiceUserId = "v_" + memberId.toString();
}
VoiceUserJoinedEvent pj = new VoiceUserJoinedEvent(voiceUserId, memberId.toString(), confName, callerId, callerIdName, muted, speaking, "none");
conferenceEventListener.handleConferenceEvent(pj);
}
......
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