|
|
@@ -278,9 +278,9 @@ public class EslEventListenerEvent implements IEslEventListener {
|
|
278
|
278
|
if (!opType.equals("MakeCall") || calleeNum.equals(chanNames[2])) {
|
|
279
|
279
|
actionNotice(opType, callerAgent.getAgent(), callId, true);
|
|
280
|
280
|
if (opType.equals("Meeting")) {
|
|
281
|
|
- if(chan.getSessionSort() == 3) {
|
|
282
|
|
- if(eslClientService.talkJoinMeeting(callId)) {
|
|
283
|
|
- if (session != null){
|
|
|
281
|
+ if (session != null) {
|
|
|
282
|
+ if (!session.isMeeting()) {
|
|
|
283
|
+ if (eslClientService.talkJoinMeeting(callId)) {
|
|
284
|
284
|
session.setMeeting(true);
|
|
285
|
285
|
try {
|
|
286
|
286
|
Thread.sleep(500);
|
|
|
@@ -290,10 +290,10 @@ public class EslEventListenerEvent implements IEslEventListener {
|
|
290
|
290
|
eslClientService.setConferenceExitSound(callId, true);
|
|
291
|
291
|
}
|
|
292
|
292
|
}
|
|
293
|
|
- }
|
|
294
|
|
- //第一个人静音和禁听
|
|
295
|
|
- if (session != null&&session.isMeetingMute()) {
|
|
296
|
|
- eslClientService.setConferenceIsMute(callId, callId, true, "");
|
|
|
293
|
+ //第一个人静音和禁听
|
|
|
294
|
+ if (session.isMeetingMute()) {
|
|
|
295
|
+ eslClientService.setConferenceIsMute(callId, callId, true, "");
|
|
|
296
|
+ }
|
|
297
|
297
|
}
|
|
298
|
298
|
}
|
|
299
|
299
|
}
|