diff options
author | Dan Williams <dan@ioncontrol.co> | 2025-05-30 18:54:05 -0500 |
---|---|---|
committer | Dan Williams <dan@ioncontrol.co> | 2025-05-30 18:54:05 -0500 |
commit | 37f17d4b5859d8a37d1a9350abc9fcb15917de07 (patch) | |
tree | 7af9420327a7deea70df1bbcaa004724fed1aec7 /introspection/org.freedesktop.ModemManager1.Call.xml | |
parent | 3ed7f378765b45a84ce6c0b4de6751769fefc221 (diff) | |
parent | dad2d49b696c66ccf868bc89b35a6529f9e15777 (diff) |
Merge request !1336 from 'dtmf-serialize'
Serialize DTMF requests and allow setting DTMF duration at call creation time
https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1336
Closes #970
Diffstat (limited to 'introspection/org.freedesktop.ModemManager1.Call.xml')
-rw-r--r-- | introspection/org.freedesktop.ModemManager1.Call.xml | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/introspection/org.freedesktop.ModemManager1.Call.xml b/introspection/org.freedesktop.ModemManager1.Call.xml index 3aa6a643..6f1fdf44 100644 --- a/introspection/org.freedesktop.ModemManager1.Call.xml +++ b/introspection/org.freedesktop.ModemManager1.Call.xml @@ -103,9 +103,15 @@ <!-- SendDtmf: - @dtmf: DTMF tone identifier [0-9A-D*#]. + @dtmf: A string of DTMF tone identifiers [0-9A-D*#] and/or pause characters [,]. + + 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. - Send a DTMF tone (Dual Tone Multi-Frequency) (only on supported modem). + 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>. @@ -119,7 +125,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 +238,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> |