|  |  | 
 |  |  |       sipStatus: "未连接", | 
 |  |  |       sipStatusClass: "status-disconnected", | 
 |  |  |       sipConfig: { | 
 |  |  |         wsUrl: "wss://192.168.10.124:7443", | 
 |  |  |         sipUri: `${randomNum}` + "@192.168.10.124", | 
 |  |  |         wsUrl: "wss://1192.170.66.107:7443", | 
 |  |  |         sipUri: `${randomNum}` + "@1192.170.66.107", | 
 |  |  |         password: "Smartor@2023", | 
 |  |  |         displayName: "Web 小龙", | 
 |  |  |         // realm: "9.208.5.18:8090", | 
 |  |  |       }, | 
 |  |  |     }; | 
 |  |  |   }, | 
 |  |  | 
 |  |  |     }, | 
 |  |  |   }, | 
 |  |  |   mounted() { | 
 |  |  |     console.log('当前分机号',this.sipConfig); | 
 |  |  |     // 测试 | 
 |  |  |     const ws = new WebSocket("wss://9.208.5.18:7443"); | 
 |  |  |     ws.onopen = () => console.log("WebSocket 连接成功"); | 
 |  |  |     ws.onerror = (e) => console.error("WebSocket 错误:", e); | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     // 初始化SIP连接 | 
 |  |  |  | 
 |  |  |     sipService.init(this.sipConfig); | 
 |  |  |     sipService.onStatusChange = (status) => { |