zhoufan 1 year ago
parent
commit
1e6977cd83

+ 0 - 3
midware-service/src/main/java/midware/service/eslclient/EslEventListener.java

@@ -425,9 +425,6 @@ public class EslEventListener implements IEslEventListener {
425 425
                                 if (callerAgent != null) {
426 426
                                     if (!opType.equals("MakeCall") || calleeNum.equals(chanNames[2])) {
427 427
                                         actionNotice(opType, callerAgent.getAgent(), callId, true);
428
-                                        if (opType.equals("Meeting") && chan.getSessionSort() == 3) {
429
-                                            eslClientService.setConferenceExitSound(callId, true);
430
-                                        }
431 428
                                     }
432 429
                                 }
433 430
                             }

+ 1 - 0
midware-service/src/main/java/midware/service/init/EslClientService.java

@@ -505,6 +505,7 @@ public class EslClientService {
505 505
                     + "conference:" + sessionId + "@" + at + "' inline";
506 506
             result = client.sendAsyncApiCommand(command, arg);
507 507
             if (!result.equals("") && session != null) session.setMeeting(true);
508
+            setConferenceExitSound(sessionId, true);
508 509
         } catch (Exception e) {
509 510
             log.error(sessionId + " 会话加入会议失败", e);
510 511
         }

+ 1 - 1
midware-util/src/main/java/midware/util/helper/HttpHelper.java

@@ -92,7 +92,7 @@ public class HttpHelper {
92 92
                 HttpEntity entity1 = response.getEntity();
93 93
                 result = EntityUtils.toString(entity1, StandardCharsets.UTF_8);
94 94
             } else {
95
-                log.warn("get请求状态:" + url + "," + statusCode);
95
+                log.warn("post请求状态:" + url + (StringHelper.isNotEmpty(param) ? "|" + param : "") + "," + statusCode);
96 96
             }
97 97
             // 关闭资源
98 98
             response.close();