CCallControlDispatcher Class Reference

class CCallControlDispatcher : public CBase

This class is responsible for packing and unpacking data belonging to CallControl related requests to the Licensee LTSY.

Inherits from

  • CCallControlDispatcher
Public Member Functions
~CCallControlDispatcher()
voidCallbackAnswer(TInt, TInt)
voidCallbackDialData(TInt, TInt)
voidCallbackDialEmergency(TInt, TInt)
voidCallbackDialVoice(TInt, TInt)
voidCallbackGetActiveAlsLine(TInt, RMobilePhone::TMobilePhoneALSLine)
voidCallbackGetAlsBlockedStatus(TInt, RMmCustomAPI::TGetAlsBlockStatus)
voidCallbackGetAlsPpSupport(TInt, RMmCustomAPI::TAlsSupport)
voidCallbackGetCallForwardingIndicator(TInt, RMobilePhone::TMobileTON, RMobilePhone::TMobileNPI, const TDesC &, RMobilePhone::TCFUIndicatorStatusFlags, RMobilePhone::TMultipleSubscriberProfileID)
voidCallbackGetIdentityServiceStatus(TInt, RMobilePhone::TMobilePhoneIdServiceStatus)
voidCallbackGetLifeTime(TInt)
voidCallbackGetLifeTime(TInt, TUint32, TUint8)
voidCallbackGetLifeTime(TInt, const TDateTime &)
voidCallbackGetLifeTime(TInt, const TDateTime &, TUint32, TUint8)
voidCallbackHangUp(TInt, TInt)
voidCallbackHold(TInt, TInt)
voidCallbackNotifyCallEvent(TInt, TInt, RMobileCall::TMobileCallEvent)
voidCallbackNotifyCallInfoChange(TInt, const RMobileCall::TMobileCallInfoV1 &)
voidCallbackNotifyCallStatusChange(TInt, TInt, RMobileCall::TMobileCallStatus)
voidCallbackNotifyDataCallCapsChange(TInt, TInt, const RMobileCall::TMobileCallDataCapsV1 &)
voidCallbackNotifyHscsdInfoChange(TInt, TInt, const RMobileCall::TMobileCallHscsdInfoV8 &, const RMobileCall::TMobileCallDataCapsV1 &)
voidCallbackNotifyIccCallForwardingStatusChange(TInt, const RMobilePhone::TMobileAddress &, RMobilePhone::TCFUIndicatorStatusFlags, RMmCustomAPI::TMultipleSubscriberProfileID)
voidCallbackNotifyIncomingCall(TInt, const RMobileCall::TMobileCallInfoV1 &)
voidCallbackQueryIsEmergencyNumber(CRequestQueueOneShot::TIpcDataPackage *)
voidCallbackReceiveUui(TInt, TInt, const TDesC &)
voidCallbackRemoteAlertingToneChange(TInt, RMmCustomAPI::TRemoteAlertingToneStatus)
voidCallbackResume(TInt, TInt)
voidCallbackSendDtmfTones(TInt)
voidCallbackSendDtmfTonesCancel(TInt)
voidCallbackSetActiveAlsLine(TInt)
voidCallbackSetAlsBlocked(TInt)
voidCallbackSetDynamicHscsdParams(TInt, TInt)
voidCallbackStartDtmfTone(TInt)
voidCallbackStopDtmfTone(TInt)
voidCallbackSwap(TInt)
voidCallbackSync(CRequestQueueOneShot::TIpcDataPackage &)
voidCallbackTerminateAllCalls(TInt)
voidCallbackTerminateErrorCall(TInt)
voidCallbackTransfer(TInt)
voidCallbackUpdateLifeTimer(TInt)
TInt DispatchAnswerIsvL(const CMmDataPackage *)
TInt DispatchAnswerL(const CMmDataPackage *)
TInt DispatchContinueDtmfStringSendingL(const CMmDataPackage *)
TInt DispatchDialEmergencyL(const CMmDataPackage *)
TInt DispatchDialIsvL(const CMmDataPackage *)
TInt DispatchDialL(const CMmDataPackage *)
TInt DispatchDialNoFdnCheckL(const CMmDataPackage *)
TInt DispatchGetActiveAlsLineL()
TInt DispatchGetAlsBlockedStatusL()
TInt DispatchGetAlsPpSupportL()
TInt DispatchGetCallForwardingIndicatorL()
TInt DispatchGetIdentityServiceStatusL(const CMmDataPackage *)
TInt DispatchGetLifeTimeL()
TInt DispatchHangUpL(const CMmDataPackage *)
TInt DispatchHoldL(const CMmDataPackage *)
TInt DispatchLoanDataPortL(const CMmDataPackage *)
TInt DispatchQueryIsEmergencyNumberL(const CMmDataPackage *)
TInt DispatchRecoverDataPortL(const CMmDataPackage *)
TInt DispatchResumeL(const CMmDataPackage *)
TInt DispatchSendDtmfTonesCancelL(const CMmDataPackage *)
TInt DispatchSendDtmfTonesL(const CMmDataPackage *)
TInt DispatchSetActiveAlsLineL(const CMmDataPackage *)
TInt DispatchSetAlsBlockedL(const CMmDataPackage *)
TInt DispatchSetDynamicHscsdParamsL(const CMmDataPackage *)
TInt DispatchStartDtmfToneL(const CMmDataPackage *)
TInt DispatchStopDtmfToneL(const CMmDataPackage *)
TInt DispatchSwapL(const CMmDataPackage *)
TInt DispatchTerminateCallL(const CMmDataPackage *)
TInt DispatchTransferL(const CMmDataPackage *)
TInt DispatchUpdateLifeTimeL(const CMmDataPackage *)
CCallControlDispatcher *NewL(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)
CCallControlDispatcher *NewLC(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)
voidSetDispatcherHolder(TDispatcherHolder &)
Private Member Functions
CCallControlDispatcher(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)
voidConstructL()
voidDoCallbackDial(TInt, TInt, RMobilePhone::TMobileService)
TInt DoDispatchAnswerL(const CMmDataPackage *, TBool)
TInt DoDispatchDialL(const CMmDataPackage *, TBool, TBool)
TInt DoSendDtmfTonesL(TInt, const TDesC &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
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()
Private Attributes
TInt iCallIdForDtmf
TDispatcherHolder *iDispatcherHolder
TBuf< KMaxInfoName >iDtmfString
TBool iFdnCheckPerformed
TBool iFoundDtmfStop
MLtsyDispatchCallControlAnswer *iLtsyDispatchCallControlAnswer
MLtsyDispatchCallControlDialData *iLtsyDispatchCallControlDialData
MLtsyDispatchCallControlDialEmergency *iLtsyDispatchCallControlDialEmergency
MLtsyDispatchCallControlDialVoice *iLtsyDispatchCallControlDialVoice
MLtsyDispatchCallControlGetActiveAlsLine *iLtsyDispatchCallControlGetActiveAlsLine
MLtsyDispatchCallControlGetAlsBlockedStatus *iLtsyDispatchCallControlGetAlsBlockedStatus
MLtsyDispatchCallControlGetAlsPpSupport *iLtsyDispatchCallControlGetAlsPpSupport
MLtsyDispatchCallControlGetCallForwardingIndicator *iLtsyDispatchCallControlGetCallForwardingIndicator
MLtsyDispatchCallControlGetIdentityServiceStatus *iLtsyDispatchCallControlGetIdentityServiceStatus
MLtsyDispatchCallControlGetLifeTime *iLtsyDispatchCallControlGetLifeTime
MLtsyDispatchCallControlHangUp *iLtsyDispatchCallControlHangUp
MLtsyDispatchCallControlHold *iLtsyDispatchCallControlHold
MLtsyDispatchCallControlLoanDataPort *iLtsyDispatchCallControlLoanDataPort
MLtsyDispatchCallControlQueryIsEmergencyNumber *iLtsyDispatchCallControlQueryIsEmergencyNumber
MLtsyDispatchCallControlRecoverDataPort *iLtsyDispatchCallControlRecoverDataPort
MLtsyDispatchCallControlResume *iLtsyDispatchCallControlResume
MLtsyDispatchCallControlSendDtmfTones *iLtsyDispatchCallControlSendDtmfTones
MLtsyDispatchCallControlSendDtmfTonesCancel *iLtsyDispatchCallControlSendDtmfTonesCancel
MLtsyDispatchCallControlSetActiveAlsLine *iLtsyDispatchCallControlSetActiveAlsLine
MLtsyDispatchCallControlSetAlsBlocked *iLtsyDispatchCallControlSetAlsBlocked
MLtsyDispatchCallControlSetDynamicHscsdParams *iLtsyDispatchCallControlSetDynamicHscsdParams
MLtsyDispatchCallControlSwap *iLtsyDispatchCallControlSingleSwap
MLtsyDispatchCallControlStartDtmfTone *iLtsyDispatchCallControlStartDtmfTone
MLtsyDispatchCallControlStopDtmfTone *iLtsyDispatchCallControlStopDtmfTone
MLtsyDispatchCallControlSwap *iLtsyDispatchCallControlSwap
MLtsyDispatchCallControlTerminateAllCalls *iLtsyDispatchCallControlTerminateAllCalls
MLtsyDispatchCallControlTerminateErrorCall *iLtsyDispatchCallControlTerminateErrorCall
MLtsyDispatchCallControlTransfer *iLtsyDispatchCallControlTransfer
MLtsyDispatchCallControlUpdateLifeTimer *iLtsyDispatchCallControlUpdateLifeTimer
MLtsyDispatchFactoryV1 &iLtsyFactoryV1
MmMessageManagerCallback &iMessageManagerCallback
RMobilePhone::TMobileService iModeUsedForVoiceCallDial
RMmCustomAPI::TMobileTelNumber iQueryEmergencyNumber
CRequestQueueOneShot &iRequestAsyncOneShot
TInt iSecondSwapCallId
TInt iSwapCallId
TInt iTransferHeldCallId
TInt iTransferSecondCallId

Constructor & Destructor Documentation

CCallControlDispatcher(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)

CCallControlDispatcher(MLtsyDispatchFactoryV1 &aLtsyFactory,
MmMessageManagerCallback &aMessageManagerCallback,
CRequestQueueOneShot &aRequestAsyncOneShot
)[private]

Parameters

MLtsyDispatchFactoryV1 & aLtsyFactory
MmMessageManagerCallback & aMessageManagerCallback
CRequestQueueOneShot & aRequestAsyncOneShot

~CCallControlDispatcher()

~CCallControlDispatcher()[virtual]

Member Functions Documentation

CallbackAnswer(TInt, TInt)

voidCallbackAnswer(TIntaError,
TIntaCallId
)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlAnswerComp()

Parameters

TInt aErrorThe error code to be returned to the CTSY Dispatcher.
TInt aCallIdThe Call ID returned from the LTSY.

CallbackDialData(TInt, TInt)

voidCallbackDialData(TIntaError,
TIntaCallId
)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlDialDataComp().

Parameters

TInt aErrorThe error code to be returned to the CTSY.
TInt aCallIdThe Call ID returned to the CTSY.

CallbackDialEmergency(TInt, TInt)

voidCallbackDialEmergency(TIntaError,
TIntaCallId
)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlDialEmergencyComp()

Parameters

TInt aErrorThe error code to be returned to the CTSY Dispatcher.
TInt aCallIdThe call ID returned from the LTSY

CallbackDialVoice(TInt, TInt)

voidCallbackDialVoice(TIntaError,
TIntaCallId
)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlDialVoiceComp()

Parameters

TInt aErrorThe error code to be returned to the CTSY.
TInt aCallIdThe Call ID returned to the CTSY.

CallbackGetActiveAlsLine(TInt, RMobilePhone::TMobilePhoneALSLine)

voidCallbackGetActiveAlsLine(TIntaError,
RMobilePhone::TMobilePhoneALSLineaAlsLine
)

Packages the data returned by the Licensee LTSY and completes the request back to the Common TSY.

Parameters

TInt aErrorThe error code to complete back.
RMobilePhone::TMobilePhoneALSLine aAlsLineThe ALS line returned by the Licensee LTSY.

CallbackGetAlsBlockedStatus(TInt, RMmCustomAPI::TGetAlsBlockStatus)

voidCallbackGetAlsBlockedStatus(TIntaError,
RMmCustomAPI::TGetAlsBlockStatusaAlsSupport
)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlGetAlsBlockedStatusComp().

Parameters

TInt aErrorThe error code to be returned to the CTSY.
RMmCustomAPI::TGetAlsBlockStatus aAlsSupportThe return value from the LTSY.

CallbackGetAlsPpSupport(TInt, RMmCustomAPI::TAlsSupport)

voidCallbackGetAlsPpSupport(TIntaError,
RMmCustomAPI::TAlsSupportaAlsStatus
)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlGetAlsPpSupportComp().

Parameters

TInt aErrorThe error code to be returned to the CTSY.
RMmCustomAPI::TAlsSupport aAlsStatusThe return value from the LTSY.

CallbackGetCallForwardingIndicator(TInt, RMobilePhone::TMobileTON, RMobilePhone::TMobileNPI, const TDesC &, RMobilePhone::TCFUIndicatorStatusFlags, RMobilePhone::TMultipleSubscriberProfileID)

voidCallbackGetCallForwardingIndicator(TIntaError,
RMobilePhone::TMobileTONaTypeOfNumber,
RMobilePhone::TMobileNPIaMobilePlan,
const TDesC &aNumber,
RMobilePhone::TCFUIndicatorStatusFlagsaCFUIndicatorStatusFlags,
RMobilePhone::TMultipleSubscriberProfileIDaMultipleSubscriberProfileId
)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlGetCallForwardingIndicatorComp().

Parameters

TInt aErrorThe error code to be returned to the CTSY.
RMobilePhone::TMobileTON aTypeOfNumberThe call forwarding type of number.
RMobilePhone::TMobileNPI aMobilePlanThe call forwarding mobile plan.
const TDesC & aNumberThe call forwarding telephone number.
RMobilePhone::TCFUIndicatorStatusFlags aCFUIndicatorStatusFlagsThe setting for indicator status. Can contain a number of flags from RMobilePhone::TCFUIndicatorStatus.
RMobilePhone::TMultipleSubscriberProfileID aMultipleSubscriberProfileId

CallbackGetIdentityServiceStatus(TInt, RMobilePhone::TMobilePhoneIdServiceStatus)

voidCallbackGetIdentityServiceStatus(TIntaError,
RMobilePhone::TMobilePhoneIdServiceStatusaIdentityServiceStatus
)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlGetIdentityServiceStatusComp()

Parameters

TInt aErrorThe error code to be returned to the CTSY Dispatcher.
RMobilePhone::TMobilePhoneIdServiceStatus aIdentityServiceStatusThe identity service status returned to the CTSY.

CallbackGetLifeTime(TInt)

voidCallbackGetLifeTime(TIntaError)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlGetLifeTimeComp().

Parameters

TInt aErrorThe error code to be returned to the CTSY.

CallbackGetLifeTime(TInt, TUint32, TUint8)

voidCallbackGetLifeTime(TIntaError,
TUint32aHours,
TUint8aMinutes
)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlGetLifeTimeComp().

Parameters

TInt aErrorThe error code to be returned to the CTSY.
TUint32 aHoursThe amount of hours of airtime use since the manufacturing date. The range of the value should be 0-999999.
TUint8 aMinutesThe amount of minutes in addition to the amount of hours represented by aHours. The range of the value is 0-59.

CallbackGetLifeTime(TInt, const TDateTime &)

voidCallbackGetLifeTime(TIntaError,
const TDateTime &aManufacturingDate
)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlGetLifeTimeComp().

Parameters

TInt aErrorThe error code to be returned to the CTSY.
const TDateTime & aManufacturingDateThe date of phone manufacturing. Only the Year, Month and day information is meaningful.

CallbackGetLifeTime(TInt, const TDateTime &, TUint32, TUint8)

voidCallbackGetLifeTime(TIntaError,
const TDateTime &aManufacturingDate,
TUint32aHours,
TUint8aMinutes
)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlGetLifeTimeComp().

Parameters

TInt aErrorThe error code to be returned to the CTSY.
const TDateTime & aManufacturingDateThe date of phone manufacturing. Only the Year, Month and day information is meaningful.
TUint32 aHoursThe amount of hours of airtime use since the manufacturing date. The range of the value should be 0-999999.
TUint8 aMinutesThe amount of minutes in addition to the amount of hours represented by aHours. The range of the value is 0-59.

CallbackHangUp(TInt, TInt)

voidCallbackHangUp(TIntaError,
TIntaCallId
)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlHangUpComp()

RCall::HangUp

Parameters

TInt aErrorThe error code to be returned to the CTSY Dispatcher.
TInt aCallIdThe Call ID of the call which has been hung up.

CallbackHold(TInt, TInt)

voidCallbackHold(TIntaError,
TIntaCallId
)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlHoldComp().

Parameters

TInt aErrorThe error code to be returned to the CTSY Dispatcher.
TInt aCallIdThe Call ID of the call which was requested to be held.

CallbackNotifyCallEvent(TInt, TInt, RMobileCall::TMobileCallEvent)

voidCallbackNotifyCallEvent(TIntaError,
TIntaCallId,
RMobileCall::TMobileCallEventaCallEvent
)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlNotifyCallEventInd()

Parameters

TInt aErrorThe error code to be returned to the CTSY Dispatcher.
TInt aCallIdCall ID returned from LTSY
RMobileCall::TMobileCallEvent aCallEventCall event returned from LTSY

CallbackNotifyCallInfoChange(TInt, const RMobileCall::TMobileCallInfoV1 &)

voidCallbackNotifyCallInfoChange(TIntaError,
const RMobileCall::TMobileCallInfoV1 &aMobileCallInfo
)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlNotifyCallInfoChangeInd().

Parameters

TInt aErrorThe error code returned by the LTSY.
const RMobileCall::TMobileCallInfoV1 & aMobileCallInfoThe call information relating to the call identified by aCallId.

CallbackNotifyCallStatusChange(TInt, TInt, RMobileCall::TMobileCallStatus)

voidCallbackNotifyCallStatusChange(TIntaError,
TIntaCallId,
RMobileCall::TMobileCallStatusaMobileCallStatus
)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlNotifyCallStatusChangeInd()

Packs data into a format expected by the Common TSY.

Parameters

TInt aErrorThe error code to be returned to the CTSY Dispatcher.
TInt aCallIdThe Call ID of the call aMobileCallStatus refers to.
RMobileCall::TMobileCallStatus aMobileCallStatusThe new status of the call refered to by aCallId.

CallbackNotifyDataCallCapsChange(TInt, TInt, const RMobileCall::TMobileCallDataCapsV1 &)

voidCallbackNotifyDataCallCapsChange(TIntaError,
TIntaCallId,
const RMobileCall::TMobileCallDataCapsV1 &aMobileCallDataCaps
)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlNotifyDataCallCapsChangeInd()

Parameters

TInt aErrorThe error code to be returned to the CTSY Dispatcher.
TInt aCallIdThe Call ID of the call whose capabilities have changed.
const RMobileCall::TMobileCallDataCapsV1 & aMobileCallDataCapsThe new capabilities of the data call.

CallbackNotifyHscsdInfoChange(TInt, TInt, const RMobileCall::TMobileCallHscsdInfoV8 &, const RMobileCall::TMobileCallDataCapsV1 &)

voidCallbackNotifyHscsdInfoChange(TIntaError,
TIntaCallId,
const RMobileCall::TMobileCallHscsdInfoV8 &aCallParams,
const RMobileCall::TMobileCallDataCapsV1 &aCallCaps
)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlNotifyHscsdInfoChangeInd().

Parameters

TInt aErrorThe error code returned from the LTSY.
TInt aCallIdThe Call ID returned from the LTSY.
const RMobileCall::TMobileCallHscsdInfoV8 & aCallParamsThe call params returned from the LTSY.
const RMobileCall::TMobileCallDataCapsV1 & aCallCaps

CallbackNotifyIccCallForwardingStatusChange(TInt, const RMobilePhone::TMobileAddress &, RMobilePhone::TCFUIndicatorStatusFlags, RMmCustomAPI::TMultipleSubscriberProfileID)

voidCallbackNotifyIccCallForwardingStatusChange(TIntaError,
const RMobilePhone::TMobileAddress &aCallForwardingNo,
RMobilePhone::TCFUIndicatorStatusFlagsaCallForwardingStatusFlags,
RMmCustomAPI::TMultipleSubscriberProfileIDaMultipleSubscriberProfileId
)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlNotifyIccCallForwardingStatusChangeInd().

Parameters

TInt aErrorThe error code to be returned to the CTSY Dispatcher.
const RMobilePhone::TMobileAddress & aCallForwardingNothe number that is being forwarded.
RMobilePhone::TCFUIndicatorStatusFlags aCallForwardingStatusFlagsflags defined in RMobilePhone::TCFUIndicatorStatus.
RMmCustomAPI::TMultipleSubscriberProfileID aMultipleSubscriberProfileIdthe Profile ID, in the case of Multiple Subscribers (SIM).

CallbackNotifyIncomingCall(TInt, const RMobileCall::TMobileCallInfoV1 &)

voidCallbackNotifyIncomingCall(TIntaError,
const RMobileCall::TMobileCallInfoV1 &aCallInfo
)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlNotifyIncomingCallInd()

Parameters

TInt aErrorThe error code to be returned to the CTSY Dispatcher.
const RMobileCall::TMobileCallInfoV1 & aCallInfoCall information from LTSY.

CallbackQueryIsEmergencyNumber(CRequestQueueOneShot::TIpcDataPackage *)

voidCallbackQueryIsEmergencyNumber(CRequestQueueOneShot::TIpcDataPackage *aDataPackage)

Callback function to be used by the request to complete MLtsyDispatchCallControlQueryIsEmergencyNumber::HandleQueryIsEmergencyNumberSyncL.

Parameters

CRequestQueueOneShot::TIpcDataPackage * aDataPackageStructure encapulsating data about the request.

CallbackReceiveUui(TInt, TInt, const TDesC &)

voidCallbackReceiveUui(TIntaError,
TIntaCallId,
const TDesC &aCallUui
)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlReceiveUuiInd().

Parameters

TInt aErrorThe error code to be returned to the CTSY.
TInt aCallIdThe Call ID of the call.
const TDesC & aCallUuiThe UUI information received from the LTSY.

CallbackRemoteAlertingToneChange(TInt, RMmCustomAPI::TRemoteAlertingToneStatus)

voidCallbackRemoteAlertingToneChange(TIntaError,
RMmCustomAPI::TRemoteAlertingToneStatusaRemoteAlertingTone
)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlRemoteAlertingToneChangeInd().

Parameters

TInt aErrorThe error code returned by the LTSY.
RMmCustomAPI::TRemoteAlertingToneStatus aRemoteAlertingToneThe new remote alerting status (either RMmCustomAPI::EUiRbtTone when it is a ringback tone or RMmCustomAPI::EUiStopTone when it's a stop tone)

CallbackResume(TInt, TInt)

voidCallbackResume(TIntaError,
TIntaCallId
)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlResumeComp()

Parameters

TInt aErrorThe error code to be returned to the CTSY Dispatcher.
TInt aCallIdThe Call ID returned by CCtsyDispatcherCallback.

CallbackSendDtmfTones(TInt)

voidCallbackSendDtmfTones(TIntaError)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlSendDtmfTonesComp()

Parameters

TInt aErrorThe error code to be returned to the CTSY Dispatcher.

CallbackSendDtmfTonesCancel(TInt)

voidCallbackSendDtmfTonesCancel(TIntaError)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlSendDtmfTonesCancelComp().

Parameters

TInt aErrorThe error code to be returned to the CTSY Dispatcher.

CallbackSetActiveAlsLine(TInt)

voidCallbackSetActiveAlsLine(TIntaError)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlSetActiveAlsLineComp()

Parameters

TInt aErrorThe error code to be returned to the CTSY Dispatcher.

CallbackSetAlsBlocked(TInt)

voidCallbackSetAlsBlocked(TIntaError)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlSetAlsBlockedComp().

Parameters

TInt aErrorThe error code to be returned to the CTSY.

CallbackSetDynamicHscsdParams(TInt, TInt)

voidCallbackSetDynamicHscsdParams(TIntaError,
TIntaCallId
)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlSetDynamicHscsdParamsComp()

Parameters

TInt aErrorThe error code to be returned to the CTSY Dispatcher.
TInt aCallIdThe Call ID returned to the CTSY.

CallbackStartDtmfTone(TInt)

voidCallbackStartDtmfTone(TIntaError)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlStartDtmfToneComp()

Parameters

TInt aErrorThe error code to be returned to the CTSY Dispatcher.

CallbackStopDtmfTone(TInt)

voidCallbackStopDtmfTone(TIntaError)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlStopDtmfToneComp()

Parameters

TInt aErrorThe error code to be returned to the CTSY Dispatcher.

CallbackSwap(TInt)

voidCallbackSwap(TIntaError)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlSwapComp()

Parameters

TInt aErrorThe error code to be returned to the CTSY Dispatcher.

CallbackSync(CRequestQueueOneShot::TIpcDataPackage &)

voidCallbackSync(CRequestQueueOneShot::TIpcDataPackage &aIpcDataPackage)

Part of the MDispatcherCallback interface. Used to complete requests handled synchronously by the Licensee LTSY asynchronously back to the Common TSY.

MDispatcherCallback::CallbackSync()

Parameters

CRequestQueueOneShot::TIpcDataPackage & aIpcDataPackagePackage encapsulating the request.

CallbackTerminateAllCalls(TInt)

voidCallbackTerminateAllCalls(TIntaError)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlTerminateAllCallsComp().

Parameters

TInt aErrorThe error code to be returned to the CTSY.

CallbackTerminateErrorCall(TInt)

voidCallbackTerminateErrorCall(TIntaError)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlTerminateErrorCallComp().

Parameters

TInt aErrorThe error code to be returned to the CTSY.

CallbackTransfer(TInt)

voidCallbackTransfer(TIntaError)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCallControlTransferComp()

Parameters

TInt aErrorThe error code to be returned to the CTSY Dispatcher.

CallbackUpdateLifeTimer(TInt)

voidCallbackUpdateLifeTimer(TIntaError)

Callback function to be used by the request to complete MLtsyDispatchCallControlUpdateLifeTimer::HandleUpdateLifeTimerReqL.

Parameters

TInt aErrorThe error code to be returned to the CTSY

ConstructL()

voidConstructL()[private]

Second phase constructor.

DispatchAnswerIsvL(const CMmDataPackage *)

TInt DispatchAnswerIsvL(const CMmDataPackage *aDataPackage)

Unpack data related to EEtelCallAnswerIsv and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchAnswerL(const CMmDataPackage *)

TInt DispatchAnswerL(const CMmDataPackage *aDataPackage)

Unpack data related to EEtelCallAnswer and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchContinueDtmfStringSendingL(const CMmDataPackage *)

TInt DispatchContinueDtmfStringSendingL(const CMmDataPackage *aDataPackage)

Unpack data related to EMobilePhoneContinueDTMFStringSending and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchDialEmergencyL(const CMmDataPackage *)

TInt DispatchDialEmergencyL(const CMmDataPackage *aDataPackage)

Unpack data related to EMobileCallDialEmergencyCall and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchDialIsvL(const CMmDataPackage *)

TInt DispatchDialIsvL(const CMmDataPackage *aDataPackage)

Unpack data related to EMobileCallDialISV and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchDialL(const CMmDataPackage *)

TInt DispatchDialL(const CMmDataPackage *aDataPackage)

Unpack data related to EEtelCallDial and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchDialNoFdnCheckL(const CMmDataPackage *)

TInt DispatchDialNoFdnCheckL(const CMmDataPackage *aDataPackage)

Unpack data related to EMobileCallDialNoFdnCheck and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchGetActiveAlsLineL()

TInt DispatchGetActiveAlsLineL()

Unpack data related to RMobilePhone::GetActiveAlsLine and pass request on to Licensee LTSY.

DispatchGetAlsBlockedStatusL()

TInt DispatchGetAlsBlockedStatusL()

Pass ECustomGetAlsBlockedIPC request on to Licensee LTSY.

DispatchGetAlsPpSupportL()

TInt DispatchGetAlsPpSupportL()

Pass ECustomCheckAlsPpSupportIPC request on to Licensee LTSY.

DispatchGetCallForwardingIndicatorL()

TInt DispatchGetCallForwardingIndicatorL()

Pass ECustomGetIccCallForwardingStatusIPC request on to Licensee LTSY.

DispatchGetIdentityServiceStatusL(const CMmDataPackage *)

TInt DispatchGetIdentityServiceStatusL(const CMmDataPackage *aDataPackage)

Unpack data related to EMobilePhoneGetIdentityServiceStatus and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchGetLifeTimeL()

TInt DispatchGetLifeTimeL()

Pass ECustomGetLifeTimeIPC request on to Licensee LTSY.

DispatchHangUpL(const CMmDataPackage *)

TInt DispatchHangUpL(const CMmDataPackage *aDataPackage)

Unpack data related to EEtelCallHangUp and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchHoldL(const CMmDataPackage *)

TInt DispatchHoldL(const CMmDataPackage *aDataPackage)

Unpack data related to EMobileCallHold and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchLoanDataPortL(const CMmDataPackage *)

TInt DispatchLoanDataPortL(const CMmDataPackage *aDataPackage)

Unpack data related to EEtelCallLoanDataPort and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchQueryIsEmergencyNumberL(const CMmDataPackage *)

TInt DispatchQueryIsEmergencyNumberL(const CMmDataPackage *aDataPackage)

Unpack data related to ECustomCheckEmergencyNumberIPC and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchRecoverDataPortL(const CMmDataPackage *)

TInt DispatchRecoverDataPortL(const CMmDataPackage *aDataPackage)

Unpack data related to EEtelCallRecoverDataPort and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchResumeL(const CMmDataPackage *)

TInt DispatchResumeL(const CMmDataPackage *aDataPackage)

Unpack data related to EMobileCallResume and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchSendDtmfTonesCancelL(const CMmDataPackage *)

TInt DispatchSendDtmfTonesCancelL(const CMmDataPackage *aDataPackage)

Unpack data related to EMobilePhoneSendDTMFTonesCancel and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchSendDtmfTonesL(const CMmDataPackage *)

TInt DispatchSendDtmfTonesL(const CMmDataPackage *aDataPackage)

Unpack data related to EMobilePhoneSendDTMFTones and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchSetActiveAlsLineL(const CMmDataPackage *)

TInt DispatchSetActiveAlsLineL(const CMmDataPackage *aDataPackage)

Unpack data related to EMobilePhoneSetALSLine and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchSetAlsBlockedL(const CMmDataPackage *)

TInt DispatchSetAlsBlockedL(const CMmDataPackage *aDataPackage)

Unpack data related to ECustomSetAlsBlockedIPC and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchSetDynamicHscsdParamsL(const CMmDataPackage *)

TInt DispatchSetDynamicHscsdParamsL(const CMmDataPackage *aDataPackage)

Unpack data related to EMobileCallSetDynamicHscsdParams and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchStartDtmfToneL(const CMmDataPackage *)

TInt DispatchStartDtmfToneL(const CMmDataPackage *aDataPackage)

Unpack data related to EMobilePhoneStartDTMFTone and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchStopDtmfToneL(const CMmDataPackage *)

TInt DispatchStopDtmfToneL(const CMmDataPackage *aDataPackage)

Unpack data related to EMobilePhoneStopDTMFTone and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchSwapL(const CMmDataPackage *)

TInt DispatchSwapL(const CMmDataPackage *aDataPackage)

Unpack data related to EMobileCallSwap and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchTerminateCallL(const CMmDataPackage *)

TInt DispatchTerminateCallL(const CMmDataPackage *aDataPackage)

Unpack data related to ECustomTerminateCallIPC and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchTransferL(const CMmDataPackage *)

TInt DispatchTransferL(const CMmDataPackage *aDataPackage)

Unpack data related to EMobileCallTransfer and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchUpdateLifeTimeL(const CMmDataPackage *)

TInt DispatchUpdateLifeTimeL(const CMmDataPackage *aDataPackage)

Unpack data related to ECtsyUpdateLifeTimeReq / ECtsyUpdateLifeTimeComp IPCs and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DoCallbackDial(TInt, TInt, RMobilePhone::TMobileService)

voidDoCallbackDial(TIntaError,
TIntaCallId,
RMobilePhone::TMobileServiceaMode
)[private]

Parameters

TInt aError
TInt aCallId
RMobilePhone::TMobileService aMode

DoDispatchAnswerL(const CMmDataPackage *, TBool)

TInt DoDispatchAnswerL(const CMmDataPackage *aDataPackage,
TBoolaIsIsvRequest
)[private]

Parameters

const CMmDataPackage * aDataPackage
TBool aIsIsvRequest

DoDispatchDialL(const CMmDataPackage *, TBool, TBool)

TInt DoDispatchDialL(const CMmDataPackage *aDataPackage,
TBoolaIsIsvCall,
TBoolaPerformFdnCheck
)[private]

Parameters

const CMmDataPackage * aDataPackage
TBool aIsIsvCall
TBool aPerformFdnCheck

DoSendDtmfTonesL(TInt, const TDesC &)

TInt DoSendDtmfTonesL(TIntaCallId,
const TDesC &aTones
)[private]

Parameters

TInt aCallId
const TDesC & aTones

NewL(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)

CCallControlDispatcher *NewL(MLtsyDispatchFactoryV1 &aLtsyFactory,
MmMessageManagerCallback &aMessageManagerCallback,
CRequestQueueOneShot &aRequestAsyncOneShot
)[static]

Parameters

MLtsyDispatchFactoryV1 & aLtsyFactory
MmMessageManagerCallback & aMessageManagerCallback
CRequestQueueOneShot & aRequestAsyncOneShot

NewLC(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)

CCallControlDispatcher *NewLC(MLtsyDispatchFactoryV1 &aLtsyFactory,
MmMessageManagerCallback &aMessageManagerCallback,
CRequestQueueOneShot &aRequestAsyncOneShot
)[static]

Parameters

MLtsyDispatchFactoryV1 & aLtsyFactory
MmMessageManagerCallback & aMessageManagerCallback
CRequestQueueOneShot & aRequestAsyncOneShot

SetDispatcherHolder(TDispatcherHolder &)

voidSetDispatcherHolder(TDispatcherHolder &aDispatcherHolder)

Set the dispatcher holder.

Parameters

TDispatcherHolder & aDispatcherHolderPointer to dispatcher holder.

Member Data Documentation

TInt iCallIdForDtmf

TInt iCallIdForDtmf[private]

The call ID of the call iDtmfString was sending tones to. Used if client decides to continue sending the string.

TDispatcherHolder * iDispatcherHolder

TDispatcherHolder *iDispatcherHolder[private]

TBuf< KMaxInfoName > iDtmfString

TBuf< KMaxInfoName >iDtmfString[private]

Buffer containing remains of DTMF string to be sent. This is used for handling 'w' (wait) characters passed into RMobilePhone::SendDTMFTones

TBool iFdnCheckPerformed

TBool iFdnCheckPerformed[private]

Caches whether an FDN check was performed, to allow the correct IPC to be completed.

TBool iFoundDtmfStop

TBool iFoundDtmfStop[private]

ETrue if a stop character has been found in the DTMF string, therefore client needs to be notified of stop on completion of send.

MLtsyDispatchCallControlAnswer * iLtsyDispatchCallControlAnswer

MLtsyDispatchCallControlAnswer *iLtsyDispatchCallControlAnswer[private]

MLtsyDispatchCallControlDialData * iLtsyDispatchCallControlDialData

MLtsyDispatchCallControlDialData *iLtsyDispatchCallControlDialData[private]

MLtsyDispatchCallControlDialEmergency * iLtsyDispatchCallControlDialEmergency

MLtsyDispatchCallControlDialEmergency *iLtsyDispatchCallControlDialEmergency[private]

MLtsyDispatchCallControlDialVoice * iLtsyDispatchCallControlDialVoice

MLtsyDispatchCallControlDialVoice *iLtsyDispatchCallControlDialVoice[private]

MLtsyDispatchCallControlGetActiveAlsLine * iLtsyDispatchCallControlGetActiveAlsLine

MLtsyDispatchCallControlGetActiveAlsLine *iLtsyDispatchCallControlGetActiveAlsLine[private]

MLtsyDispatchCallControlGetAlsBlockedStatus * iLtsyDispatchCallControlGetAlsBlockedStatus

MLtsyDispatchCallControlGetAlsBlockedStatus *iLtsyDispatchCallControlGetAlsBlockedStatus[private]

MLtsyDispatchCallControlGetAlsPpSupport * iLtsyDispatchCallControlGetAlsPpSupport

MLtsyDispatchCallControlGetAlsPpSupport *iLtsyDispatchCallControlGetAlsPpSupport[private]

MLtsyDispatchCallControlGetCallForwardingIndicator * iLtsyDispatchCallControlGetCallForwardingIndicator

MLtsyDispatchCallControlGetCallForwardingIndicator *iLtsyDispatchCallControlGetCallForwardingIndicator[private]

MLtsyDispatchCallControlGetIdentityServiceStatus * iLtsyDispatchCallControlGetIdentityServiceStatus

MLtsyDispatchCallControlGetIdentityServiceStatus *iLtsyDispatchCallControlGetIdentityServiceStatus[private]

MLtsyDispatchCallControlGetLifeTime * iLtsyDispatchCallControlGetLifeTime

MLtsyDispatchCallControlGetLifeTime *iLtsyDispatchCallControlGetLifeTime[private]

MLtsyDispatchCallControlHangUp * iLtsyDispatchCallControlHangUp

MLtsyDispatchCallControlHangUp *iLtsyDispatchCallControlHangUp[private]

MLtsyDispatchCallControlHold * iLtsyDispatchCallControlHold

MLtsyDispatchCallControlHold *iLtsyDispatchCallControlHold[private]

MLtsyDispatchCallControlLoanDataPort * iLtsyDispatchCallControlLoanDataPort

MLtsyDispatchCallControlLoanDataPort *iLtsyDispatchCallControlLoanDataPort[private]

MLtsyDispatchCallControlQueryIsEmergencyNumber * iLtsyDispatchCallControlQueryIsEmergencyNumber

MLtsyDispatchCallControlQueryIsEmergencyNumber *iLtsyDispatchCallControlQueryIsEmergencyNumber[private]

MLtsyDispatchCallControlRecoverDataPort * iLtsyDispatchCallControlRecoverDataPort

MLtsyDispatchCallControlRecoverDataPort *iLtsyDispatchCallControlRecoverDataPort[private]

MLtsyDispatchCallControlResume * iLtsyDispatchCallControlResume

MLtsyDispatchCallControlResume *iLtsyDispatchCallControlResume[private]

MLtsyDispatchCallControlSendDtmfTones * iLtsyDispatchCallControlSendDtmfTones

MLtsyDispatchCallControlSendDtmfTones *iLtsyDispatchCallControlSendDtmfTones[private]

MLtsyDispatchCallControlSendDtmfTonesCancel * iLtsyDispatchCallControlSendDtmfTonesCancel

MLtsyDispatchCallControlSendDtmfTonesCancel *iLtsyDispatchCallControlSendDtmfTonesCancel[private]

MLtsyDispatchCallControlSetActiveAlsLine * iLtsyDispatchCallControlSetActiveAlsLine

MLtsyDispatchCallControlSetActiveAlsLine *iLtsyDispatchCallControlSetActiveAlsLine[private]

MLtsyDispatchCallControlSetAlsBlocked * iLtsyDispatchCallControlSetAlsBlocked

MLtsyDispatchCallControlSetAlsBlocked *iLtsyDispatchCallControlSetAlsBlocked[private]

MLtsyDispatchCallControlSetDynamicHscsdParams * iLtsyDispatchCallControlSetDynamicHscsdParams

MLtsyDispatchCallControlSetDynamicHscsdParams *iLtsyDispatchCallControlSetDynamicHscsdParams[private]

MLtsyDispatchCallControlSwap * iLtsyDispatchCallControlSingleSwap

MLtsyDispatchCallControlSwap *iLtsyDispatchCallControlSingleSwap[private]

MLtsyDispatchCallControlStartDtmfTone * iLtsyDispatchCallControlStartDtmfTone

MLtsyDispatchCallControlStartDtmfTone *iLtsyDispatchCallControlStartDtmfTone[private]

MLtsyDispatchCallControlStopDtmfTone * iLtsyDispatchCallControlStopDtmfTone

MLtsyDispatchCallControlStopDtmfTone *iLtsyDispatchCallControlStopDtmfTone[private]

MLtsyDispatchCallControlSwap * iLtsyDispatchCallControlSwap

MLtsyDispatchCallControlSwap *iLtsyDispatchCallControlSwap[private]

MLtsyDispatchCallControlTerminateAllCalls * iLtsyDispatchCallControlTerminateAllCalls

MLtsyDispatchCallControlTerminateAllCalls *iLtsyDispatchCallControlTerminateAllCalls[private]

MLtsyDispatchCallControlTerminateErrorCall * iLtsyDispatchCallControlTerminateErrorCall

MLtsyDispatchCallControlTerminateErrorCall *iLtsyDispatchCallControlTerminateErrorCall[private]

MLtsyDispatchCallControlTransfer * iLtsyDispatchCallControlTransfer

MLtsyDispatchCallControlTransfer *iLtsyDispatchCallControlTransfer[private]

MLtsyDispatchCallControlUpdateLifeTimer * iLtsyDispatchCallControlUpdateLifeTimer

MLtsyDispatchCallControlUpdateLifeTimer *iLtsyDispatchCallControlUpdateLifeTimer[private]

MLtsyDispatchFactoryV1 & iLtsyFactoryV1

MLtsyDispatchFactoryV1 &iLtsyFactoryV1[private]

MmMessageManagerCallback & iMessageManagerCallback

MmMessageManagerCallback &iMessageManagerCallback[private]

RMobilePhone::TMobileService iModeUsedForVoiceCallDial

RMobilePhone::TMobileService iModeUsedForVoiceCallDial[private]

Caches the mode used to dial a voice call. This is needed for when the auxiliary line is used to dial a call. On the callback from the dial, the CTSY needs the call mode to locate the call object to set the Call ID.

RMmCustomAPI::TMobileTelNumber iQueryEmergencyNumber

RMmCustomAPI::TMobileTelNumber iQueryEmergencyNumber[private]

Cache of phone number passed to dispatcher in a ECustomCheckEmergencyNumberIPC request.

CRequestQueueOneShot & iRequestAsyncOneShot

CRequestQueueOneShot &iRequestAsyncOneShot[private]

TInt iSecondSwapCallId

TInt iSecondSwapCallId[private]

TInt iSwapCallId

TInt iSwapCallId[private]

These are the two Call IDs of the calls on which a swap operation has been requested. It allows the dispatcher to return a Call ID to the CTSY on completion of a swap (if the swap failed) so that the CTSY can locate the call object to complete the swap back to the client.

These Call IDs should only have a value != -1 when there is a pending swap operation.

TInt iTransferHeldCallId

TInt iTransferHeldCallId[private]

These are the two Call IDs of the calls on which a transfer operation has been requested. It is needed for the same reason as iSwapCallId and iSecondSwapCallId above.

TInt iTransferSecondCallId

TInt iTransferSecondCallId[private]