#include "legato.h"
#include "le_mcc.h"
Go to the source code of this file.
Legato Modem Call Control Platform Adapter API include file.
Copyright (C) Sierra Wireless, Inc. 2013. All rights reserved. Use of this work is subject to license.
A handler that is called whenever a call event is received by the modem.
- Parameters
-
| pData | Data information that the handler may require. |
CLIR supplementary service subscription. If present, the CLIR supplementary service subscription is overridden temporary for this call only.
| Enumerator |
|---|
| PA_MCC_ACTIVATE_CLIR |
Disable presentation of own phone number to remote.
|
| PA_MCC_DEACTIVATE_CLIR |
Enable presentation of own phone number to remote.
|
CUG supplementary service information. If present, the CUG supplementary service information is overridden temporary for this call only.
| Enumerator |
|---|
| PA_MCC_ACTIVATE_CUG |
Activate.
|
| PA_MCC_DEACTIVATE_CUG |
Deactivate.
|
This function must be called to answer a call.
- Returns
- LE_NOT_POSSIBLE The function failed.
-
LE_TIMEOUT No response was received.
-
LE_OK The function succeeded.
| void pa_mcc_ClearCallEventHandler |
( |
void |
| ) |
|
This function must be called to unregister the handler for incoming calls handling.
This function must be called to disconnect the remote user.
- Returns
- LE_NOT_POSSIBLE The function failed.
-
LE_TIMEOUT No response was received.
-
LE_OK The function succeeded.
This function must be called to register a handler for Call event notifications.
- Returns
- LE_NOT_POSSIBLE The function failed to register the handler.
-
LE_OK The function succeeded.
- Parameters
-
| [in] | handlerFuncPtr | The event handler function. |
This function must be called to set a voice call.
- Returns
- LE_NOT_POSSIBLE The function failed.
-
LE_OK The function succeeded.
- Parameters
-
| [in] | pn | The phone number. |
| [in] | clir | The CLIR supplementary service subscription. |
| [in] | cug | The CUG supplementary service information. |
| [out] | callIdPtr | The outgoing call ID. |