|
Gammu internals
1.38.0
|
Data Structures | |
| struct | GSM_CallDivert |
| struct | GSM_MultiCallDivert |
Enumerations | |
| enum | GSM_Divert_DivertTypes { GSM_DIVERT_Busy = 0x01, GSM_DIVERT_NoAnswer, GSM_DIVERT_OutOfReach, GSM_DIVERT_AllTypes } |
| enum | GSM_Divert_CallTypes { GSM_DIVERT_VoiceCalls = 0x01, GSM_DIVERT_FaxCalls, GSM_DIVERT_DataCalls, GSM_DIVERT_AllCalls } |
Functions | |
| GSM_Error | GSM_GetCallDivert (GSM_StateMachine *s, GSM_CallDivert *request, GSM_MultiCallDivert *result) |
| GSM_Error | GSM_SetCallDivert (GSM_StateMachine *s, GSM_CallDivert *divert) |
| GSM_Error | GSM_CancelAllDiverts (GSM_StateMachine *s) |
Diversion entries manipulations.
| enum GSM_Divert_CallTypes |
Which type of calls should be diverted.
| Enumerator | |
|---|---|
| GSM_DIVERT_VoiceCalls | Voice calls. |
| GSM_DIVERT_FaxCalls | Fax calls. |
| GSM_DIVERT_DataCalls | Data calls. |
| GSM_DIVERT_AllCalls | All calls. |
Definition at line 134 of file gammu-call.h.
Defines when diversion is active.
Definition at line 110 of file gammu-call.h.
| GSM_Error GSM_CancelAllDiverts | ( | GSM_StateMachine * | s | ) |
Cancels all diverts.
| s | State machine pointer. |
Cancels all diverts.
Definition at line 1001 of file api.c.
References GSM_Phone_Functions::CancelAllDiverts, CHECK_PHONE_CONNECTION, GSM_Phone::Functions, _GSM_StateMachine::Phone, and PRINT_LOG_ERROR.
| GSM_Error GSM_GetCallDivert | ( | GSM_StateMachine * | s, |
| GSM_CallDivert * | request, | ||
| GSM_MultiCallDivert * | result | ||
| ) |
Gets call diverts.
| s | State machine pointer. |
| request | Which diverts to get. |
| result | Storage for diversions information. |
Gets call diverts.
Definition at line 975 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, GSM_Phone_Functions::GetCallDivert, _GSM_StateMachine::Phone, and PRINT_LOG_ERROR.
| GSM_Error GSM_SetCallDivert | ( | GSM_StateMachine * | s, |
| GSM_CallDivert * | divert | ||
| ) |
Sets call diverts.
| s | State machine pointer. |
| divert | Diversions information to set. |
Sets call diverts.
Definition at line 988 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, _GSM_StateMachine::Phone, PRINT_LOG_ERROR, and GSM_Phone_Functions::SetCallDivert.