|
LinuxQMISDK
SLQS03.03.16
|
Voice Service API function prototypes. More...
Go to the source code of this file.
Macros | |
| #define | MAXUSSDLENGTH 182 |
| #define | MAX_CALL_NO_LEN 81 |
| #define | MAX_DESCRIPTION_LENGTH 255 |
| #define | PASSWORD_LENGTH 4 |
| #define | MAX_NO_OF_CALLS 20 |
Enumerations | |
| enum | serviceClassInformation { VOICE_SUPS_SRV_CLASS_NONE = 0x00, VOICE_SUPS_SRV_CLASS_VOICE = 0x01, VOICE_SUPS_SRV_CLASS_DATA = 0x02, VOICE_SUPS_SRV_CLASS_FAX = 0x04, VOICE_SUPS_SRV_CLASS_SMS = 0x08, VOICE_SUPS_SRV_CLASS_DATACIRCUITSYNC = 0x10, VOICE_SUPS_SRV_CLASS_DATACIRCUITASYNC = 0x20, VOICE_SUPS_SRV_CLASS_PACKETACCESS = 0x40, VOICE_SUPS_SRV_CLASS_PADACCESS = 0x80 } |
Voice Service API function prototypes.
| #define MAX_CALL_NO_LEN 81 |
| #define MAX_DESCRIPTION_LENGTH 255 |
| #define MAX_NO_OF_CALLS 20 |
| #define MAXUSSDLENGTH 182 |
| #define PASSWORD_LENGTH 4 |
Service Class information
Responds to a USSD request from the network.
| pInfo[IN] |
|
| ULONG CancelUSSD | ( | ) |
Cancels an in-progress USSD operation.
| None |
Initiates a USSD session.
| pReq | [IN]
|
| pResp | [OUT]
|
| ULONG SLQSVoiceALSSelectLine | ( | voiceALSSelectLineInfo * | pVoiceALSSelectLineInfo | ) |
This API allows the user to select the preferred line.
| pVoiceALSSelectLineInfo[IN] |
|
| ULONG SLQSVoiceALSSetLineSwitching | ( | voiceALSSetLineSwitchInfo * | pVoiceALSSetLineSwitchInfo | ) |
This API sets the line switch setting on the card.
| pVoiceALSSetLineSwitchInfo[IN] |
|
| ULONG SLQSVoiceAnswerCall | ( | voiceAnswerCall * | pVoiceAnswerCall | ) |
Answers an incoming voice call.
| pVoiceAnswerCall[IN/OUT] |
|
| ULONG SLQSVoiceBindSubscription | ( | voiceBindSubscriptionInfo * | pVoiceBindSubscriptionInfo | ) |
This API binds a subscription type to a specific voice client ID.
| pVoiceBindSubscriptionInfo[IN] |
|
| ULONG SLQSVoiceBurstDTMF | ( | voiceBurstDTMFInfo * | pBurstDTMFInfo | ) |
Sends a burst Dual-Tone Multi frequency (DTMF) (applicable only for 3GPP2)
| pBurstDTMFInfo[IN/OUT] |
|
| ULONG SLQSVoiceDialCall | ( | voiceCallRequestParams * | pCallRequestParams, |
| voiceCallResponseParams * | pCallResponseParams | ||
| ) |
Originates a voice call (MO call).
| pCallRequestParams[IN] |
|
| pCallResponseParams[OUT] |
|
This message ends a voice call
| pCallId | [IN/OUT]
|
| ULONG SLQSVoiceGetAllCallInfo | ( | voiceGetAllCallInfo * | pGetAllCallInfo | ) |
This API queries the information associated with all the calls originating or terminating from a particular device.
| pGetAllCallInfo[OUT] |
|
| ULONG SLQSVoiceGetCallBarring | ( | voiceGetCallBarringReq * | pVoiceGetCallBarringReq, |
| voiceGetCallBarringResp * | pVoiceGetCallBarringResp | ||
| ) |
Queries the status of Call Barring Supplementary Service (applicable only for 3GPP).
| pVoiceGetCallBarringReq[IN] |
|
| pVoiceGetCallBarringResp[OUT] |
|
| ULONG SLQSVoiceGetCallForwardingStatus | ( | voiceGetCallFWReq * | pVoiceGetCallFWReq, |
| voiceGetCallFWResp * | pVoiceGetCallFWResp | ||
| ) |
Queries the status of Call Forwarding Supplementary Service.
| pVoiceGetCallFWReq[IN] |
|
| pVoiceGetCallFWResp[OUT] |
|
| ULONG SLQSVoiceGetCallInfo | ( | voiceCallInfoReq * | pGetCallInfoReq, |
| voiceCallInfoResp * | pGetCallInfoResp | ||
| ) |
This API queries the information associated with a call and gives information about a particular call whose call Id is sent in as request.
| pGetCallInfoReq[IN] |
|
| pGetCallInfoResp[OUT] |
|
| ULONG SLQSVoiceGetCallWaiting | ( | voiceGetCallWaitInfo * | pVoiceGetCallWaitInfo | ) |
Queries the status of Call Waiting Supplementary Service (applicable only for 3GPP).
| pVoiceGetCallWaitInfo[IN/OUT] |
|
| ULONG SLQSVoiceGetCLIP | ( | voiceGetCLIPResp * | pVoiceGetCLIPResp | ) |
Queries the status of the Calling Line Identification Presentation (CLIP) supplementary service (applicable only for 3GPP).
| pVoiceGetCLIPResp[OUT] |
|
| ULONG SLQSVoiceGetCLIR | ( | voiceGetCLIRResp * | pVoiceGetCLIRResp | ) |
Queries the status of the Calling Line Identification Restriction (CLIR) supplementary service (applicable only for 3GPP).
| pVoiceGetCLIRResp[OUT] |
|
| ULONG SLQSVoiceGetCNAP | ( | voiceGetCNAPResp * | pVoiceGetCNAPResp | ) |
Queries the status of the Calling Name Presentation(CNAP) supplementary service (applicable only for 3GPP).
| pVoiceGetCNAPResp[OUT] |
|
This API queries the status of the CNAP supplementary service. A response indicates whether CNAP is active/inactive and provisioned/not provisioned in the network. The active_status field is only applicable when provision_status is PROVISIONED, i.e., there is not any case where provision_status is NOT_PROVISIONED and active_status is ACTIVE. This API is applicable only in 3GPP devices.
| ULONG SLQSVoiceGetCOLP | ( | voiceGetCOLPResp * | pVoiceGetCOLPResp | ) |
Queries the status of the Connected Line Identification Presentation (COLP) supplementary service (applicable only for 3GPP).
| pVoiceGetCOLPResp[OUT] |
|
This API queries the status of the COLP supplementary service. A response indicates whether COLP is active/inactive and provisioned/not provisioned in the network. The active_status field is only applicable when provision_status is PROVISIONED, i.e., there is not any case where provision_status is NOT_PROVISIONED and active_status is ACTIVE. This API is applicable only in 3GPP devices.
| ULONG SLQSVoiceGetCOLR | ( | voiceGetCOLRResp * | pVoiceGetCOLRResp | ) |
Queries the status of the Connected Line Identification Restriction (COLR) supplementary service (applicable only for 3GPP).
| pVoiceGetCOLRResp[OUT] |
|
This API queries the status of the COLR supplementary service. A response indicates whether COLR is active/inactive and provisioned/not provisioned in the network. The active_status field is only applicable when provision_status is PROVISIONED, i.e., there is not any case where provision_status is NOT_PROVISIONED and active_status is ACTIVE. This API is applicable only in 3GPP devices.
| ULONG SLQSVoiceGetConfig | ( | voiceGetConfigReq * | pVoiceGetConfigReq, |
| voiceGetConfigResp * | pVoiceGetConfigResp | ||
| ) |
This API retrieves various configuration parameters that control the modem behavior related to circuit switched services.
| pVoiceGetConfigReq |
|
| pVoiceGetConfigResp |
|
| ULONG SLQSVoiceIndicationRegister | ( | voiceIndicationRegisterInfo * | pVoiceIndicationRegisterInfo | ) |
Sets the registration state for different QMI_VOICE indications for the requesting control point
| pVoiceIndicationRegisterInfo[IN] |
|
This API is used by a device to register/deregister for different
QMI VOICE indications.
The device's registration state variables that control registration
for indications will be modified to reflect the settings indicated in the
request message.
At least one optional parameter must be present in the request. | ULONG SLQSVoiceManageCalls | ( | voiceManageCallsReq * | pVoiceManageCallsReq, |
| voiceManageCallsResp * | pVoiceManageCallsResp | ||
| ) |
Manages the calls by using the supplementary service applicable during the call. In cases of successful API completion if the state of any call is changed, it is indicated using CallBack SLQSVoiceSetAllCallStatusCallBack. If there are other calls while an incoming voice call (waiting call) is received, this API is used to answer the call. This API is applicable only in "3GPP devices".
| pVoiceManageCallsReq[IN] |
|
| pVoiceManageCallsResp[OUT] |
|
| ULONG SLQSVoiceOrigUSSDNoWait | ( | voiceOrigUSSDNoWaitInfo * | pVoiceOrigUSSDNoWaitInfo | ) |
This API initiates a USSD operation such that the response for this request is returned immediately and the data is returned via an indication.
| pVoiceOrigUSSDNoWaitInfo[IN] |
|
| ULONG SLQSVoiceSendFlash | ( | voiceFlashInfo * | pFlashInfo | ) |
This API sends a simple flash message. Applicable only for 3GPP2 devices.
| pFlashInfo[IN/OUT] |
|
| ULONG SLQSVoiceSetCallBarringPassword | ( | voiceSetCallBarringPwdInfo * | pVoiceSetCallBarringPwdInfo, |
| voiceSetCallBarringPwdResp * | pSetCallBarringPwdResp | ||
| ) |
Sets a Call Barring Password (applicable only for 3GPP).
| pVoiceSetCallBarringPwdInfo[IN] |
|
| pSetCallBarringPwdResp[OUT] |
|
| ULONG SLQSVoiceSetConfig | ( | voiceSetConfigReq * | pVoiceSetConfigReq, |
| voiceSetConfigResp * | pVoiceSetConfigResp | ||
| ) |
This message sets various configuration parameters that control the modem behavior related to circuit-switched services.
| pVoiceSetConfigReq[IN] |
|
| pVoiceSetConfigResp[OUT] |
|
| ULONG SLQSVoiceSetPreferredPrivacy | ( | voiceSetPrefPrivacy * | pSetPrefPrivacy | ) |
This API sets the voice privacy preference. Applicable only for 3GPP2 devices.
| pSetPrefPrivacy[IN] |
|
| ULONG SLQSVoiceSetSUPSService | ( | voiceSetSUPSServiceReq * | pVoiceSetSUPSServiceReq, |
| voiceSetSUPSServiceResp * | pVoiceSetSUPSServiceResp | ||
| ) |
This API manages call-independent supplementary services, e.g., activation of call forwarding (to forward incoming calls to a third party), activation of call barring (to request the network to block some of the call attempts), and activation of call waiting (to be notified of an incoming call even when the user is engaged in an active or held call).
| pVoiceSetSUPSServiceReq | [IN]
|
| pVoiceSetSUPSServiceResp | [OUT]
|
| ULONG SLQSVoiceStartContDTMF | ( | voiceContDTMFinfo * | pContDTMFInfo | ) |
Starts a continuous DTMF.
| pContDTMFInfo[IN/OUT] |
|
| ULONG SLQSVoiceStopContDTMF | ( | voiceStopContDTMFinfo * | pVoiceStopContDTMFinfo | ) |
Stops a continuous DTMF.
| pVoiceStopContDTMFinfo |
|