include/alp/mobile_call.h File Reference


Detailed Description

Public header file for the mobile call(s) services.

#include <alp/mobile_services.h>
#include <alp/mobile_line.h>

Go to the source code of this file.

Data Structures

struct  _AlpMblCall
struct  _AlpMblCallHistory
struct  _AlpMblCallHistoryList
struct  _AlpMblCallList
struct  _AlpMblCallUpdateInfo

Defines

#define ALP_MBL_CALL_ACCEPT_INFO_DEFAULT   ((AlpMblCallAcceptInfo) 0)
 Default behavior to accept a call. If there is one or more active calls, they will be held and the incoming call will be accepetd. If there one or more held calls, they will remains held, and the incoming call will be accepted. If there is one or more active call and one or more held call, active calls will be released, and then the incoming call will be accepted.
#define ALP_MBL_CALL_ACCEPT_INFO_RELEASE_ACTIVE   ((AlpMblCallAcceptInfo) 1)
 If there is one or more active calls, they will be released, and then the incoming call will be accepted. If there were held call, their status remains unchanged.
#define ALP_MBL_CALL_ACCEPT_INFO_RELEASE_HELD   ((AlpMblCallAcceptInfo) 2)
 If there is one or more held calls, they will be released, and then the incoming call will be accepted. If there were active call, they will be put on hold.
#define ALP_MBL_CALL_DIRECTION_INCOMING   ((AlpMblCallDirection) 2)
 Incoming call: Mobile terminated call, from the Network to the Teminal.
#define ALP_MBL_CALL_DIRECTION_OUTGOING   ((AlpMblCallDirection) 1)
 Outgoing call: Mobile originated call, from the Terminal to the Network.
#define ALP_MBL_CALL_ERROR_ACTION_REQUESTED_BY_CALL_CONTROL   ((AlpMblCallError) 12)
 The call is allowed with modifications.
#define ALP_MBL_CALL_ERROR_BARRED   ((AlpMblCallError) 15)
 Call has been barred by network.
#define ALP_MBL_CALL_ERROR_BLOCKED   ((AlpMblCallError) 10)
 The call has been blocked due to restriction list.
#define ALP_MBL_CALL_ERROR_BUSY   ((AlpMblCallError) 2)
 Call is busy.
#define ALP_MBL_CALL_ERROR_COST_LIMIT   ((AlpMblCallError) 14)
 Call failed due to cost limit reached.
#define ALP_MBL_CALL_ERROR_NO_CARRIER   ((AlpMblCallError) 3)
 There is no carrier.
#define ALP_MBL_CALL_ERROR_NO_CARRIER_EMERGENCY_ONLY   ((AlpMblCallError) 8)
 There is no carrier, except for emergency call.
#define ALP_MBL_CALL_ERROR_NO_ERROR   ((AlpMblCallError) 0)
 No call error.
#define ALP_MBL_CALL_ERROR_NOT_ALLOWED   ((AlpMblCallError) 4)
 Operation on this call is not allowed.
#define ALP_MBL_CALL_ERROR_NOT_ALLOWED_BY_CALL_CONTROL   ((AlpMblCallError) 11)
 The call is not allowed by Call Control.
#define ALP_MBL_CALL_ERROR_NOT_SUPPORTED   ((AlpMblCallError) 7)
 This type of call is not supported.
#define ALP_MBL_CALL_ERROR_NWK_UNABLE_TO_PROCESS_COMMAND   ((AlpMblCallError) 13)
 Call has been released because the network is unable to process the cmd.
#define ALP_MBL_CALL_ERROR_RELEASE_BY_PEER   ((AlpMblCallError) 5)
 Call has been released by the peer.
#define ALP_MBL_CALL_ERROR_RELEASE_BY_USER   ((AlpMblCallError) 6)
 Call has been released by the user.
#define ALP_MBL_CALL_ERROR_SS_DETECTED   ((AlpMblCallError) 9)
 The dial string is a Supplementary Services.
#define ALP_MBL_CALL_ERROR_UNKNOWN   ((AlpMblCallError) 1)
 Unknow call error.
#define ALP_MBL_CALL_FILTER_ACTIVE   ((AlpMblCallFilter) 2)
 All active calls.
#define ALP_MBL_CALL_FILTER_ALL   ((AlpMblCallFilter) 1)
 All calls.
#define ALP_MBL_CALL_FILTER_ON_HOLD   ((AlpMblCallFilter) 3)
 All hold calls.
#define ALP_MBL_CALL_HISTORY_TYPE_ALL   ((AlpMblCallHistoryType) 0)
 All calls.
#define ALP_MBL_CALL_HISTORY_TYPE_DIALED   ((AlpMblCallHistoryType) 3)
 All dialed calls.
#define ALP_MBL_CALL_HISTORY_TYPE_MISSED   ((AlpMblCallHistoryType) 1)
 All missed calls.
#define ALP_MBL_CALL_HISTORY_TYPE_RECEIVED   ((AlpMblCallHistoryType) 2)
 All received calls.
#define ALP_MBL_CALL_HISTORY_TYPE_RECENT   ((AlpMblCallHistoryType) 4)
 All recent calls: dialed called, without duplicate.
#define ALP_MBL_CALL_IN_MULTIPARTY_CONFERENCE   true
 Call is part of a multi-party conference group.
#define ALP_MBL_CALL_INFO_CALL_CONFERENCE_BY_REMOTE   ((AlpMblCallInfo) 6)
 A call has been add into a conference by remote.
#define ALP_MBL_CALL_INFO_CALL_HOLD_BY_REMOTE   ((AlpMblCallInfo) 4)
 A call has been put on hold by remote.
#define ALP_MBL_CALL_INFO_CALL_RESUMED_BY_REMOTE   ((AlpMblCallInfo) 5)
 A call has been resumed by remote.
#define ALP_MBL_CALL_INFO_MO_CALL_FORWARDED   ((AlpMblCallInfo) 2)
 MO call: the outgoing call is forwarded.
#define ALP_MBL_CALL_INFO_MO_CALL_IS_WAITING   ((AlpMblCallInfo) 1)
 MO call: the outgoing call is waiting on remote side.
#define ALP_MBL_CALL_INFO_MT_CALL_FORWARDED   ((AlpMblCallInfo) 3)
 MT call: the incoming call is a forwarded call.
#define ALP_MBL_CALL_INFO_NO_EXTRA_INFO   ((AlpMblCallInfo) 0)
 No extra information.
#define ALP_MBL_CALL_NOT_IN_MULTIPARTY_CONFERENCE   false
 Call is not part of a multi-party conference group.
#define ALP_MBL_CALL_NOTIFICATION_ADDRESS_AVAILABLE   ((AlpMblNotificationId) 2)
 The Address information of a call is available.
#define ALP_MBL_CALL_NOTIFICATION_CALL_ERROR   ((AlpMblNotificationId) 4)
 A call error occurs.
#define ALP_MBL_CALL_NOTIFICATION_CCBS_POSSIBLE   ((AlpMblNotificationId) 6)
 Calling party is busy, and call completion of busy subscriber is possible.
#define ALP_MBL_CALL_NOTIFICATION_CONTACT_AVAILABLE   ((AlpMblNotificationId) 3)
 The Contact information of a call is available.
#define ALP_MBL_CALL_NOTIFICATION_COST_CHANGE   ((AlpMblNotificationId) 5)
 The cost of a call has changed.
#define ALP_MBL_CALL_NOTIFICATION_STATUS_CHANGE   ((AlpMblNotificationId) 1)
 The status of a call has changed.
#define ALP_MBL_CALL_STATUS_ACTIVE   ((AlpMblCallStatus) 2)
 Call is active.
#define ALP_MBL_CALL_STATUS_ALERTING   ((AlpMblCallStatus) 5)
 Alerting in progress.
#define ALP_MBL_CALL_STATUS_DIALING   ((AlpMblCallStatus) 4)
 Dialling in progress.
#define ALP_MBL_CALL_STATUS_IDLE   ((AlpMblCallStatus) 1)
 Idle state.
#define ALP_MBL_CALL_STATUS_INCOMING   ((AlpMblCallStatus) 6)
 Incoming call.
#define ALP_MBL_CALL_STATUS_ON_HOLD   ((AlpMblCallStatus) 3)
 Call is on hold.
#define ALP_MBL_CALL_STATUS_RELEASED   ((AlpMblCallStatus) 8)
 Call is released.
#define ALP_MBL_CALL_STATUS_WAITING   ((AlpMblCallStatus) 7)
 Waiting call.
#define ALP_MBL_CALL_TYPE_VIDEO   ((AlpMblCallType) 1)
 Video telephony call.
#define ALP_MBL_CALL_TYPE_VOICE   ((AlpMblCallType) 0)
 Voice only call.

Typedefs

typedef _AlpMblCall AlpMblCall
typedef unsigned char AlpMblCallAcceptInfo
 Info on the way to accept a call. See ALP_MBL_CALL_ACCEPT_INFO_XXX defines.
typedef void(* AlpMblCallAddressAvailableCallbackPtr )(void *iUserDataP, AlpMblCallId iCallId, AlpMblAddress iAddress)
typedef void(* AlpMblCallCCBSPossibleCallbackPtr )(void *iUserDataP, AlpMblCallId iCallId)
typedef void(* AlpMblCallContactAvailableCallbackPtr )(void *iUserDataP, AlpMblCallId iCallId, AlpLuid iPersonLuid, AlpLuid iContactLuid)
typedef void(* AlpMblCallCostChangeCallbackPtr )(void *iUserDataP, AlpMblCallId iCallId, AlpMblCost iPrevious, AlpMblCost iCurrent)
typedef unsigned long AlpMblCallDate
 Call date: number of seconds since January 1, 1970.
typedef unsigned char AlpMblCallDirection
typedef unsigned long AlpMblCallDuration
 Call duration, in seconds.
typedef unsigned char AlpMblCallError
 Call error: see ALP_MBL_CALL_XXX defines.
typedef void(* AlpMblCallErrorCallbackPtr )(void *iUserDataP, AlpMblAddress iCallAddress, AlpLuid iPersonLuid, AlpMblCallError iCallError)
typedef unsigned char AlpMblCallFilter
typedef _AlpMblCallHistory AlpMblCallHistory
typedef _AlpMblCallHistoryList AlpMblCallHistoryList
typedef unsigned char AlpMblCallHistoryType
 Type of call history.
typedef unsigned short AlpMblCallId
typedef unsigned char AlpMblCallInfo
 Call extra information: see ALP_MBL_CALL_INFO_XXX defines.
typedef _AlpMblCallList AlpMblCallList
typedef char AlpMblCallName [64]
typedef unsigned char AlpMblCallStatus
typedef void(* AlpMblCallStatusChangeCallbackPtr )(void *iUserDataP, AlpMblCallId iCallId, AlpMblCallStatus iPrevious, AlpMblCallStatus iCurrent, bool iConferenceStatus, AlpMblCallError iCallError, AlpMblCallType iCallType, AlpMblCallInfo iCallInfo)
typedef char AlpMblCallThumbnailUri [128]
typedef unsigned char AlpMblCallType
 Type of call: voice only or video telephony call.
typedef _AlpMblCallUpdateInfo AlpMblCallUpdateInfo

Functions

alp_status_t alp_mbl_call_accept (AlpMblCallId iCallId, AlpMblCallAcceptInfo iAcceptInfo)
alp_status_t alp_mbl_call_activate_completion_to_busy_subscriber (AlpMblCallId iCallId)
alp_status_t alp_mbl_call_deflect (AlpMblCallId iCallId, AlpMblAddress iAddress)
alp_status_t alp_mbl_call_dial (AlpMblCallId iCallId)
alp_status_t alp_mbl_call_dial_dtmf (AlpMblCallId iCallId, char *iDtmfP)
alp_status_t alp_mbl_call_exclude_call (AlpMblCallId iCallId)
alp_status_t alp_mbl_call_get (AlpMblCallId iCallId, AlpMblCall *oCallP)
alp_status_t alp_mbl_call_get_address (AlpMblCallId iCallId, AlpMblAddress *oAddressP)
alp_status_t alp_mbl_call_get_conference (AlpMblCallId iCallId, AlpMblCallList *oCallListP)
alp_status_t alp_mbl_call_get_context_id (AlpMblCallId iCallId, AlpMblContextId *oContextIdP)
alp_status_t alp_mbl_call_get_cost (AlpMblCallId iCallId, AlpMblCost *oCostP)
alp_status_t alp_mbl_call_get_date (AlpMblCallId iCallId, AlpMblCallDate *oDateP)
alp_status_t alp_mbl_call_get_direction (AlpMblCallId iCallId, AlpMblCallDirection *oDirectionP)
alp_status_t alp_mbl_call_get_duration (AlpMblCallId iCallId, AlpMblCallDuration *oDurationP)
alp_status_t alp_mbl_call_get_info (AlpMblCallId iCallId, AlpMblCallInfo *oInfoP)
alp_status_t alp_mbl_call_get_line_id (AlpMblCallId iCallId, AlpMblLineId *oLineIdP)
alp_status_t alp_mbl_call_get_luid (AlpMblCallId iCallId, AlpLuid *oPersonLuidP) __attribute((deprecated))
alp_status_t alp_mbl_call_get_luids (AlpMblCallId iCallId, AlpLuid *oPersonLuidP, AlpLuid *oContactLuidP)
alp_status_t alp_mbl_call_get_name (AlpMblCallId iCallId, AlpMblCallName *oNameP)
alp_status_t alp_mbl_call_get_status (AlpMblCallId iCallId, AlpMblCallStatus *oStatusP)
alp_status_t alp_mbl_call_get_thumbnail (AlpMblCallId iCallId, AlpMblCallThumbnailUri *oThumbnailUriP)
alp_status_t alp_mbl_call_get_type (AlpMblCallId iCallId, AlpMblCallType *oTypeP)
alp_status_t alp_mbl_call_hold (AlpMblCallId iCallId)
alp_status_t alp_mbl_call_is_conference (AlpMblCallId iCallId, bool *oIsConferenceP)
alp_status_t alp_mbl_call_is_emergency (AlpMblCallId iCallId, bool *oIsEmergencyP)
alp_status_t alp_mbl_call_is_roaming (AlpMblCallId iCallId, bool *oIsRoamingP)
alp_status_t alp_mbl_call_join_call (AlpMblCallId iCallId, AlpMblCallId iCallIdToJoin)
alp_status_t alp_mbl_call_private_call (AlpMblCallId iCallId)
alp_status_t alp_mbl_call_reject (AlpMblCallId iCallId)
alp_status_t alp_mbl_call_release (AlpMblCallId iCallId)
alp_status_t alp_mbl_call_release_conference (AlpMblCallId iCallId)
alp_status_t alp_mbl_call_send_dtmf (AlpMblCallId iCallId, char *iDtmfP)
alp_status_t alp_mbl_call_transfer (AlpMblCallId iCallId, AlpMblCallId iTransferToCallId)
alp_status_t alp_mbl_call_transfert (AlpMblCallId iCallId, AlpMblCallId iTransfertToCallId) __attribute((deprecated))


Generated on Wed Jul 30 07:06:40 2008 by Doxygen 1.4.6 for ALP SDK + Hiker Documentation

Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.