aboutsummaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorDan Williams <dan@ioncontrol.co>2025-04-25 07:24:38 -0500
committerDan Williams <dan@ioncontrol.co>2025-05-30 08:02:48 -0500
commitae3d37030a451eda2680af02cc63ba7bfbeeacbf (patch)
tree1e01e91941dd881d1ab4783d4f3dc0bedf259b22 /introspection
parent56fe8e7d314c637d6df45f693e2377b18685a405 (diff)
base-call: handle multiple DTMF characters
Send each character through the state machine one at a time. Some modems (various Quectel ones for example) can process multiple at the same time, and while that should be easily implemented using the new changes to send_dtmf() it's not done in any plugin yet. Signed-off-by: Dan Williams <dan@ioncontrol.co>
Diffstat (limited to 'introspection')
-rw-r--r--introspection/org.freedesktop.ModemManager1.Call.xml11
1 files changed, 8 insertions, 3 deletions
diff --git a/introspection/org.freedesktop.ModemManager1.Call.xml b/introspection/org.freedesktop.ModemManager1.Call.xml
index 41dc40f3..6f1fdf44 100644
--- a/introspection/org.freedesktop.ModemManager1.Call.xml
+++ b/introspection/org.freedesktop.ModemManager1.Call.xml
@@ -103,10 +103,15 @@
<!--
SendDtmf:
- @dtmf: DTMF tone identifier [0-9A-D*#] or pause character [,].
+ @dtmf: A string of DTMF tone identifiers [0-9A-D*#] and/or pause characters [,].
- Send a DTMF tone (Dual Tone Multi-Frequency) (only on supported modems).
- Since 1.26 the comma [,] is interpreted as a two-second pause.
+ Send one or more DTMF tones (Dual Tone Multi-Frequency) (only on supported modems).
+ Before 1.26 only the first character in @dtmf was sent to the modem;
+ all others were discarded.
+
+ Since 1.26 up to 50 tone identifiers are accepted and each will be
+ sent to the modem in the order given. The comma [,] character pauses
+ DTMF tones for two-seconds then continues with the remaining characters.
Applicable only if state is <link linkend="MM-CALL-STATE-ACTIVE:CAPS"><constant>MM_CALL_STATE_ACTIVE</constant></link>.