aboutsummaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorMarco Bascetta <marco.bascetta@sadel.it>2015-05-08 13:51:17 +0200
committerAleksander Morgado <aleksander@aleksander.es>2015-08-02 10:39:47 +0200
commit8edead919343809d7c4bd7732a15c1a6c3912cba (patch)
treedc74639d28a0446f0c2f1985f3f2b25d0397803c /introspection
parent40fae5fcbae32a37ae974245008359435e70a91f (diff)
api,voice: added DTMF interface specification
Diffstat (limited to 'introspection')
-rw-r--r--introspection/org.freedesktop.ModemManager1.Call.xml25
1 files changed, 23 insertions, 2 deletions
diff --git a/introspection/org.freedesktop.ModemManager1.Call.xml b/introspection/org.freedesktop.ModemManager1.Call.xml
index 41112d50..727b703c 100644
--- a/introspection/org.freedesktop.ModemManager1.Call.xml
+++ b/introspection/org.freedesktop.ModemManager1.Call.xml
@@ -29,7 +29,7 @@
Accept:
Accept incoming call (answer).
- Applicable only if state is MM_CALL_STATE_RINGING and direction is MM_CALL_DIRECTION_INCOMING
+ Applicable only if state is MM_CALL_STATE_RINGING_IN and direction is MM_CALL_DIRECTION_INCOMING
-->
<method name="Accept" />
@@ -37,11 +37,32 @@
Hangup:
Hangup the active call.
- Applicable only if states are MM_CALL_STATE_RINGING and MM_CALL_STATE_ACCEPTED
+ Applicable only if state is not MM_CALL_STATE_UNKNOWN or MM_CALL_STATE_TERMINATED
-->
<method name="Hangup"/>
<!--
+ SendTone:
+ @tone: Tone identifier. (Admitter chars are [0-9A-D*#])
+
+ Send a DTMF tone (Dual Tone Multi-Frequency) (only on supported modem)
+ Applicable only if state is MM_CALL_STATE_ACTIVE
+ -->
+ <method name="SendTone">
+ <arg name="tone" type="s" direction="in"/>
+ </method>
+
+ <!--
+ ToneReceived:
+ @tone: Tone identifier. (Admitter chars are [0-9A-D*#])
+
+ Emitted when a DTMF tone is received (only on supported modem)
+ -->
+ <signal name="ToneReceived">
+ <arg name="tone" type="s" />
+ </signal>
+
+ <!--
StateChanged:
@old: Old state MMCallState
@new: New state MMCallState