| | |
| | | isRegistering: true, // 初始为注册中状态 |
| | | randomNum: randomNum, |
| | | randomID: null, |
| | | orgname: localStorage.getItem("orgname"), |
| | | callStatus: "idle", // idle, calling, connected, ended |
| | | sipStatus: "未连接", |
| | | sipStatusClass: "status-disconnected", |
| | |
| | | // 移除硬编码的wsUrl和domain |
| | | wsUrl: "", |
| | | sipUri: "", |
| | | password: "Smartor@2023",//丽水 |
| | | password: "Smartor@2023", //丽水 |
| | | // password: "heskj@1234",//市一 |
| | | displayName: "Web 小龙", |
| | | // realm: "9.208.5.18:8090", |
| | |
| | | }, |
| | | }, |
| | | created() { |
| | | if ( |
| | | this.orgname == "第一人民医院湖滨院区" || |
| | | this.orgname == "第一人民医院吴山院区" |
| | | ) { |
| | | this.sipConfig.password = "heskj@1234"; |
| | | } else { |
| | | this.sipConfig.password = "Smartor@2023"; |
| | | } |
| | | |
| | | // CallgetList(); |
| | | }, |
| | | |
| | |
| | | this.sipConfig.sipUri = `${this.randomNum}@192.168.10.124`; |
| | | } else if (orgName == "龙泉市人民医院") { |
| | | this.sipConfig.sipUri = `${this.randomNum}@10.10.0.220`; |
| | | } else if (orgName == "第一人民医院湖滨院区"||orgName == "第一人民医院吴山院区") { |
| | | } else if ( |
| | | orgName == "第一人民医院湖滨院区" || |
| | | orgName == "第一人民医院吴山院区" |
| | | ) { |
| | | this.sipConfig.sipUri = `${this.randomNum}@192.169.129.198`; |
| | | } |
| | | } catch (error) { |