sinake
7 天以前 e08ef745fe71cc863733841900584c7d13257e74
修改语音IP
已修改3个文件
11 ■■■■ 文件已修改
src/components/CallButton/index.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/utils/sipService.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/record/detailpage/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/CallButton/index.vue
@@ -44,9 +44,9 @@
      sipStatus: "未连接",
      sipStatusClass: "status-disconnected",
      sipConfig: {
        wsUrl: "wss://1192.170.66.107:7443",
        sipUri: `${randomNum}` + "@1192.170.66.107",
        password: "Smartor@2023",
        wsUrl: "wss://192.169.129.198:7443",
        sipUri: `${randomNum}` + "@192.169.129.198",
        password: "heskj@1234",
        displayName: "Web 小龙",
      },
    };
@@ -96,6 +96,7 @@
      try {
        this.callStatus = "calling";
        this.isCalling = true;
         console.log('开始呼叫:',sipService);
        await sipService.makeCall(this.phoneNumber);
      } catch (error) {
src/utils/sipService.js
@@ -84,7 +84,7 @@
        };
        this.currentSession = this.ua.call(
          `sip:${targetNumber}@1192.170.66.107`,
          `sip:${targetNumber}@192.169.129.198`,
          options
        );
src/views/followvisit/record/detailpage/index.vue
@@ -1622,7 +1622,7 @@
      // 这里调用你的短信发送 API
      // 假设 API 为 sendMsg,参数可能需要根据实际情况调整
      sendMsg({
        phone: "0" + this.userform.telcode, // 确保电话号码字段正确
        phone:  this.userform.telcode, // 确保电话号码字段正确
        content: this.smsContent,
      })
        .then((res) => {