Top |
org.freedesktop.ModemManager1.Callorg.freedesktop.ModemManager1.Call — The ModemManager Call interface. |
Start (); Accept (); Deflect (IN s number); JoinMultiparty (); LeaveMultiparty (); Hangup (); SendDtmf (IN s dtmf);
State readable i StateReason readable i Direction readable i Number readable s Multiparty readable b 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
.
Deflect (IN s number);
Deflect an incoming or waiting call to a new number. This call will be considered terminated once the deflection is performed.
Applicable only if state is MM_CALL_STATE_RINGING_IN
or
MM_CALL_STATE_WAITING
and direction is
MM_CALL_DIRECTION_INCOMING
.
|
new number where the call will be deflected. |
JoinMultiparty ();
Join the currently held call into a single multiparty call with another already active call.
The calls will be flagged with the 'Multiparty' property while they are part of the multiparty call.
Applicable only if state is MM_CALL_STATE_HELD
.
LeaveMultiparty ();
If this call is part of an ongoing multiparty call, detach it from the multiparty call, put the multiparty call on hold, and activate this one alone. This operation makes this call private again between both ends of the call.
Applicable only if state is MM_CALL_STATE_ACTIVE
or
MM_CALL_STATE_HELD
and
the call is a multiparty call.
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.
Multiparty readable b
Whether the call is currently part of a multiparty conference 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. |