| | |
| | | sipUri: "1000@192.168.100.6", |
| | | password: "Smartor@2023", |
| | | displayName: "Web 小龙", |
| | | realm: "192.168.100.6:8090", |
| | | // realm: "192.168.100.6:8090", |
| | | }, |
| | | }; |
| | | }, |
| | |
| | | uri: config.sipUri, |
| | | password: config.password, |
| | | display_name: config.displayName, |
| | | realm: config.realm, |
| | | // realm: config.realm, |
| | | register: true, |
| | | session_expires:180, |
| | | register_expires: 300, // 注册有效期(秒) |
| | | connection_recovery_min_interval: 2, // 最小重连间隔 |
| | | connection_recovery_max_interval: 30 // 最大重连间隔 |
| | |
| | | rtcOfferConstraints: { offerToReceiveAudio: 1 } |
| | | } |
| | | |
| | | this.currentSession = this.ua.call(`sip:${targetNumber}`, options) |
| | | this.currentSession = this.ua.call(`sip:${targetNumber}@192.168.100.6`, options) |
| | | this.setupAudio(this.currentSession) |
| | | } |
| | | |
| | |
| | | </el-collapse> |
| | | </div> |
| | | </div> |
| | | <!-- <div> |
| | | <div> |
| | | <h2>一键呼叫功能</h2> |
| | | <CallButton /> |
| | | </div> --> |
| | | </div> |
| | | <div> |
| | | <el-tabs v-model="activeName" type="border-card"> |
| | | <el-tab-pane name="wj"> |