Gammu internals
1.38.0
|
Data Structures | |
struct | GSM_Call |
Functions | |
GSM_Error | GSM_DialVoice (GSM_StateMachine *s, char *Number, GSM_CallShowNumber ShowNumber) |
GSM_Error | GSM_DialService (GSM_StateMachine *s, char *Number) |
GSM_Error | GSM_AnswerCall (GSM_StateMachine *s, int ID, gboolean all) |
GSM_Error | GSM_CancelCall (GSM_StateMachine *s, int ID, gboolean all) |
GSM_Error | GSM_HoldCall (GSM_StateMachine *s, int ID) |
GSM_Error | GSM_UnholdCall (GSM_StateMachine *s, int ID) |
GSM_Error | GSM_ConferenceCall (GSM_StateMachine *s, int ID) |
GSM_Error | GSM_SplitCall (GSM_StateMachine *s, int ID) |
GSM_Error | GSM_TransferCall (GSM_StateMachine *s, int ID, gboolean next) |
GSM_Error | GSM_SwitchCall (GSM_StateMachine *s, int ID, gboolean next) |
GSM_Error | GSM_SetIncomingCall (GSM_StateMachine *s, gboolean enable) |
GSM_Error | GSM_SendDTMF (GSM_StateMachine *s, char *sequence) |
Call entries manipulations.
enum GSM_CallShowNumber |
How to handle number when initiating voice call.
Enumerator | |
---|---|
GSM_CALL_ShowNumber | Show number. |
GSM_CALL_HideNumber | Hide number. |
GSM_CALL_DefaultNumberPresence | Keep phone default settings. |
Definition at line 192 of file gammu-call.h.
enum GSM_CallStatus |
Enum with status of call.
Definition at line 34 of file gammu-call.h.
GSM_Error GSM_AnswerCall | ( | GSM_StateMachine * | s, |
int | ID, | ||
gboolean | 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. |
Accept current incoming call.
Definition at line 871 of file api.c.
References GSM_Phone_Functions::AnswerCall, CHECK_PHONE_CONNECTION, GSM_Phone::Functions, _GSM_StateMachine::Phone, and PRINT_LOG_ERROR.
GSM_Error GSM_CancelCall | ( | GSM_StateMachine * | s, |
int | ID, | ||
gboolean | 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. |
Deny current incoming call.
Definition at line 884 of file api.c.
References GSM_Phone_Functions::CancelCall, CHECK_PHONE_CONNECTION, GSM_Phone::Functions, _GSM_StateMachine::Phone, and PRINT_LOG_ERROR.
GSM_Error GSM_ConferenceCall | ( | GSM_StateMachine * | s, |
int | ID | ||
) |
Initiates conference call.
s | State machine pointer. |
ID | ID of call. |
Initiates a conference call.
Definition at line 923 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone_Functions::ConferenceCall, GSM_Phone::Functions, _GSM_StateMachine::Phone, and PRINT_LOG_ERROR.
GSM_Error GSM_DialService | ( | GSM_StateMachine * | s, |
char * | Number | ||
) |
Dials service number (usually for USSD).
s | State machine pointer. |
Number | Number to dial. |
Dials service number (usually for USSD).
Definition at line 858 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone_Functions::DialService, GSM_Phone::Functions, _GSM_StateMachine::Phone, and PRINT_LOG_ERROR.
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. |
Dials number and starts voice call.
Definition at line 845 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone_Functions::DialVoice, GSM_Phone::Functions, _GSM_StateMachine::Phone, and PRINT_LOG_ERROR.
GSM_Error GSM_HoldCall | ( | GSM_StateMachine * | s, |
int | ID | ||
) |
Holds call.
s | State machine pointer. |
ID | ID of call. |
Holds call.
Definition at line 897 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, GSM_Phone_Functions::HoldCall, _GSM_StateMachine::Phone, and PRINT_LOG_ERROR.
GSM_Error GSM_SendDTMF | ( | GSM_StateMachine * | s, |
char * | sequence | ||
) |
Sends DTMF (Dual Tone Multi Frequency) tone.
s | State machine pointer. |
sequence | Sequence to press. |
Sends DTMF (Dual Tone Multi Frequency) tone.
Definition at line 1040 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, _GSM_StateMachine::Phone, PRINT_LOG_ERROR, and GSM_Phone_Functions::SendDTMF.
GSM_Error GSM_SetIncomingCall | ( | GSM_StateMachine * | s, |
gboolean | enable | ||
) |
Activates/deactivates noticing about incoming calls.
s | State machine pointer. |
enable | Whether to enable notifications. |
Activates/deactivates noticing about incoming calls.
Definition at line 1014 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, _GSM_StateMachine::Phone, PRINT_LOG_ERROR, and GSM_Phone_Functions::SetIncomingCall.
GSM_Error GSM_SplitCall | ( | GSM_StateMachine * | s, |
int | ID | ||
) |
Splits call.
s | State machine pointer. |
ID | ID of call. |
Splits call.
Definition at line 936 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, _GSM_StateMachine::Phone, PRINT_LOG_ERROR, and GSM_Phone_Functions::SplitCall.
GSM_Error GSM_SwitchCall | ( | GSM_StateMachine * | s, |
int | ID, | ||
gboolean | next | ||
) |
Switches call.
s | State machine pointer. |
ID | ID of call. |
next | Switches next call and ignores ID. |
Switches call.
Definition at line 962 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, _GSM_StateMachine::Phone, PRINT_LOG_ERROR, and GSM_Phone_Functions::SwitchCall.
GSM_Error GSM_TransferCall | ( | GSM_StateMachine * | s, |
int | ID, | ||
gboolean | next | ||
) |
Transfers call.
s | State machine pointer. |
ID | ID of call. |
next | Switches next call and ignores ID. |
Transfers call.
Definition at line 949 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, _GSM_StateMachine::Phone, PRINT_LOG_ERROR, and GSM_Phone_Functions::TransferCall.
GSM_Error GSM_UnholdCall | ( | GSM_StateMachine * | s, |
int | ID | ||
) |
Unholds call.
s | State machine pointer. |
ID | ID of call. |
Unholds call.
Definition at line 910 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, _GSM_StateMachine::Phone, PRINT_LOG_ERROR, and GSM_Phone_Functions::UnholdCall.