From cadb6f9480aaae79ec8d8035a9732c788b21eb39 Mon Sep 17 00:00:00 2001 From: Dylan Van Assche Date: Wed, 13 Jul 2022 19:26:30 +0200 Subject: voice: add continuous DTMF support Add support for sending DTMF characters during a call in continuous mode. Useful for navigating robot menus in calls e.g. customer support lines. Continuous mode is supported by all types of networks (3GPP and CDMA). --- data/qmi-collection-basic.json | 2 ++ data/qmi-service-voice.json | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) (limited to 'data') diff --git a/data/qmi-collection-basic.json b/data/qmi-collection-basic.json index 8d5c56f2..283c3857 100644 --- a/data/qmi-collection-basic.json +++ b/data/qmi-collection-basic.json @@ -190,6 +190,8 @@ "QMI_MESSAGE_VOICE_GET_CALL_WAITING", "QMI_MESSAGE_VOICE_GET_ALL_CALL_INFO", "QMI_MESSAGE_VOICE_BURST_DTMF", + "QMI_MESSAGE_VOICE_START_CONTINUOUS_DTMF", + "QMI_MESSAGE_VOICE_STOP_CONTINUOUS_DTMF", "QMI_INDICATION_VOICE_SUPPLEMENTARY_SERVICE", "QMI_INDICATION_VOICE_ALL_CALL_STATUS", "QMI_INDICATION_VOICE_USSD", diff --git a/data/qmi-service-voice.json b/data/qmi-service-voice.json index 7f2e1d22..f975a689 100644 --- a/data/qmi-service-voice.json +++ b/data/qmi-service-voice.json @@ -722,6 +722,46 @@ { "name" : "Digit Buffer", "format" : "string", "size-prefix-format" : "guint8" } ] } ], + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "Call ID", + "id" : "0x10", + "type" : "TLV", + "since" : "1.32", + "format" : "guint8", + "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, + { "name" : "Start Continuous DTMF", + "type" : "Message", + "service" : "VOICE", + "id" : "0x0029", + "since" : "1.32", + "input" : [ { "name" : "Data", + "id" : "0x01", + "type" : "TLV", + "since" : "1.32", + "format" : "sequence", + "contents" : [ { "name" : "Call ID", + "format" : "guint8" }, + { "name" : "Digit", + "format" : "guint8" } ] } ], + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "Call ID", + "id" : "0x10", + "type" : "TLV", + "since" : "1.32", + "format" : "guint8", + "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, + { "name" : "Stop Continuous DTMF", + "type" : "Message", + "service" : "VOICE", + "id" : "0x002A", + "since" : "1.32", + "input" : [ { "name" : "Data", + "id" : "0x01", + "type" : "TLV", + "since" : "1.32", + "format" : "sequence", + "contents" : [ { "name" : "Call ID", + "format" : "guint8" } ] } ], "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Call ID", "id" : "0x10", -- cgit v1.2.1