The Call interface is used to initiate, accept, release, and otherwise deal with voice calls. It also allows you to send DTMF tones.
org.freesmartphone.GSM.Call
Description: Initiate an emergency call.
This maps to ATD(number);, see v.250.
The emergency number to dial. National and world-wide restrictions apply.
Description: Activate a call as single active call. All previously active calls are put on hold. No difference is made whether this is an incoming call or a call that has been put on hold.
This can map to ATA, see v.250. It might also map to GSM 07.07 +CHLD=..., see 3GPP TS 07.07 Chapter 7.12.
Description: Activate a call in addition to all previously active calls. No difference is made whether this is an incoming call or a call that has been put on hold.
This maps to GSM 07.07 +CHLD=..., see 3GPP TS 07.07 Chapter 7.12.
Description: Release a call.
This can map to ATH, see v.250. It might also map to GSM 07.07 +CHLD=..., see 3GPP TS 07.07 Chapter 7.12. Some implementations might map it to GSM 07.07 +CHUP=, see 3GPP TS 07.07 Chapter 6.5.
Description: Hold the active call.
This maps to GSM 07.07 +CHLD=2, see 3GPP TS 07.07 Chapter 7.12.
Description: Join all active and held calls and release yourself from the conversation.
This maps to GSM 07.07 +CHLD=4, see 3GPP TS 07.07 Chapter 7.12.
Description: Transfer an incoming or active call to another number.
This maps to GSM 07.07 +CCFC=..., see 3GPP TS 07.07 Chapter 7.10.
The number to transfer the call to.
Description: Release all held calls.
This maps to GSM 07.07 +CHLD=, see 3GPP TS 07.07 Chapter 7.12.
Description: Release all calls, no matter whether active or put on hold.
This maps to ATH, see v.250.
Description: Initiate an outgoing call.
This maps to ATD(number);, see v.250.
The number to call.
s: typeThe type of call to made. Valid values are:
The reference id for this call. It will get assigned by the system.
Description: Retrieve the status for all calls in the system.
The call status. This is an array containing a call status record for every single call. See CallStatus signal for a description of the format.
Description: Send one or more Dual Tone Multiple Frequency (DTMF) signals during an active call.
This maps to the TIA IS 101 command +VTS=(value), see 3GPP TS 07.07 Chapter C.2.11. Note: DTMF signals are always sent to all active calls, this is a limitation of the underlying protocols.
The tones to send. Allowed values are: (0-9,#,*,A-D)
Description: Sent whenever there is any status or property change on a call in the system, no matter whether this is an incoming, active, held, or released call.
The index of the call that changed its status or properties.
s: statusThe new status of the call. Expected values are:
An array of property values. Note that some properties are optional. Mandatory tuples are: