Top |
org.freedesktop.ModemManager1.Callorg.freedesktop.ModemManager1.Call — The ModemManager Call interface. |
State readable i StateReason readable i Direction readable i Number readable s AudioPort readable s AudioFormat readable a{sv}
Start ();
If the outgoing call has not yet been started, start it.
Applicable only if state is MM_CALL_STATE_UNKNOWN
and direction is
MM_CALL_DIRECTION_OUTGOING
.
Accept ();
Accept incoming call (answer).
Applicable only if state is MM_CALL_STATE_RINGING_IN
and direction is
MM_CALL_DIRECTION_INCOMING
.
Hangup ();
Hangup the active call.
Applicable only if state is MM_CALL_STATE_UNKNOWN
.
SendDtmf (IN s dtmf);
Send a DTMF tone (Dual Tone Multi-Frequency) (only on supported modem).
Applicable only if state is MM_CALL_STATE_ACTIVE
.
|
DTMF tone identifier [0-9A-D*#]. |
DtmfReceived (s dtmf);
Emitted when a DTMF tone is received (only on supported modem)
|
DTMF tone identifier [0-9A-D*#]. |
StateChanged (i old, i new, u reason);
Emitted when call changes state
|
Old state MMCallState |
|
New state MMCallState |
|
A MMCallStateReason value, specifying the reason for this state change. |
StateReason readable i
A MMCallStateReason value, describing why the state is changed.
Direction readable i
A MMCallDirection value, describing the direction of the call.
AudioPort readable s
If call audio is routed via the host, the name of the kernel device that provides the audio. For example, with certain Huawei USB modems, this property might be "ttyUSB2" indicating audio is available via ttyUSB2 in the format described by the AudioFormat property.
AudioFormat readable a{sv}
If call audio is routed via the host, a description of the audio format supported by the audio port.
This property may include the following items:
|
The audio encoding format. For example, "pcm" for PCM audio. |
|
The sampling precision and its encoding format. For example, "s16le" for signed 16-bit little-endian samples. |
|
The sampling rate as an unsigned integer. For example, 8000 for 8000hz. |