| enum GSM_CallShowNumber |
How to handle number when initiating voice call.
| GSM_CALL_ShowNumber | Show number. |
| GSM_CALL_HideNumber | Hide number. |
| GSM_CALL_DefaultNumberPresence | Keep phone default settings. |
Definition at line 191 of file gammu-call.h.
00191 { 00195 GSM_CALL_ShowNumber = 1, 00199 GSM_CALL_HideNumber, 00203 GSM_CALL_DefaultNumberPresence 00204 } GSM_CallShowNumber;
| enum GSM_CallStatus |
Enum with status of call.
Definition at line 30 of file gammu-call.h.
00030 { 00034 GSM_CALL_IncomingCall = 1, 00038 GSM_CALL_OutgoingCall, 00042 GSM_CALL_CallStart, 00046 GSM_CALL_CallEnd, 00050 GSM_CALL_CallRemoteEnd, 00054 GSM_CALL_CallLocalEnd, 00058 GSM_CALL_CallEstablished, 00062 GSM_CALL_CallHeld, 00066 GSM_CALL_CallResumed, 00070 GSM_CALL_CallSwitched 00071 } GSM_CallStatus;
| GSM_Error GSM_AnswerCall | ( | GSM_StateMachine * | s, | |
| int | ID, | |||
| bool | all | |||
| ) |
Accept current incoming call.
| s | State machine pointer. | |
| ID | ID of call. | |
| all | Whether to handle all call and not only the one specified by ID. |
| GSM_Error GSM_CancelCall | ( | GSM_StateMachine * | s, | |
| int | ID, | |||
| bool | all | |||
| ) |
Deny current incoming call.
| s | State machine pointer. | |
| ID | ID of call. | |
| all | Whether to handle all call and not only the one specified by ID. |
| GSM_Error GSM_ConferenceCall | ( | GSM_StateMachine * | s, | |
| int | ID | |||
| ) |
Initiates conference call.
| s | State machine pointer. | |
| ID | ID of call. |
| GSM_Error GSM_DialService | ( | GSM_StateMachine * | s, | |
| char * | Number | |||
| ) |
Dials service number (usually for USSD).
| s | State machine pointer. | |
| Number | Number to dial. |
| GSM_Error GSM_DialVoice | ( | GSM_StateMachine * | s, | |
| char * | Number, | |||
| GSM_CallShowNumber | ShowNumber | |||
| ) |
Dials number and starts voice call.
| s | State machine pointer. | |
| Number | Number to dial. | |
| ShowNumber | Whether we want to display number on phone. |
| GSM_Error GSM_HoldCall | ( | GSM_StateMachine * | s, | |
| int | ID | |||
| ) |
Holds call.
| s | State machine pointer. | |
| ID | ID of call. |
| GSM_Error GSM_SendDTMF | ( | GSM_StateMachine * | s, | |
| char * | sequence | |||
| ) |
Sends DTMF (Dual Tone Multi Frequency) tone.
| s | State machine pointer. | |
| sequence | Sequence to press. |
| GSM_Error GSM_SetIncomingCall | ( | GSM_StateMachine * | s, | |
| bool | enable | |||
| ) |
Activates/deactivates noticing about incoming calls.
| s | State machine pointer. | |
| enable | Whether to enable notifications. |
| GSM_Error GSM_SplitCall | ( | GSM_StateMachine * | s, | |
| int | ID | |||
| ) |
Splits call.
| s | State machine pointer. | |
| ID | ID of call. |
| GSM_Error GSM_SwitchCall | ( | GSM_StateMachine * | s, | |
| int | ID, | |||
| bool | next | |||
| ) |
Switches call.
| s | State machine pointer. | |
| ID | ID of call. | |
| next | Switches next call and ignores ID. |
| GSM_Error GSM_TransferCall | ( | GSM_StateMachine * | s, | |
| int | ID, | |||
| bool | next | |||
| ) |
Transfers call.
| s | State machine pointer. | |
| ID | ID of call. | |
| next | Switches next call and ignores ID. |
| GSM_Error GSM_UnholdCall | ( | GSM_StateMachine * | s, | |
| int | ID | |||
| ) |
Unholds call.
| s | State machine pointer. | |
| ID | ID of call. |
1.5.6