summaryrefslogtreecommitdiffstats
path: root/app/api
diff options
context:
space:
mode:
Diffstat (limited to 'app/api')
-rw-r--r--app/api/Telephony.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/api/Telephony.qml b/app/api/Telephony.qml
index 721a51a..b42af4f 100644
--- a/app/api/Telephony.qml
+++ b/app/api/Telephony.qml
@@ -92,6 +92,11 @@ WebSocket {
sendSocketMesage("dial", parameterJson)
}
+ function answer() {
+ var parameterJson = 'None'
+ sendSocketMesage("answer", parameterJson)
+ }
+
function hangup() {
var parameterJson = 'None'
sendSocketMesage("hangup", parameterJson)