aboutsummaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorDan Williams <dan@ioncontrol.co>2025-04-11 20:43:17 -0500
committerDan Williams <dan@ioncontrol.co>2025-05-30 07:59:58 -0500
commit5448a85a2bae32b6c9dfb82ac148904bf20fc209 (patch)
treed3dc01eb24ab04b592195ef335d43ca8ef4c08d0 /introspection
parent28b195465422b63ccc77e1a8d9d21e8bb6f217e9 (diff)
call: allow setting DTMF tone duration at call creation time
Instead of hard-coding a 500ms DTMF tone duration, let applications use a specific duration at call setup time. Signed-off-by: Dan Williams <dan@ioncontrol.co>
Diffstat (limited to 'introspection')
-rw-r--r--introspection/org.freedesktop.ModemManager1.Call.xml17
1 files changed, 15 insertions, 2 deletions
diff --git a/introspection/org.freedesktop.ModemManager1.Call.xml b/introspection/org.freedesktop.ModemManager1.Call.xml
index 3aa6a643..85db4ad2 100644
--- a/introspection/org.freedesktop.ModemManager1.Call.xml
+++ b/introspection/org.freedesktop.ModemManager1.Call.xml
@@ -105,7 +105,7 @@
SendDtmf:
@dtmf: DTMF tone identifier [0-9A-D*#].
- Send a DTMF tone (Dual Tone Multi-Frequency) (only on supported modem).
+ Send a DTMF tone (Dual Tone Multi-Frequency) (only on supported modems).
Applicable only if state is <link linkend="MM-CALL-STATE-ACTIVE:CAPS"><constant>MM_CALL_STATE_ACTIVE</constant></link>.
@@ -119,7 +119,7 @@
DtmfReceived:
@dtmf: DTMF tone identifier [0-9A-D*#].
- Emitted when a DTMF tone is received (only on supported modem)
+ Emitted when a DTMF tone is received (only on supported modems)
Since: 1.6
-->
@@ -232,5 +232,18 @@
Since: 1.10
-->
<property name="AudioFormat" type="a{sv}" access="read" />
+
+ <!--
+ DtmfToneDuration:
+
+ The length of DTMF tones, in milliseconds. Valid range is 100ms to
+ 1000ms and is rounded up to the next 100ms if not evenly divisble
+ by 100. Set the duration by passing this property to
+ <link linkend="gdbus-method-org-freedesktop-ModemManager1-Voice.CreateCall">CreateCall()</link>
+ at call creation time.
+
+ Since: 1.26
+ -->
+ <property name="DtmfToneDuration" type="u" access="read" />
</interface>
</node>