mirror of
https://github.com/Luzifer/browserphone.git
synced 2024-11-08 13:50:05 +00:00
Add support for dial tones
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
1679c8b0d5
commit
677f266e73
1 changed files with 6 additions and 1 deletions
|
@ -61,7 +61,7 @@ export default {
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
keys() {
|
keys() {
|
||||||
return [1, 2, 3, 4, 5, 6, 7, 8, 9, '+', 0]
|
return [1, 2, 3, 4, 5, 6, 7, 8, 9, '*', 0, '#']
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -95,6 +95,11 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
keyDown(key) {
|
keyDown(key) {
|
||||||
|
if (this.ongoingCall) {
|
||||||
|
this.phone.conn.sendDigits(key)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
this.number = `${this.number}${key}`
|
this.number = `${this.number}${key}`
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue