Go to the source code of this file.
Typedefs | |
| typedef struct le_mcc_call_Obj * | le_mcc_call_ObjRef_t |
Legato Modem Call Control include file.
Copyright (C) Sierra Wireless, Inc. 2014. Use of this work is subject to license.
| typedef struct le_mcc_call_Obj* le_mcc_call_ObjRef_t |
Reference type for managing active calls.
| enum le_mcc_call_Event_t |
Enumeration of the possible events that may be reported to a call event handler.
Enumeration of the possible reasons for call termination.
| le_result_t le_mcc_call_Answer | ( | le_mcc_call_ObjRef_t | callRef | ) |
Answers incoming call.
| [in] | callRef | The call reference. |
| void le_mcc_call_ConnectService | ( | void | ) |
Connect the client to the service
| void le_mcc_call_Delete | ( | le_mcc_call_ObjRef_t | callRef | ) |
Call to free up a call reference.
| [in] | callRef | The call object to free. |
| void le_mcc_call_DisconnectService | ( | void | ) |
Disconnect the client from the service
| le_result_t le_mcc_call_GetCallerIdRestrict | ( | le_mcc_call_ObjRef_t | callRef, |
| le_onoff_t * | clirStatusPtrPtr | ||
| ) |
This function return the Calling Line Identification Restriction (CLIR) status on the specific call.
The output parameter is updated with the CLIR status.
| [in] | callRef | The call reference. |
| [out] | clirStatusPtrPtr | the Calling Line Identification Restriction (CLIR) status |
| le_result_t le_mcc_call_GetRemoteTel | ( | le_mcc_call_ObjRef_t | callRef, |
| char * | telPtr, | ||
| size_t | telPtrNumElements | ||
| ) |
Display the remote party telephone number associated with the call.
Output parameter is updated with the telephone number. If the Telephone number string length exceeds the value of 'len' parameter, the LE_OVERFLOW error code is returned and 'telPtr' is used until 'len-1' characters and a null-character is implicitly appended at the end of 'telPtr'.
| [in] | callRef | The call reference to read from. |
| [out] | telPtr | The telephone number string. |
| [in] | telPtrNumElements |
| le_audio_StreamRef_t le_mcc_call_GetRxAudioStream | ( | le_mcc_call_ObjRef_t | callRef | ) |
Called to get the received audio stream. All audio received from the other end of the call is received on this stream.
| [in] | callRef | The call reference to read from. |
| le_mcc_call_TerminationReason_t le_mcc_call_GetTerminationReason | ( | le_mcc_call_ObjRef_t | callRef | ) |
Called to get the termination reason.
| [in] | callRef | The call reference to read from. |
| le_audio_StreamRef_t le_mcc_call_GetTxAudioStream | ( | le_mcc_call_ObjRef_t | callRef | ) |
Called to get the transmitted audio stream. All audio generated on this end of the call is sent on this stream.
| [in] | callRef | The call reference to read from. |
| le_result_t le_mcc_call_HangUp | ( | le_mcc_call_ObjRef_t | callRef | ) |
Disconnect, or hang up, the specifed call. Any active call handlers will be notified.
| [in] | callRef | The call to end. |
| le_result_t le_mcc_call_HangUpAll | ( | void | ) |
This function will disconnect, or hang up all the ongoing calls. Any active call handlers will be notified.
| bool le_mcc_call_IsConnected | ( | le_mcc_call_ObjRef_t | callRef | ) |
Allow the caller to know if the given call is actually connected or not.
| [in] | callRef | The call reference to read. |
| le_result_t le_mcc_call_SetCallerIdRestrict | ( | le_mcc_call_ObjRef_t | callRef, |
| le_onoff_t | clirStatus | ||
| ) |
This function set the Calling Line Identification Restriction (CLIR) status on the specific call. Default value is LE_OFF (Enable presentation of own phone number to remote).
| [in] | callRef | The call reference. |
| [in] | clirStatus | The Calling Line Identification Restriction (CLIR) status. |
| le_result_t le_mcc_call_Start | ( | le_mcc_call_ObjRef_t | callRef | ) |
Start a call attempt.
Asynchronous due to possible time to connect.
As the call attempt proceeds, the profile's registered call event handler receives events.
| [in] | callRef | Reference to the call object. |