summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Van Assche <me@dylanvanassche.be>2022-07-09 16:02:24 +0200
committerDylan Van Assche <me@dylanvanassche.be>2022-07-13 20:28:32 +0200
commit09500ab515d29c100949928d6490427cf85ae17b (patch)
tree224e990f64cf8c38efd070c06454182508f7f854
parentfa6c7a972eeaf75cea2a51429ee8017566f9b917 (diff)
voice: add burst DTMF support
Add support for sending DTMF characters during a call in burst mode. Useful for navigating robot menus in calls e.g. customer support lines. DTMF burst is only supported by 3GPP2 networks (CDMA).
-rw-r--r--data/qmi-collection-basic.json1
-rw-r--r--data/qmi-service-voice.json26
-rw-r--r--docs/reference/libqmi-glib/libqmi-glib-docs.xml1
3 files changed, 27 insertions, 1 deletions
diff --git a/data/qmi-collection-basic.json b/data/qmi-collection-basic.json
index 73d2202..8d5c56f 100644
--- a/data/qmi-collection-basic.json
+++ b/data/qmi-collection-basic.json
@@ -189,6 +189,7 @@
"QMI_MESSAGE_VOICE_SET_SUPPLEMENTARY_SERVICE",
"QMI_MESSAGE_VOICE_GET_CALL_WAITING",
"QMI_MESSAGE_VOICE_GET_ALL_CALL_INFO",
+ "QMI_MESSAGE_VOICE_BURST_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 324cd05..7f2e1d2 100644
--- a/data/qmi-service-voice.json
+++ b/data/qmi-service-voice.json
@@ -704,5 +704,29 @@
"since" : "1.26",
"format" : "array",
"size-prefix-format" : "guint8",
- "array-element" : { "format" : "guint16" } } ] }
+ "array-element" : { "format" : "guint16" } } ] },
+
+ // *********************************************************************************
+ { "name" : "Burst DTMF",
+ "type" : "Message",
+ "service" : "VOICE",
+ "id" : "0x0028",
+ "since" : "1.32",
+ "input" : [ { "name" : "Data",
+ "id" : "0x01",
+ "type" : "TLV",
+ "since" : "1.32",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Call ID",
+ "format" : "guint8" },
+ { "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" } ] } ] }
]
diff --git a/docs/reference/libqmi-glib/libqmi-glib-docs.xml b/docs/reference/libqmi-glib/libqmi-glib-docs.xml
index b0f90dc..eccd21e 100644
--- a/docs/reference/libqmi-glib/libqmi-glib-docs.xml
+++ b/docs/reference/libqmi-glib/libqmi-glib-docs.xml
@@ -430,6 +430,7 @@
<xi:include href="xml/qmi-message-voice-cancel-ussd.xml"/>
<xi:include href="xml/qmi-message-voice-originate-ussd-no-wait.xml"/>
<xi:include href="xml/qmi-message-voice-get-all-call-info.xml"/>
+ <xi:include href="xml/qmi-message-voice-burst-dtmf.xml"/>
</section>
</chapter>