From f2bd87968bf34e0a952870701593df39d6ff2075 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期三, 17 九月 2025 15:19:21 +0800
Subject: [PATCH] 分机号动态使用
---
src/utils/sipService.js | 2 +-
src/components/CallButton/index.vue | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/components/CallButton/index.vue b/src/components/CallButton/index.vue
index d3cb005..9894b01 100644
--- a/src/components/CallButton/index.vue
+++ b/src/components/CallButton/index.vue
@@ -47,7 +47,7 @@
sipStatus: "鏈繛鎺�",
sipStatusClass: "status-disconnected",
sipConfig: {
- wsUrl: "wss://192.168.100.6:7443",
+ wsUrl: "wss://192.168.10.124:7443",
sipUri: "",
password: "Smartor@2023",
displayName: "Web 灏忛緳",
@@ -159,7 +159,7 @@
this.randomNum = res.data[0].tel;
this.randomID = res.data[0].id;
// 姝g‘璁剧疆 sipUri
- this.sipConfig.sipUri = `${this.randomNum}@192.168.100.6`;
+ this.sipConfig.sipUri = `${this.randomNum}@192.168.10.124`;
this.startCallsetState();
} catch (error) {
console.error("鑾峰彇鍒嗘満鍙峰け璐�:", error);
diff --git a/src/utils/sipService.js b/src/utils/sipService.js
index dbc4a4e..a8ce592 100644
--- a/src/utils/sipService.js
+++ b/src/utils/sipService.js
@@ -121,7 +121,7 @@
};
this.currentSession = this.ua.call(
- `sip:${targetNumber}@1192.170.66.107`,
+ `sip:${targetNumber}@192.168.10.124`,
options
);
--
Gitblit v1.9.3