CMmCallTsy Class Reference

class CMmCallTsy : public CCallBase

CMmCallTsy contains extended call functionality that is not mode-dependent

Public Member Functions
~CMmCallTsy()
TInt AcquireOwnership(const )
TInt AcquireOwnershipCancel(const )
CMmCallExtInterface *ActiveCallExtension()
TInt AnswerIncomingCall(const TTsyReqHandle, const TDesC8 *)
TInt AnswerIncomingCallCancel(const TTsyReqHandle)
TUint32 CallCaps()
RMobileCall::TMobileCallDirection CallDirection()
TInt CallId()
RMobilePhone::TMobileService CallMode()
const TDesC &CallName()
TInt CancelService(const TInt, const TTsyReqHandle)
voidComplete(TInt, TInt)
voidCompleteAnswerIncomingCall(TInt)
voidCompleteDial(TInt)
voidCompleteDialNoFdn(TInt)
voidCompleteHangUp(TInt)
voidCompleteNotifyCallDurationChange()
voidCompleteNotifyMobileCallCapsChange(TInt)
voidCompleteNotifyMobileCallInfoChange(CMmDataPackage *)
voidCompleteNotifyPrivacyConfirmation(RMobilePhone::TMobilePhonePrivacy)
voidCompleteNotifyRemoteCallEvent(const CMmDataPackage *)
voidCompleteNotifyRemotePartyInfoChange()
voidCompleteNotifyStatusChange(TInt, CMmDataPackage *)
voidCompleteReceiveUUI(CMmDataPackage *, TInt)
voidCompleteTransfer(TInt)
TInt DeregisterNotification(const TInt)
TInt Dial(const TTsyReqHandle, const TDesC8 *, TDesC *)
TInt DialCancel(const TTsyReqHandle)
TBool ETelOriginated()
TInt ExtFunc(const TTsyReqHandle, const TInt, const TDataPackage &)
TInt FillMobileCallInfo(TDes8 *)
TInt FillMobileCallInfoDefaults(RMobileCall::TMobileCallInfoV1 *)
TInt GetCallDuration(const TTsyReqHandle, TTimeIntervalSeconds *)
TInt GetCallParams(const TTsyReqHandle, TDes8 *)
TInt GetCaps(const TTsyReqHandle, RCall::TCaps *)
TUint8 GetDiagnostics()
TBool GetDialFlag()
TUint8 GetDialTypeId()
TInt GetExtensionId()
TInt GetFaxSettings(const , RCall::TFaxSessionSettings *)
TBool GetGhostCall()
TInt GetInfo(const TTsyReqHandle, RCall::TCallInfo *)
TInt GetOwnershipStatus(const , RCall::TOwnershipStatus *)
TInt GetStatus(const TTsyReqHandle, RCall::TStatus *)
voidHandleGhostCallStatusChange(TInt, CMmDataPackage *)
TInt HangUp(const TTsyReqHandle)
TInt HangUpCancel(const TTsyReqHandle)
TBool IsPartOfConference()
TBool IsRemoteReleasedCall()
TBool IsServiceLocallyRequested(CMmCallTsy::TCallRequestTypes)
TBool IsUnownedCallObject()
CMmLineTsy *Line()
RMobileCall::TMobileCallStatus MobileCallStatus()
TInt NotifyCapsChange(const TTsyReqHandle, RCall::TCaps *)
TInt NotifyCapsChangeCancel(const TTsyReqHandle)
TInt NotifyDurationChange(const TTsyReqHandle, TTimeIntervalSeconds *)
TInt NotifyDurationChangeCancel(const TTsyReqHandle)
TInt NotifyHookChange(const TTsyReqHandle, RCall::THookStatus *)
TInt NotifyHookChangeCancel(const TTsyReqHandle)
TInt NotifyStatusChange(const TTsyReqHandle, RCall::TStatus *)
TInt NotifyStatusChangeCancel(const TTsyReqHandle)
TInt NumberOfSlotsL(const TInt)
CTelObject *OpenNewObjectByNameL(const TDesC &)
CTelObject *OpenNewObjectL(TDes &)
CMmPhoneTsy *Phone()
TInt PreviousCallId()
TInt RegisterNotification(const TInt)
TInt RelinquishOwnership()
CTelObject::TReqModeReqModeL(const TInt)
voidResetPreviousCallId()
TBool ServiceRequested(CMmCallTsy::TCallRequestTypes)
voidSetCallCaps(TUint32)
TInt SetCallDirection(RMobileCall::TMobileCallDirection)
TInt SetCallId(TInt)
voidSetCallStatus(RCall::TStatus, RMobileCall::TMobileCallStatus)
voidSetDiagnostics(TUint8)
voidSetDialFlag(TBool)
voidSetDialTypeId(TUint8)
voidSetExtensionId(TInt)
TInt SetFaxSettings(const , const RCall::TFaxSessionSettings *)
voidSetGhostCall(TBool)
voidSetPartOfConference(TBool)
voidSetUnownedCallObjectFlag(TBool)
RCall::TStatus Status()
TInt TransferOwnership(const )
Protected Member Functions
CMmCallTsy()
TInt ActivateUUS(const TTsyReqHandle, RMobileCall::TMobileCallUUSRequestV1Pckg *)
voidClearCallStatus()
voidCompleteNotifyCallEvent(RMobileCall::TMobileCallEvent)
voidCompleteNotifyCapsChange()
voidConstructL(RMobilePhone::TMobileService)
TInt DoExtFuncL(const TTsyReqHandle, const TInt, const TDataPackage &)
TTimeIntervalSeconds GetCallDurationInSeconds()
CMmTsyReqHandleStore *GetCallReqHandleStore()
TInt GetMobileCallCaps(const TTsyReqHandle, TDes8 *)
TInt GetMobileCallInfo(const TTsyReqHandle, TDes8 *)
TInt GetMobileCallStatus(const TTsyReqHandle, RMobileCall::TMobileCallStatus *)
voidInitExtensionModulesL(RMobilePhone::TMobileService)
voidInitInternalAttributes()
TInt NotifyCallEvent(RMobileCall::TMobileCallEvent *)
TInt NotifyCallEventCancel(const TTsyReqHandle)
TInt NotifyMobileCallCapsChange(TDes8 *)
TInt NotifyMobileCallCapsChangeCancel(const TTsyReqHandle)
TInt NotifyMobileCallStatusChange(RMobileCall::TMobileCallStatus *)
TInt NotifyMobileCallStatusChangeCancel(const TTsyReqHandle)
TInt NotifyPrivacyConfirmation(RMobilePhone::TMobilePhonePrivacy *)
TInt NotifyPrivacyConfirmationCancel(const TTsyReqHandle)
TInt NotifyRemotePartyInfoChange(TDes8 *)
TInt NotifyRemotePartyInfoChangeCancel(const TTsyReqHandle)
TInt ReceiveUUI(const TTsyReqHandle, RMobileCall::TMobileCallUUI *)
TInt ReceiveUUICancel(const TTsyReqHandle)
voidSetCallName(const TName &)
voidSetPreviousCallId(TInt)
voidSetTypeOfResponse(const TInt, const TTsyReqHandle)
TInt TransferL(const TTsyReqHandle)
voidUpdateLifeTimer()
Private Member Functions
TBool IsRequestPossibleInOffline(TInt)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CCallBase::CCallBase()
CCallBase::CheckOwnership(const TTsyReqHandle)const
CCallBase::CheckPriorityClient(const TTsyReqHandle)const
CCallBase::CreateFaxProgressChunk()
CCallBase::DeleteFaxProgressChunk()
CCallBase::GlobalKernelObjectHandle()
CCallBase::RecoverDataPortAndRelinquishOwnershipCompleted(const TInt)
CCallBase::RelinquishOwnershipCompleted(const TInt)
CCallBase::ResolveSubSessionHandle(const TTsyReqHandle,const TInt)
CCallBase::SetFaxSharedHeaderFile(const TTsyReqHandle,CFaxSharedFileHandles *)
CCallBase::SetOwnership(const TTsyReqHandle)
CCallBase::SetUnowned()
CCallBase::~CCallBase()
CObject::AccessCount()const
CObject::CObject()
CObject::Close()
CObject::Dec()
CObject::Extension_(TUint,TAny *&,TAny *)
CObject::FullName()const
CObject::Name()const
CObject::Open()
CObject::Owner()const
CObject::SetName(const TDesC *)
CObject::SetNameL(const TDesC *)
CObject::SetOwner(CObject *)
CObject::UniqueID()const
CObject::~CObject()
CSubSessionExtBase::CSubSessionExtBase()
CSubSessionExtBase::NullMethod1()
CSubSessionExtBase::ServiceExtFunc(const RMessage2 &,CReqEntry *)
CSubSessionExtBase::~CSubSessionExtBase()
CTelObject::BufferDes1(const CBuffer *,CBuffer::TWhichSlot)const
CTelObject::BufferDes1u(const CBuffer *,CBuffer::TWhichSlot)const
CTelObject::BufferDes2(const CBuffer *,CBuffer::TWhichSlot)const
CTelObject::BufferDes2u(const CBuffer *,CBuffer::TWhichSlot)const
CTelObject::CTelObject()
CTelObject::CancelSubSession(CTelSession *,const TInt)
CTelObject::CheckAndDestroyDummySubSession()
CTelObject::CreateDummySession(CTelSession *,const TInt,TBool)
CTelObject::CreateDummySessionObjectL(CTelSession *)
CTelObject::DownCallOption(const TInt,TAny *)
CTelObject::FlowControlResume()
CTelObject::FlowControlSuspend()
CTelObject::FlushReqs(CTelSession *,const TInt)
CTelObject::GeneralReq(const RMessage2 &,CTelSession *,CReqEntry *,TBool)
CTelObject::GetRequiredPlatSecCaps(const TInt)
CTelObject::IsPriorityClientReq(TInt)const
CTelObject::PhoneOwner()const
CTelObject::Ptr1(const TDes8 *)const
CTelObject::RemoveDummySubSessionDestroyer()
CTelObject::ReqCompleted(const TTsyReqHandle,const TInt)
CTelObject::ResolveError(CTelSession *,const TInt)const
CTelObject::ServerVersion()const
CTelObject::SetPhoneOwner(CPhoneBase *)
CTelObject::TelObjectClose()
CTelObject::UpCallOption(const TInt,TAny *)
CTelObject::UpdateAndCompleteIfNecessary(CReqEntry *,TInt)const
CTelObject::WriteBackAndCompleteBufferedReq(const RMessage2 &,CReqEntry *,TInt)const
CTelObject::WriteBackAndCompleteReq(CReqEntry *,const TInt)const
CTelObject::~CTelObject()
Public Member Enumerations
enumTCallRequestTypes {
EMultimodeCallReqHandleUnknown, EMultimodeCallNotifyStatusChange, EMultimodeCallNotifyDurationChange, EMultimodeCallCapsChangeNotification, EMultimodeCallDial, EMultimodeCallAnswer, EMultimodeCallHangUp, EMultimodeMobileCallHold, EMultimodeMobileCallResume, EMultimodeMobileCallSwap, EMultimodeCallNotifyMobileCallStatusChange, EMultimodeCallNotifyCallEvent, EMultimodeCallNotifyRemotePartyInfoChange, EMultimodeMobileCallDialEmergencyCall, EMultimodeMobileCallDeflectCall, EMultimodeCallNotifyMobileCallCapsChange, EMultimodeCallTransfer, EMultimodeCallGoOneToOne, EMultimodeCallNotifyDataCallCapsChange, EMultimodeCallSetDynamicHscsdParams, EMultimodeCallNotifyHscsdInfoChange, EMultimodeCallNotifyPrivacyConfirmation, EMultimodeCallDialISV, EMultimodeCallAnswerISV, EMultimodeCallActiveUUS, EMultimodeCallReceiveUUI, EMultimodeCallDialNoFdnCheck, EMultimodeCallMaxNumOfRequests
}
enumTDialCancelStatus { EDialCancelNotCalled, EDialCancelCallCalled, EDialCancelCustomCalled }
Protected Attributes
TBool iAnswerCancelFlag
RCall::TCaps iCallCaps
RMobileCall::TMobileCallDirection iCallDirection
TInt iCallId
RMobilePhone::TMobileService iCallMode
TName iCallName
RMobileCall::TMobileCallParamsV7 iCallParams
RMobileCall::TMobileCallParamsV1Pckg iCallParamsPckg
TTsyReqHandle iCallReqHandles
RCall::TStatus iCallStatus
CHeartbeatRunner *iCallTimer
TUint8 iDiagnosticOctet
TDialCancelStatus iDialCancelFlag
TBool iDialFlag
TUint8 iDialTypeId
TBool iEmergencyCall
TBool iEtelOriginated
TInt iExtensionId
TBool iGhostCall
TBool iHangUpFlag
TBool iIsPartOfConference
TBool iIsRemoteReleasedCall
TInt iLastExitCode
CAcquireOwnerList *iList
CMmMessageManagerBase *iMessageManager
CMmCallExtInterface *iMmCallExtInterface
CMmLineTsy *iMmLine
CMmPhoneTsy *iMmPhone
RMobileCall::TMobileCallStatus iMobileCallStatus
TUint32 iPreviousCallControlCaps
TInt iPreviousCallId
RCall::TCaps iPreviousCaps
RMobileCall::TMobileCallUUI iReceivedUUI
TCallRequestTypes iReqHandleType
RMobileCall::TMobileCallEvent *iRetCallEvent
RCall::TCaps *iRetCaps
RMobileCall::TMobileCallStatus *iRetMobileCallStatus
TDes8 *iRetNotifyMobileCallCaps
RMobilePhone::TMobilePhonePrivacy *iRetPrivacyStatus
TDes8 *iRetRemotePartyInfo
RCall::TStatus *iRetStatus
TTimeIntervalSeconds *iRetTimeIntervalSeconds
RMobileCall::TMobileCallUUI *iRetUUI
MTelephonyAudioControl *iTelephonyAudioControl
TBool iTelephonyAudioControlSetup
CMmTsyReqHandleStore *iTsyReqHandleStore
RMobileCall::TMobileCallUUSRequestV1 iUUSRequest
TBool iUnownedCallObject

Constructor & Destructor Documentation

CMmCallTsy()

CMmCallTsy()[protected]

C++ default constructor.

~CMmCallTsy()

~CMmCallTsy()[virtual]

Destructor.

Member Functions Documentation

AcquireOwnership(const)

TInt AcquireOwnership(const TTsyReqHandle)[virtual]

Acquires ownership.

Parameters

const TTsyReqHandle

AcquireOwnershipCancel(const)

TInt AcquireOwnershipCancel(const TTsyReqHandle)[virtual]

Cancels method for AcquireOwnership.

Parameters

const TTsyReqHandle

ActivateUUS(const TTsyReqHandle, RMobileCall::TMobileCallUUSRequestV1Pckg *)

TInt ActivateUUS(const TTsyReqHandleaTsyReqHandle,
RMobileCall::TMobileCallUUSRequestV1Pckg *aUUSRequest
)[protected]

Specifies which User-To-User Signalling service(s) the phone should request to activate.

Parameters

const TTsyReqHandle aTsyReqHandle
RMobileCall::TMobileCallUUSRequestV1Pckg * aUUSRequestPointer to client side data

ActiveCallExtension()

CMmCallExtInterface *ActiveCallExtension()

Returns currently active call extension

AnswerIncomingCall(const TTsyReqHandle, const TDesC8 *)

TInt AnswerIncomingCall(const TTsyReqHandleaTsyReqHandle,
const TDesC8 *aCallParams
)[pure virtual]

Answers to an incoming call

Parameters

const TTsyReqHandle aTsyReqHandleRequest handle from the ETel server
const TDesC8 * aCallParamsCall parameters

AnswerIncomingCallCancel(const TTsyReqHandle)

TInt AnswerIncomingCallCancel(const TTsyReqHandleaTsyReqHandle)[virtual]

Cancels answering to an incoming call

Parameters

const TTsyReqHandle aTsyReqHandleRequest handle from the ETel server

CallCaps()

TUint32 CallCaps()const

Returns call capabilities

CallDirection()

RMobileCall::TMobileCallDirection CallDirection()const

Returns call direction

return Call direction (MO/MT call)

CallId()

TInt CallId()const

Get call ID

CallMode()

RMobilePhone::TMobileService CallMode()const

Get call mode

return Call mode

CallName()

const TDesC &CallName()const

Get call name

return Call name

CancelService(const TInt, const TTsyReqHandle)

TInt CancelService(const TIntaIpc,
const TTsyReqHandleaTsyReqHandle
)[pure virtual]

Cancels request that's IPC number and request handle are given as parameters

Parameters

const TInt aIpc
const TTsyReqHandle aTsyReqHandleRequest handle from ETel server

ClearCallStatus()

voidClearCallStatus()[protected, virtual]

Resets the status of the call

Complete(TInt, TInt)

voidComplete(TIntaReqHandleType,
TIntaError
)[virtual]

Calls the appropriate complete method due timer expiration

Parameters

TInt aReqHandleTypeTSY request handle type.
TInt aErrorError value for completion

CompleteAnswerIncomingCall(TInt)

voidCompleteAnswerIncomingCall(TIntaResult)[virtual]

Complete answering to the incoming call

Parameters

TInt aResultResult of the request

CompleteDial(TInt)

voidCompleteDial(TIntaResult)[virtual]

Complete dial request

Parameters

TInt aResultResult of the request

CompleteDialNoFdn(TInt)

voidCompleteDialNoFdn(TIntaResult)[virtual]

Completes DialNoFdnCheck request

Parameters

TInt aResultResult of the request

CompleteHangUp(TInt)

voidCompleteHangUp(TIntaResult)[virtual]

Complete hang up

Parameters

TInt aResultResult of the request

CompleteNotifyCallDurationChange()

voidCompleteNotifyCallDurationChange()

Complete call duration change notification

CompleteNotifyCallEvent(RMobileCall::TMobileCallEvent)

voidCompleteNotifyCallEvent(RMobileCall::TMobileCallEventaEvent)[protected]

Complete call event notification

CompleteNotifyCapsChange()

voidCompleteNotifyCapsChange()[protected]

Completes caps change notification

CompleteNotifyMobileCallCapsChange(TInt)

voidCompleteNotifyMobileCallCapsChange(TIntaErrorCode)

Complete a NotifyMobileCallCapsChange method

Parameters

TInt aErrorCodeError code

CompleteNotifyMobileCallInfoChange(CMmDataPackage *)

voidCompleteNotifyMobileCallInfoChange(CMmDataPackage *aDataPackage)

Complete mobile call information change notification

Parameters

CMmDataPackage * aDataPackage

CompleteNotifyPrivacyConfirmation(RMobilePhone::TMobilePhonePrivacy)

voidCompleteNotifyPrivacyConfirmation(RMobilePhone::TMobilePhonePrivacyaStatus)

This method completes privacy confirmation notification

Parameters

RMobilePhone::TMobilePhonePrivacy aStatusprivacy value

CompleteNotifyRemoteCallEvent(const CMmDataPackage *)

voidCompleteNotifyRemoteCallEvent(const CMmDataPackage *aPackage)

This method completes call event initiated by remote party

Parameters

const CMmDataPackage * aPackage

CompleteNotifyRemotePartyInfoChange()

voidCompleteNotifyRemotePartyInfoChange()

This method completes NotifyRemotePartyInfoChange notification

CompleteNotifyStatusChange(TInt, CMmDataPackage *)

voidCompleteNotifyStatusChange(TIntaResult,
CMmDataPackage *aDataPackage
)[pure virtual]

Complete status change notification

Parameters

TInt aResultResult of the request
CMmDataPackage * aDataPackage

CompleteReceiveUUI(CMmDataPackage *, TInt)

voidCompleteReceiveUUI(CMmDataPackage *aDataPackage,
TIntaResult
)

UUI message received from the remote user, complete req

Parameters

CMmDataPackage * aDataPackageIncludes received UUI information
TInt aResultResult code

CompleteTransfer(TInt)

voidCompleteTransfer(TIntaErrorCode)

Completes call transfering

Parameters

TInt aErrorCodeError code

ConstructL(RMobilePhone::TMobileService)

voidConstructL(RMobilePhone::TMobileServiceaMode)[protected, virtual]

By default Symbian 2nd phase constructor is private.

DeregisterNotification(const TInt)

TInt DeregisterNotification(const TIntaIpc)[pure virtual]

Deregister given notification

Parameters

const TInt aIpcIPC number of the request

Dial(const TTsyReqHandle, const TDesC8 *, TDesC *)

TInt Dial(const TTsyReqHandleaTsyReqHandle,
const TDesC8 *aCallParams,
TDesC *aTelNumber
)[pure virtual]

Dials a call.

Parameters

const TTsyReqHandle aTsyReqHandleTsy request handle
const TDesC8 * aCallParamsCall parameters
TDesC * aTelNumberPhone number to be called

DialCancel(const TTsyReqHandle)

TInt DialCancel(const TTsyReqHandleaTsyReqHandle)[virtual]

Cancels dialling.

Parameters

const TTsyReqHandle aTsyReqHandleTsy request handle

DoExtFuncL(const TTsyReqHandle, const TInt, const TDataPackage &)

TInt DoExtFuncL(const TTsyReqHandleaTsyReqHandle,
const TIntaIpc,
const TDataPackage &aPackage
)[protected, pure virtual]

DoExtFuncL is called by the server when it has a "extended", i.e. non-core ETel request for the TSY. To process a request handle, request type and request data are passed to the TSY.

Parameters

const TTsyReqHandle aTsyReqHandleRequest handle from ETel server
const TInt aIpcIPC number of the request
const TDataPackage & aPackageReference to the input parameters.

ETelOriginated()

TBool ETelOriginated()const

Returns ETrue if this call was originated through ETel API

ExtFunc(const TTsyReqHandle, const TInt, const TDataPackage &)

TInt ExtFunc(const TTsyReqHandleaTsyReqHandle,
const TIntaIpc,
const TDataPackage &aPackage
)

TRAP's all CMmCallTsy related MM API requests in case that they fail. This method functions only as a centralized TRAP for the DoExtFuncL method that does the actual mapping of IPC number to TSY method call.

Parameters

const TTsyReqHandle aTsyReqHandleTSY request handle from ETel server
const TInt aIpcIPC number of the request
const TDataPackage & aPackageReference to the input parameters.

FillMobileCallInfo(TDes8 *)

TInt FillMobileCallInfo(TDes8 *aInfo)[virtual]

Fills current parameters of mobile call info

Parameters

TDes8 * aInfoPointer to mobile call information

FillMobileCallInfoDefaults(RMobileCall::TMobileCallInfoV1 *)

TInt FillMobileCallInfoDefaults(RMobileCall::TMobileCallInfoV1 *aInfo)

Fills current parameters of mobile call info

Parameters

RMobileCall::TMobileCallInfoV1 * aInfoPointer to mobile call information

GetCallDuration(const TTsyReqHandle, TTimeIntervalSeconds *)

TInt GetCallDuration(const TTsyReqHandleaTsyReqHandle,
TTimeIntervalSeconds *aTime
)

Returns call duration information to the client

Parameters

const TTsyReqHandle aTsyReqHandleTSY request handle
TTimeIntervalSeconds * aTimeCurrent duration

GetCallDurationInSeconds()

TTimeIntervalSeconds GetCallDurationInSeconds()[protected]

Returns call duration in seconds

GetCallParams(const TTsyReqHandle, TDes8 *)

TInt GetCallParams(const TTsyReqHandleaTsyReqHandle,
TDes8 *aParams
)

Returns call parameters to the client

Parameters

const TTsyReqHandle aTsyReqHandleTSY request handle
TDes8 * aParamsContains call parameters on return

GetCallReqHandleStore()

CMmTsyReqHandleStore *GetCallReqHandleStore()[protected]

Returns pointer to iTsyReqHandleStore

GetCaps(const TTsyReqHandle, RCall::TCaps *)

TInt GetCaps(const TTsyReqHandleaTsyReqHandle,
RCall::TCaps *aCaps
)

Returns the call capabilities to the client

Parameters

const TTsyReqHandle aTsyReqHandleTSY request handle
RCall::TCaps * aCapsContains call capabilities on return

GetDiagnostics()

TUint8 GetDiagnostics()const

Returns value or internal attribute iDiagnosticOctect

GetDialFlag()

TBool GetDialFlag()[virtual]

Returns Dialflag value indicating if call is in dialling state

GetDialTypeId()

TUint8 GetDialTypeId()[virtual]

Gets iDialTypeId

GetExtensionId()

TInt GetExtensionId()[virtual]

Gets iExtensionId

GetFaxSettings(const, RCall::TFaxSessionSettings *)

TInt GetFaxSettings(const TTsyReqHandle,
RCall::TFaxSessionSettings *
)[virtual]

Returns fax settings to the client

Parameters

const TTsyReqHandle
RCall::TFaxSessionSettings *

GetGhostCall()

TBool GetGhostCall()const

Returns value or internal attribute iGhostCall

GetInfo(const TTsyReqHandle, RCall::TCallInfo *)

TInt GetInfo(const TTsyReqHandleaTsyReqHandle,
RCall::TCallInfo *aCallInfo
)

Returns call information (core) to the client

Parameters

const TTsyReqHandle aTsyReqHandleTSY request handle
RCall::TCallInfo * aCallInfoContains core call information on return

GetMobileCallCaps(const TTsyReqHandle, TDes8 *)

TInt GetMobileCallCaps(const TTsyReqHandleaTsyReqHandle,
TDes8 *aCaps
)[protected]

Returns the call control and call event capabilities

Parameters

const TTsyReqHandle aTsyReqHandleTSY request handle
TDes8 * aCapsContains mobile call capabilities on return

GetMobileCallInfo(const TTsyReqHandle, TDes8 *)

TInt GetMobileCallInfo(const TTsyReqHandleaTsyReqHandle,
TDes8 *aInfo
)[protected]

The method returns current values of the call information

Parameters

const TTsyReqHandle aTsyReqHandleTSY request handle
TDes8 * aInfoContains mobile call info on return

GetMobileCallStatus(const TTsyReqHandle, RMobileCall::TMobileCallStatus *)

TInt GetMobileCallStatus(const TTsyReqHandleaTsyReqHandle,
RMobileCall::TMobileCallStatus *aStatus
)[protected]

Returns the current status of the call through the aStatus argument

Parameters

const TTsyReqHandle aTsyReqHandleTSY request handle
RMobileCall::TMobileCallStatus * aStatusContains mobile call status on return

GetOwnershipStatus(const, RCall::TOwnershipStatus *)

TInt GetOwnershipStatus(const TTsyReqHandle,
RCall::TOwnershipStatus *
)[virtual]

Get call ownership status.

Parameters

const TTsyReqHandle
RCall::TOwnershipStatus *

GetStatus(const TTsyReqHandle, RCall::TStatus *)

TInt GetStatus(const TTsyReqHandleaTsyReqHandle,
RCall::TStatus *aStatus
)

Returns the call status to the client

Parameters

const TTsyReqHandle aTsyReqHandleTSY request handle
RCall::TStatus * aStatusCurrent call status

HandleGhostCallStatusChange(TInt, CMmDataPackage *)

voidHandleGhostCallStatusChange(TIntaResult,
CMmDataPackage *aDataPackage
)

Handles call status change indications of ghost calls

Parameters

TInt aResultResult value of the status change
CMmDataPackage * aDataPackagePackage containing new call status

HangUp(const TTsyReqHandle)

TInt HangUp(const TTsyReqHandleaTsyReqHandle)[pure virtual]

Hangs up the call

Parameters

const TTsyReqHandle aTsyReqHandleRequest handle from ETel server

HangUpCancel(const TTsyReqHandle)

TInt HangUpCancel(const TTsyReqHandleaTsyReqHandle)

Cancels the hangup

Parameters

const TTsyReqHandle aTsyReqHandleRequest handle from ETel server

InitExtensionModulesL(RMobilePhone::TMobileService)

voidInitExtensionModulesL(RMobilePhone::TMobileServiceaMode)[protected, virtual]

Initialises extension modules

InitInternalAttributes()

voidInitInternalAttributes()[protected, virtual]

Initialises miscellaneous internal attributes

IsPartOfConference()

TBool IsPartOfConference()const

Returns ETrue if this call is part of a MO conference (does not apply to an externally controlled conference call)

IsRemoteReleasedCall()

TBool IsRemoteReleasedCall()const

Returns ETrue if this call is part of a MO conference and MT released (does not apply to an externally controlled conference call)

IsRequestPossibleInOffline(TInt)

TBool IsRequestPossibleInOffline(TIntaIpc)const [private]

Checks wether or not a ETel request can be performed while offline mode is enabled

Parameters

TInt aIpcIpc number of the request

IsServiceLocallyRequested(CMmCallTsy::TCallRequestTypes)

TBool IsServiceLocallyRequested(CMmCallTsy::TCallRequestTypesaReqType)

Return ETrue if this type of request is requested by any of TSY's client

Parameters

CMmCallTsy::TCallRequestTypes aReqTypeType of request

IsUnownedCallObject()

TBool IsUnownedCallObject()const

Returns iUnownedCallObject boolean that indicates if client has opened existing call object for incoming call or ghost call that is created using AT-commands.

Line()

CMmLineTsy *Line()

Returns Line object from which this call was opened.

MobileCallStatus()

RMobileCall::TMobileCallStatus MobileCallStatus()const

Returns mobile call status. For use inside the TSY

NotifyCallEvent(RMobileCall::TMobileCallEvent *)

TInt NotifyCallEvent(RMobileCall::TMobileCallEvent *aEvent)[protected]

Allows clients to be notified when various call events occur.

Parameters

RMobileCall::TMobileCallEvent * aEventContains call event on return

NotifyCallEventCancel(const TTsyReqHandle)

TInt NotifyCallEventCancel(const TTsyReqHandleaTsyReqHandle)[protected]

This method cancels an outstanding asynchronous NotifyCallEvent request.

Parameters

const TTsyReqHandle aTsyReqHandleTSY request handle

NotifyCapsChange(const TTsyReqHandle, RCall::TCaps *)

TInt NotifyCapsChange(const TTsyReqHandleaTsyReqHandle,
RCall::TCaps *aCaps
)

Request for core caps change notifications

Parameters

const TTsyReqHandle aTsyReqHandleTSY request handle
RCall::TCaps * aCapsContains core call caps on return

NotifyCapsChangeCancel(const TTsyReqHandle)

TInt NotifyCapsChangeCancel(const TTsyReqHandleaTsyReqHandle)

Cancels core caps change notifications

Parameters

const TTsyReqHandle aTsyReqHandleTSY request handle

NotifyDurationChange(const TTsyReqHandle, TTimeIntervalSeconds *)

TInt NotifyDurationChange(const TTsyReqHandleaTsyReqHandle,
TTimeIntervalSeconds *aTime
)

Notifies about changes in call duration

Parameters

const TTsyReqHandle aTsyReqHandleTSY request handle
TTimeIntervalSeconds * aTimeOn return contains current call duration

NotifyDurationChangeCancel(const TTsyReqHandle)

TInt NotifyDurationChangeCancel(const TTsyReqHandleaTsyReqHandle)

Cancels duration change notifications

Parameters

const TTsyReqHandle aTsyReqHandleTSY request handle

NotifyHookChange(const TTsyReqHandle, RCall::THookStatus *)

TInt NotifyHookChange(const TTsyReqHandleaTsyReqHandle,
RCall::THookStatus *
)

Notify when hook status has changed

Parameters

const TTsyReqHandle aTsyReqHandleTSY request handle
RCall::THookStatus *

NotifyHookChangeCancel(const TTsyReqHandle)

TInt NotifyHookChangeCancel(const TTsyReqHandleaTsyReqHandle)

Cancels hook status change notifications

Parameters

const TTsyReqHandle aTsyReqHandleTSY request handle

NotifyMobileCallCapsChange(TDes8 *)

TInt NotifyMobileCallCapsChange(TDes8 *aCaps)[protected]

Notifies change of mobile call capabilities

Parameters

TDes8 * aCapsContains mobile call capabilities on return

NotifyMobileCallCapsChangeCancel(const TTsyReqHandle)

TInt NotifyMobileCallCapsChangeCancel(const TTsyReqHandleaTsyReqHandle)[protected]

Cancels NotifyMobileCallCapsChange method

Parameters

const TTsyReqHandle aTsyReqHandleTSY request handle

NotifyMobileCallStatusChange(RMobileCall::TMobileCallStatus *)

TInt NotifyMobileCallStatusChange(RMobileCall::TMobileCallStatus *aStatus)[protected]

Allows a client to be notified when the mobile call changes state.

Parameters

RMobileCall::TMobileCallStatus * aStatusContains mobile call status on return

NotifyMobileCallStatusChangeCancel(const TTsyReqHandle)

TInt NotifyMobileCallStatusChangeCancel(const TTsyReqHandleaTsyReqHandle)[protected]

Cancels an outstanding asynchronous NotifyMobileCallStatusChange request.

Parameters

const TTsyReqHandle aTsyReqHandleTSY request handle

NotifyPrivacyConfirmation(RMobilePhone::TMobilePhonePrivacy *)

TInt NotifyPrivacyConfirmation(RMobilePhone::TMobilePhonePrivacy *aPrivacyStatus)[protected]

Requests notifications of privacy status changes

Parameters

RMobilePhone::TMobilePhonePrivacy * aPrivacyStatus

NotifyPrivacyConfirmationCancel(const TTsyReqHandle)

TInt NotifyPrivacyConfirmationCancel(const TTsyReqHandleaTsyReqHandle)[protected]

Cancels privacy status change notifications

Parameters

const TTsyReqHandle aTsyReqHandleTSY request handle

NotifyRemotePartyInfoChange(TDes8 *)

TInt NotifyRemotePartyInfoChange(TDes8 *aRemotePartyInfo)[protected]

Allows the client to be notified of any change in the remote party information.

Parameters

TDes8 * aRemotePartyInfoContains remote party information on return

NotifyRemotePartyInfoChangeCancel(const TTsyReqHandle)

TInt NotifyRemotePartyInfoChangeCancel(const TTsyReqHandleaTsyReqHandle)[protected]

This method cancels an outstanding asynchronous NotifyRemotePartyInfoChange request.

Parameters

const TTsyReqHandle aTsyReqHandleTSY request handle

NotifyStatusChange(const TTsyReqHandle, RCall::TStatus *)

TInt NotifyStatusChange(const TTsyReqHandleaTsyReqHandle,
RCall::TStatus *aStatus
)

Notify when the status of the call has changed

Parameters

const TTsyReqHandle aTsyReqHandleTSY request handle
RCall::TStatus * aStatusContains Core call status on return

NotifyStatusChangeCancel(const TTsyReqHandle)

TInt NotifyStatusChangeCancel(const TTsyReqHandleaTsyReqHandle)

Cancels status change notifications

Parameters

const TTsyReqHandle aTsyReqHandleTSY request handle

NumberOfSlotsL(const TInt)

TInt NumberOfSlotsL(const TIntaIpc)[pure virtual]

Returns number of slots to be used for a given IPC

Parameters

const TInt aIpcIPC number of the request

OpenNewObjectByNameL(const TDesC &)

CTelObject *OpenNewObjectByNameL(const TDesC &)[virtual]

Opens a call object using given name

Parameters

const TDesC &

OpenNewObjectL(TDes &)

CTelObject *OpenNewObjectL(TDes &)

Opens a call object and gives it a name

Parameters

TDes &

Phone()

CMmPhoneTsy *Phone()

Returns pointer to the Phone object

PreviousCallId()

TInt PreviousCallId()const

Returns call ID of the previous active call

ReceiveUUI(const TTsyReqHandle, RMobileCall::TMobileCallUUI *)

TInt ReceiveUUI(const TTsyReqHandleaTsyReqHandle,
RMobileCall::TMobileCallUUI *aUUI
)[protected]

Enables the client to receive the next incoming UUI message from the remote user.

Parameters

const TTsyReqHandle aTsyReqHandleTSY request handle,
RMobileCall::TMobileCallUUI * aUUIPointer to client side data

ReceiveUUICancel(const TTsyReqHandle)

TInt ReceiveUUICancel(const TTsyReqHandleaTsyReqHandle)[protected]

Cancels an outstanding EMobileCallReceiveUUI request

Parameters

const TTsyReqHandle aTsyReqHandleTSY request handle, complete with KErrCancel

RegisterNotification(const TInt)

TInt RegisterNotification(const TIntaIpc)[pure virtual]

Register given notification

Parameters

const TInt aIpcIPC number of the request

RelinquishOwnership()

TInt RelinquishOwnership()[virtual]

Relinquishes ownership.

ReqModeL(const TInt)

CTelObject::TReqModeReqModeL(const TIntaIpc)[pure virtual]

Returns request mode for given IPC number

Parameters

const TInt aIpcIPC number of the request

ResetPreviousCallId()

voidResetPreviousCallId()

Resets call ID of the previous active call

ServiceRequested(CMmCallTsy::TCallRequestTypes)

TBool ServiceRequested(CMmCallTsy::TCallRequestTypesaReqType)

Returns ETrue if this service is pending on this call object

Parameters

CMmCallTsy::TCallRequestTypes aReqTypeType of request

SetCallCaps(TUint32)

voidSetCallCaps(TUint32aCallCaps)

Sets call capabilities

Parameters

TUint32 aCallCaps

SetCallDirection(RMobileCall::TMobileCallDirection)

TInt SetCallDirection(RMobileCall::TMobileCallDirectionaCallDirection)

Sets call direction

Parameters

RMobileCall::TMobileCallDirection aCallDirectionCall direction (MO/MT call)

SetCallId(TInt)

TInt SetCallId(TIntaCallId)

Set call ID

Parameters

TInt aCallIdCall ID

SetCallName(const TName &)

voidSetCallName(const TName &aCallName)[protected]

Set call name

Parameters

const TName & aCallNameNew call name

SetCallStatus(RCall::TStatus, RMobileCall::TMobileCallStatus)

voidSetCallStatus(RCall::TStatusaCallStatus,
RMobileCall::TMobileCallStatusaMobileCallStatus
)

Set call Status

Parameters

RCall::TStatus aCallStatus
RMobileCall::TMobileCallStatus aMobileCallStatus

SetDiagnostics(TUint8)

voidSetDiagnostics(TUint8aDiagnosticOctet)

Sets the value of the attribute iDiagnosticOctet

Parameters

TUint8 aDiagnosticOctet

SetDialFlag(TBool)

voidSetDialFlag(TBoolaDialFlag)[virtual]

Sets Dialflag value indicating if call is in dialling state

Parameters

TBool aDialFlag

SetDialTypeId(TUint8)

voidSetDialTypeId(TUint8aDialType)[virtual]

Sets iDialTypeId

Parameters

TUint8 aDialType

SetExtensionId(TInt)

voidSetExtensionId(TIntaExtensionId)[virtual]

Sets iExtensionId

Parameters

TInt aExtensionId

SetFaxSettings(const, const RCall::TFaxSessionSettings *)

TInt SetFaxSettings(const TTsyReqHandle,
const RCall::TFaxSessionSettings *
)[virtual]

Sets new fax settings

Parameters

const TTsyReqHandle
const RCall::TFaxSessionSettings *

SetGhostCall(TBool)

voidSetGhostCall(TBoolaValue)

Sets a flag that indicates if this call is not created through ETel

Parameters

TBool aValueGhost call or not

SetPartOfConference(TBool)

voidSetPartOfConference(TBoolaPartOfConference)

Sets the flag indicating that this call is part of a MO conference (does not apply to an externally controlled conference call)

Parameters

TBool aPartOfConference

SetPreviousCallId(TInt)

voidSetPreviousCallId(TIntaCurrentId)[protected]

Set previous active call ID

Parameters

TInt aCurrentId

SetTypeOfResponse(const TInt, const TTsyReqHandle)

voidSetTypeOfResponse(const TIntaReqHandleType,
const TTsyReqHandleaTsyReqHandle
)[protected, pure virtual]

Chooses the type of response, automatic or common

Parameters

const TInt aReqHandleTypeTSY request handle type.
const TTsyReqHandle aTsyReqHandleTSY request handle to be stored.

SetUnownedCallObjectFlag(TBool)

voidSetUnownedCallObjectFlag(TBoolaIsUnownedCallObject)

Set flag that indicates if client has opened existing call object for incoming call or ghost call that is created using AT-commands.

Parameters

TBool aIsUnownedCallObject

Status()

RCall::TStatus Status()const

Returns call status. For use inside the TSY

return Call core status

TransferL(const TTsyReqHandle)

TInt TransferL(const TTsyReqHandleaTsyReqHandle)[protected]

Transfer a call to a remote party with out answering the call

Parameters

const TTsyReqHandle aTsyReqHandleTSY request handle

TransferOwnership(const)

TInt TransferOwnership(const TTsyReqHandle)[virtual]

Transfers call ownership.

Parameters

const TTsyReqHandle

UpdateLifeTimer()

voidUpdateLifeTimer()[protected]

Updates life time call duration with remaining call duration

Member Enumerations Documentation

Enum TCallRequestTypes

Enumeration for TSY request handle types

Enumerators

EMultimodeCallReqHandleUnknown
EMultimodeCallNotifyStatusChange
EMultimodeCallNotifyDurationChange
EMultimodeCallCapsChangeNotification
EMultimodeCallDial
EMultimodeCallAnswer
EMultimodeCallHangUp
EMultimodeMobileCallHold
EMultimodeMobileCallResume
EMultimodeMobileCallSwap
EMultimodeCallNotifyMobileCallStatusChange
EMultimodeCallNotifyCallEvent
EMultimodeCallNotifyRemotePartyInfoChange
EMultimodeMobileCallDialEmergencyCall
EMultimodeMobileCallDeflectCall
EMultimodeCallNotifyMobileCallCapsChange
EMultimodeCallTransfer
EMultimodeCallGoOneToOne
EMultimodeCallNotifyDataCallCapsChange
EMultimodeCallSetDynamicHscsdParams
EMultimodeCallNotifyHscsdInfoChange
EMultimodeCallNotifyPrivacyConfirmation
EMultimodeCallDialISV
EMultimodeCallAnswerISV
EMultimodeCallActiveUUS
EMultimodeCallReceiveUUI
EMultimodeCallDialNoFdnCheck
EMultimodeCallMaxNumOfRequests

Enum TDialCancelStatus

Enumeration for Dial Cancel

Enumerators

EDialCancelNotCalled
EDialCancelCallCalled
EDialCancelCustomCalled

Member Data Documentation

TBool iAnswerCancelFlag

TBool iAnswerCancelFlag[protected]

Status of AnswerIncomingCallCancel

RCall::TCaps iCallCaps

RCall::TCaps iCallCaps[protected]

Dynamic Call caps

RMobileCall::TMobileCallDirection iCallDirection

RMobileCall::TMobileCallDirection iCallDirection[protected]

Call direction

TInt iCallId

TInt iCallId[protected]

Call ID, used for communication between TSY and call server

RMobilePhone::TMobileService iCallMode

RMobilePhone::TMobileService iCallMode[protected]

Call mode

TName iCallName

TName iCallName[protected]

Call name

RMobileCall::TMobileCallParamsV7 iCallParams

RMobileCall::TMobileCallParamsV7 iCallParams[protected]

Mobile call parameters

RMobileCall::TMobileCallParamsV1Pckg iCallParamsPckg

RMobileCall::TMobileCallParamsV1Pckg iCallParamsPckg[protected]

Mobile call parameters package

TTsyReqHandle iCallReqHandles

TTsyReqHandle iCallReqHandles[protected]

A table for call request handles

RCall::TStatus iCallStatus

RCall::TStatus iCallStatus[protected]

Call status

CHeartbeatRunner * iCallTimer

CHeartbeatRunner *iCallTimer[protected]

Duration change notifier

TUint8 iDiagnosticOctet

TUint8 iDiagnosticOctet[protected]

diagnostic Octets

TDialCancelStatus iDialCancelFlag

TDialCancelStatus iDialCancelFlag[protected]

Status of dialCancel

TBool iDialFlag

TBool iDialFlag[protected]

Boolean indicating if dial is ongoing

TUint8 iDialTypeId

TUint8 iDialTypeId[protected]

Specify the dial type

TBool iEmergencyCall

TBool iEmergencyCall[protected]

Is this an emergency call

TBool iEtelOriginated

TBool iEtelOriginated[protected]

Is this call originated through ETel API

TInt iExtensionId

TInt iExtensionId[protected]

Specify the ExtensionId

TBool iGhostCall

TBool iGhostCall[protected]

Boolean that indicates is this ghost call (created using AT-commands)

TBool iHangUpFlag

TBool iHangUpFlag[protected]

Boolean indicating if the hangUp is ongoing

TBool iIsPartOfConference

TBool iIsPartOfConference[protected]

Boolean that indicates if this call is part of a MO conference call (false if part of an externally controlled conference call)

TBool iIsRemoteReleasedCall

TBool iIsRemoteReleasedCall[protected]

Boolean that indicates if this call is MT released and part of internally controlled conference call

TInt iLastExitCode

TInt iLastExitCode[protected]

Contains the reason for the call termination

CAcquireOwnerList * iList

CAcquireOwnerList *iList[protected]

Call ownership list Own.

CMmMessageManagerBase * iMessageManager

CMmMessageManagerBase *iMessageManager[protected]

Pointer to the message manager Own.

CMmCallExtInterface * iMmCallExtInterface

CMmCallExtInterface *iMmCallExtInterface[protected]

A pointer to external call interface object Own.

CMmLineTsy * iMmLine

CMmLineTsy *iMmLine[protected]

A pointer to the multimode line object Own.

CMmPhoneTsy * iMmPhone

CMmPhoneTsy *iMmPhone[protected]

A pointer to multimode phone object Own.

RMobileCall::TMobileCallStatus iMobileCallStatus

RMobileCall::TMobileCallStatus iMobileCallStatus[protected]

Current Mobile Call status

TUint32 iPreviousCallControlCaps

TUint32 iPreviousCallControlCaps[protected]

Previous call control capabilities.

TInt iPreviousCallId

TInt iPreviousCallId[protected]

Last active Call ID, the call id is reset when call goes to idle state

RCall::TCaps iPreviousCaps

RCall::TCaps iPreviousCaps[protected]

Previous call capabilities. Used to determine if notification about capabilities change should be sent

RMobileCall::TMobileCallUUI iReceivedUUI

RMobileCall::TMobileCallUUI iReceivedUUI[protected]

Buffer the incoming UUI information. This is only used with the UUS1 case, to be able to get the first complete data from LTSY.

TCallRequestTypes iReqHandleType

TCallRequestTypes iReqHandleType[protected]

Request handle type

RMobileCall::TMobileCallEvent * iRetCallEvent

RMobileCall::TMobileCallEvent *iRetCallEvent[protected]

Pointer to the mobile call event (pointing to ETel server's address space) Own.

RCall::TCaps * iRetCaps

RCall::TCaps *iRetCaps[protected]

Pointer to the core call capabilities (pointing to ETel server's address space) Own.

RMobileCall::TMobileCallStatus * iRetMobileCallStatus

RMobileCall::TMobileCallStatus *iRetMobileCallStatus[protected]

Pointer to the mobile call status (pointing to ETel server's address space) Own.

TDes8 * iRetNotifyMobileCallCaps

TDes8 *iRetNotifyMobileCallCaps[protected]

Pointer to Notify Mobile Call capabilities (pointing to ETel server's address space) Own.

RMobilePhone::TMobilePhonePrivacy * iRetPrivacyStatus

RMobilePhone::TMobilePhonePrivacy *iRetPrivacyStatus[protected]

Pointer to privacy confirmation status (pointing to ETel server's address space) Own.

TDes8 * iRetRemotePartyInfo

TDes8 *iRetRemotePartyInfo[protected]

Pointer to the mobile remote party info (pointing to ETel server's address space) Own.

RCall::TStatus * iRetStatus

RCall::TStatus *iRetStatus[protected]

Pointer to the core call status (pointing to ETel server's address space)

TTimeIntervalSeconds * iRetTimeIntervalSeconds

TTimeIntervalSeconds *iRetTimeIntervalSeconds[protected]

Pointer to the call duration (pointing to ETel server's address space) Own.

RMobileCall::TMobileCallUUI * iRetUUI

RMobileCall::TMobileCallUUI *iRetUUI[protected]

Pointer to the UUI message (pointing to ETel server's address space) Not own.

MTelephonyAudioControl * iTelephonyAudioControl

MTelephonyAudioControl *iTelephonyAudioControl[protected]

Pointer to the telephony audio control

TBool iTelephonyAudioControlSetup

TBool iTelephonyAudioControlSetup[protected]

Boolean that indicates if TelephonyAudioControl is set up or not. True if call routing control has been set up for the call. False when call is not set up (idle).

CMmTsyReqHandleStore * iTsyReqHandleStore

CMmTsyReqHandleStore *iTsyReqHandleStore[protected]

Pointer to request handle store Own.

RMobileCall::TMobileCallUUSRequestV1 iUUSRequest

RMobileCall::TMobileCallUUSRequestV1 iUUSRequest[protected]

Buffer the ActivateUUS request, send the infromation to LTSY during the dial (UUS1).

TBool iUnownedCallObject

TBool iUnownedCallObject[protected]

Boolean that indicates is this unowned call object