From 677f266e73ae9c3097e3da416605e880fc25ecd9 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 13 Jul 2019 14:21:57 +0200 Subject: [PATCH] Add support for dial tones Signed-off-by: Knut Ahlers --- src/app.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/app.vue b/src/app.vue index a6228e6..c5a0839 100644 --- a/src/app.vue +++ b/src/app.vue @@ -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}` },