1
0
Fork 0
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:
Knut Ahlers 2019-07-13 14:21:57 +02:00
parent 1679c8b0d5
commit 677f266e73
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -61,7 +61,7 @@ export default {
computed: {
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) {
if (this.ongoingCall) {
this.phone.conn.sendDigits(key)
return
}
this.number = `${this.number}${key}`
},