From a5cba9ab040f6f97558046885dce3017f9bab7e9 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期二, 11 八月 2026 14:12:29 +0800
Subject: [PATCH] 提交
---
src/utils/sipService.js | 40 +++++++++++++++++++++++++++++++---------
1 files changed, 31 insertions(+), 9 deletions(-)
diff --git a/src/utils/sipService.js b/src/utils/sipService.js
index 7d952c6..0e722c5 100644
--- a/src/utils/sipService.js
+++ b/src/utils/sipService.js
@@ -19,6 +19,26 @@
wsUrl: "wss://192.169.129.198:7443",
domain: "192.169.129.198",
},
+ 鐪佺珛鍚屽痉缈犺嫅闄㈠尯: {
+ wsUrl: "wss://220.88.10.62:7443",
+ domain: "220.88.10.62",
+ },
+ 鐪佺珛鍚屽痉涔嬫睙闄㈠尯: {
+ wsUrl: "wss://220.88.10.62:7443",
+ domain: "220.88.10.62",
+ },
+ 鐪佺珛鍚屽痉闂叉灄闄㈠尯: {
+ wsUrl: "wss://220.88.10.62:7443",
+ domain: "220.88.10.62",
+ },
+ 鐪佺珛鍚屽痉澶╃洰灞辫矾闄㈠尯: {
+ wsUrl: "wss://220.88.10.62:7443",
+ domain: "220.88.10.62",
+ },
+ 鐪佺珛鍚屽痉闈掑北婀栭櫌鍖�: {
+ wsUrl: "wss://220.88.10.62:7443",
+ domain: "220.88.10.62",
+ },
// 鍙互缁х画娣诲姞鍏朵粬鍖婚櫌閰嶇疆
default: {
wsUrl: "wss://192.168.10.124:7443",
@@ -422,16 +442,18 @@
});
}
-endCall() {
- if (this.currentSession) {
- this.isManualEnd = true;
- this.currentSession.terminate();
- this.updateCallStatus('ended', '閫氳瘽宸茬粨鏉�');
- this.currentSession = null;
- // 寤惰繜閲嶇疆鏍囧織锛岄伩鍏嶅奖鍝嶅悗缁簨浠�
- setTimeout(() => { this.isManualEnd = false; }, 100);
+ endCall() {
+ if (this.currentSession) {
+ this.isManualEnd = true;
+ this.currentSession.terminate();
+ this.updateCallStatus("ended", "閫氳瘽宸茬粨鏉�");
+ this.currentSession = null;
+ // 寤惰繜閲嶇疆鏍囧織锛岄伩鍏嶅奖鍝嶅悗缁簨浠�
+ setTimeout(() => {
+ this.isManualEnd = false;
+ }, 100);
+ }
}
-}
updateStatus(type, text) {
console.log(`SIP鐘舵�佹洿鏂�: ${type} - ${text}`);
--
Gitblit v1.9.3