CPECallHandling Class Reference
class CPECallHandling : public CBase
|
CPECallHandling
Handles voice call related events from phone engine.
callhandling.lib
-
Since
-
Series60_4.0
Public Member Functions
|
|
~CPECallHandling
()
|
IMPORT_C
TInt
|
AcceptUnattendedTransfer
()
|
IMPORT_C
TInt
|
AddConferenceMember
()
|
TInt
|
AddMember
(
TInt
)
|
void
|
AddMemberL
(
TInt
)
|
IMPORT_C
TInt
|
AnswerCall
()
|
IMPORT_C
TInt
|
BuildConference
()
|
IMPORT_C
MPECallOwner
&
|
CallOwner
()
|
IMPORT_C
TInt
|
CallTerminatedError
(const
TInt
)
|
IMPORT_C void
|
CancelDtmfPlay
()
|
TBool
|
ConnectedCalls
()
|
IMPORT_C void
|
ContinueDtmfSending
()
|
void
|
CreateCallDataArraysL
()
|
void
|
CreateConferenceCallL
(
CPESingleCall
&,
CPESingleCall
&)
|
TInt
|
DefineDivertBsc
(
CCCECallParameters::TCCELineType
,
CPESingleCall
*)
|
IMPORT_C
TInt
|
DialCall
(const
TPEPhoneNumber
&,
TInt
&)
|
IMPORT_C void
|
DialEmergencyCall
(const
TPEPhoneNumber
&)
|
IMPORT_C
TInt
|
DialMultimedia
(const
TPEPhoneNumber
&,
TInt
&)
|
IMPORT_C
TInt
|
DoUnattendedTransfer
(const
TDesC
&)
|
IMPORT_C
TInt
|
DropMember
(
TInt
)
|
IMPORT_C
TInt
|
ForwardCallToAddress
(
TInt
)
|
TInt
|
GetCallControlCaps
(
TPECallControlCaps
&,
TInt
)
|
IMPORT_C
TInt
|
GetCallDuration
(
TTimeIntervalSeconds
&,
TInt
)
|
IMPORT_C
TInt
|
GetCallIdByState
(
TPEState
)
|
IMPORT_C
TInt
|
GetCallInfo
(
RMobileCall::TMobileCallInfoV3
&,
TInt
)
|
IMPORT_C
TPEState
|
GetCallState
(
TInt
)
|
IMPORT_C
TInt
|
GetCallTerminatedDiagnostics
(
TName
&)
|
TInt
|
GetConferenceCallCaps
(
TUint32
&)
|
TInt
|
GetConferenceMemberNameAndId
(
TName
&,
TInt
&)
|
IMPORT_C
TBool
|
GetLifeTime
(
TDes8
&)
|
IMPORT_C
TInt
|
GetMissedCall
(
TBool
&,
TInt
)
|
IMPORT_C
TInt
|
GetNumberOfCalls
()
|
TInt
|
GetNumberOfParticipants
(
TInt
&)
|
IMPORT_C
TInt
|
GoOneToOne
(
TInt
)
|
void
|
HandleAutoResume
()
|
void
|
HandleInternalMessage
(
TInt
)
|
IMPORT_C
TInt
|
HangUp
(
TInt
,
TPEHangUpOptions
)
|
IMPORT_C
TInt
|
HoldCall
()
|
void
|
InitConferenceCall
(
MCCEConferenceCall
&)
|
void
|
InitVideoCall
(
MCCECall
&)
|
void
|
InitVoiceCall
(
MCCECall
&)
|
void
|
InitialiseConferenceCallInfo
(
MCCECall
&,
MCCECall
&)
|
IMPORT_C
TBool
|
IsCallInState
(
TPEState
)
|
TBool
|
IsDialAllowed
(
TBool
)
|
TBool
|
IsSecureCall
(const
TInt
)
|
IMPORT_C
CPECallHandling
*
|
NewL
(MPEPhoneModelInternal &,
CCCE
&,
MCCEDtmfInterface
&)
|
CPESingleCall
*
|
OpenNewCallL
(const
TPEPhoneNumber
&)
|
IMPORT_C
TInt
|
RejectCall
()
|
IMPORT_C
TInt
|
RejectUnattendedTransfer
()
|
IMPORT_C
TInt
|
ReleaseAll
()
|
IMPORT_C
TInt
|
ReleaseConference
()
|
IMPORT_C
TInt
|
ReplaceActive
()
|
IMPORT_C
TInt
|
ResumeCall
()
|
TBool
|
SecureSpecified
(const
TInt
)
|
IMPORT_C
TInt
|
SendDtmf
(const
TPEDtmfString
&)
|
void
|
SendErrorMessage
(const
TInt
, const
TInt
)
|
void
|
SendErrorMessage
(const
TInt
)
|
void
|
SendMessage
(const
MEngineMonitor::TPEMessagesFromPhoneEngine
, const
TInt
)
|
void
|
SendMessage
(const
MEngineMonitor::TPEMessagesFromPhoneEngine
, const
TName
&)
|
void
|
SendMessage
(const
MEngineMonitor::TPEMessagesFromPhoneEngine
)
|
IMPORT_C void
|
SetActiveLine
()
|
void
|
SetCallParams
(
TInt
)
|
IMPORT_C
TInt
|
SetDynamicHscsdParams
(
TInt
,
TInt
)
|
IMPORT_C
TInt
|
StartDtmfTone
(const
TChar
&)
|
IMPORT_C void
|
StartUp
()
|
IMPORT_C void
|
StopDtmfSending
()
|
IMPORT_C
TInt
|
StopDtmfTone
()
|
IMPORT_C
TInt
|
SwapCalls
()
|
IMPORT_C
TInt
|
TerminateAllConnections
()
|
IMPORT_C
TInt
|
TransferCalls
()
|
IMPORT_C
TInt
|
UpdatePhoneIdentity
(
MEngineMonitor::TPEMessagesFromPhoneEngine
)
|
void
|
UpdateSaSetting
()
|
CPESingleCall
*
|
VoiceCallDataByState
(
TPEState
,
TInt
&)
|
Constructor & Destructor Documentation
CPECallHandling(MPEPhoneModelInternal &, CCCE &, MCCEDtmfInterface &)
CPECallHandling
|
(
|
MPEPhoneModelInternal &
|
aModel,
|
|
CCCE
&
|
aConvergedCallEngine,
|
|
MCCEDtmfInterface
&
|
aDtmfInterface
|
|
)
|
[protected]
|
~CPECallHandling()
IMPORT_C
|
~CPECallHandling
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AcceptUnattendedTransfer()
IMPORT_C
TInt
|
AcceptUnattendedTransfer
|
(
|
)
|
|
Accepts unattended transfer request.
-
Since
-
Series 60 v5.1
AddConferenceMember()
IMPORT_C
TInt
|
AddConferenceMember
|
(
|
)
|
|
AddMember(TInt)
Adds one member to the conference call ( TRAPPED METHOD )
-
Since
-
Series60_4.0
AddMemberL(TInt)
void
|
AddMemberL
|
(
|
TInt
|
aCallId
|
)
|
|
Adds one member to the conference call
-
Since
-
Series60_4.0
AnswerCall()
IMPORT_C
TInt
|
AnswerCall
|
(
|
)
|
|
Makes answer request to the Multimode ETel.
-
Since
-
Series60_4.0
BuildConference()
IMPORT_C
TInt
|
BuildConference
|
(
|
)
|
|
Makes transfer request to the Multimode ETel
CallOwner()
This method gets the reference to
MPECallOwner
object.
-
Since
-
Series60_4.0
CallTerminatedError(const TInt)
IMPORT_C
TInt
|
CallTerminatedError
|
(
|
const
TInt
|
aCallId
|
)
|
|
Returns call terminated error
-
Since
-
Series60_4.0
CancelDtmfPlay()
IMPORT_C void
|
CancelDtmfPlay
|
(
|
)
|
|
Cancels Dtmf string sending.
ConnectedCalls()
Tells if there is any connected calls.
ConstructL()
void
|
ConstructL
|
(
|
)
|
[protected]
|
By default Symbian 2nd phase constructor is private.
ContinueDtmfSending()
IMPORT_C void
|
ContinueDtmfSending
|
(
|
)
|
|
Allows a client to continue dtmf string sending when it was stopped by use of 'w' char in the string.
CreateCallDataArraysL()
void
|
CreateCallDataArraysL
|
(
|
)
|
|
Creates CPECallData objects
-
Since
-
Series60_4.0
CreateConferenceCallL(CPESingleCall &, CPESingleCall &)
DefineDivertBsc(CCCECallParameters::TCCELineType, CPESingleCall *)
Defines basic service code for divert notification.
-
Since
-
Series60_4.0
DialCall(const TPEPhoneNumber &, TInt &)
Creates dialing request to the Multimode ETel.
-
Since
-
Series60_4.0
Parameters
const
TPEPhoneNumber
& aNumber
|
The telephone number to be called.
|
TInt
& aCallId
|
Identification number of the call.
|
DialEmergencyCall(const TPEPhoneNumber &)
IMPORT_C void
|
DialEmergencyCall
|
(
|
const
TPEPhoneNumber
&
|
aEmergencyNumber
|
)
|
|
Creates emergency call request to the Multimode ETel
-
Since
-
Series60_4.0
DialMultimedia(const TPEPhoneNumber &, TInt &)
Creates dialing request to the Multimode ETel.
-
Since
-
Series60_4.0
Parameters
const
TPEPhoneNumber
& aNumber
|
The telephone number to be called.
|
TInt
& aCallId
|
Identification number of the call.
|
DoUnattendedTransfer(const TDesC &)
IMPORT_C
TInt
|
DoUnattendedTransfer
|
(
|
const
TDesC
&
|
aTransferTarget
|
)
|
|
Does unattended transfer to the connected VoIP call
-
Since
-
Series60_5.1
Parameters
const
TDesC
& aTransferTarget
|
Address of the transfer target
|
DropMember(TInt)
IMPORT_C
TInt
|
DropMember
|
(
|
TInt
|
aCallId
|
)
|
|
Drops one member from the conference call
-
Since
-
Series60_4.0
ForwardCallToAddress(TInt)
IMPORT_C
TInt
|
ForwardCallToAddress
|
(
|
TInt
|
aIndex
|
)
|
|
Starts call forwarding.
-
Since
-
Series60_5.1
Parameters
TInt
aIndex
|
A array index for a selected address.
|
GetCallControlCaps(TPECallControlCaps &, TInt)
Get call control caps
-
Since
-
Series60_4.0
GetCallDuration(TTimeIntervalSeconds &, TInt)
Returns call duration time.
-
Since
-
Series60_4.0
GetCallIdByState(TPEState)
Determines if there is a call in given state.
-
Since
-
Series60_4.0
GetCallInfo(RMobileCall::TMobileCallInfoV3 &, TInt)
Returns information of the call.
-
Since
-
Series60_4.0
GetCallState(TInt)
Returns state of the call.
-
Since
-
Series60_4.0
GetCallTerminatedDiagnostics(TName &)
IMPORT_C
TInt
|
GetCallTerminatedDiagnostics
|
(
|
TName
&
|
aCallName
|
)
|
const
|
Returns call terminated diagnostics of a call Info is valid only for Idle call
-
Since
-
Series60_4.0
GetConferenceCallCaps(TUint32 &)
Returns Conference capabilities
-
Since
-
Series60_4.0
GetConferenceMemberNameAndId(TName &, TInt &)
TInt
|
GetConferenceMemberNameAndId
|
(
|
TName
&
|
aCallName,
|
|
TInt
&
|
aMemberCallId
|
|
)
|
|
Returns added or removed members TName information and CallId
-
Since
-
Series60_4.0
GetLifeTime(TDes8 &)
IMPORT_C
TBool
|
GetLifeTime
|
(
|
TDes8
&
|
aLifeTimeInfo
|
)
|
|
This method gets the lifetime of the MS. The lifetime information includes the manufacturing date of the MS and the total amount of airtime use.
Parameters
TDes8
& aLifeTimeInfo
|
Life time information
|
GetMissedCall(TBool &, TInt)
IMPORT_C
TInt
|
GetMissedCall
|
(
|
TBool
&
|
aMissedCall,
|
|
TInt
|
aCallId
|
|
)
|
|
Returns the missed voice call indicator.
-
Since
-
Series60_4.0
GetNumberOfCalls()
IMPORT_C
TInt
|
GetNumberOfCalls
|
(
|
)
|
|
Returns number of non-idle calls
-
Since
-
Series60_4.0
GetNumberOfParticipants(TInt &)
TInt
|
GetNumberOfParticipants
|
(
|
TInt
&
|
aCount
|
)
|
|
Returns number of conference members
-
Since
-
Series60_4.0
Parameters
TInt
& aCount
|
It is variable, where number of participants is returned
|
GoOneToOne(TInt)
IMPORT_C
TInt
|
GoOneToOne
|
(
|
TInt
|
aCallId
|
)
|
|
Splits one member from the conference call.
-
Since
-
Series60_4.0
HandleAutoResume()
void
|
HandleAutoResume
|
(
|
)
|
|
HandleInternalMessage(TInt)
void
|
HandleInternalMessage
|
(
|
TInt
|
aMessage
|
)
|
|
Parameters
TInt
aMessage
|
specifies the event that has taken place
|
HangUp(TInt, TPEHangUpOptions)
Returns remote alerting tone status (is it played by network or not).
-
Since
-
Series60_4.0
-
Since
-
Series60_4.0
Parameters
TInt
aCallId
|
Identification number of the call to be rejected.
|
TPEHangUpOptions
aAutoResumeOption
|
if options for autoresume.
|
HoldCall()
IMPORT_C
TInt
|
HoldCall
|
(
|
)
|
|
Makes hold request for the connected call
InitConferenceCall(MCCEConferenceCall &)
MPECallInitialiser::InitConferenceCall
InitVideoCall(MCCECall &)
void
|
InitVideoCall
|
(
|
MCCECall
&
|
aNewCall
|
)
|
|
MPECallInitialiser::InitVideoCall
InitVoiceCall(MCCECall &)
void
|
InitVoiceCall
|
(
|
MCCECall
&
|
aNewCall
|
)
|
|
MPECallInitialiser::InitVoiceCall
InitialiseConferenceCallInfo(MCCECall &, MCCECall &)
Initialise conference call info.
IsCallInState(TPEState)
Determines if there is a call in given state.
-
Since
-
Series60_4.0
IsSecureCall(const TInt)
TBool
|
IsSecureCall
|
(
|
const
TInt
|
aCallId
|
)
|
const
|
Get call's secure status.
NewL(MPEPhoneModelInternal &, CCCE &, MCCEDtmfInterface &)
OpenNewCallL(const TPEPhoneNumber &)
RejectCall()
IMPORT_C
TInt
|
RejectCall
|
(
|
)
|
|
Makes reject request to the Multimode ETel
RejectUnattendedTransfer()
IMPORT_C
TInt
|
RejectUnattendedTransfer
|
(
|
)
|
|
Rejects unattended transfer request.
-
Since
-
Series 60 v5.1
ReleaseAll()
IMPORT_C
TInt
|
ReleaseAll
|
(
|
)
|
|
Makes HangUp requests for all call to the Multimode ETel.
ReleaseCallObject(const TInt)
TInt
|
ReleaseCallObject
|
(
|
const
TInt
|
aCallId
|
)
|
[private]
|
Delete's call object and reset's datastore.
ReleaseConference()
IMPORT_C
TInt
|
ReleaseConference
|
(
|
)
|
|
Makes HangUp requests for conference call.
ReplaceActive()
IMPORT_C
TInt
|
ReplaceActive
|
(
|
)
|
|
Replace active call with waiting call.
-
Since
-
Series60_5.0
ResumeCall()
IMPORT_C
TInt
|
ResumeCall
|
(
|
)
|
|
Makes resume request for the held call
SecureSpecified(const TInt)
TBool
|
SecureSpecified
|
(
|
const
TInt
|
aCallId
|
)
|
const
|
Get call's secure specified status.
SendDtmf(const TPEDtmfString &)
SendErrorMessage(const TInt, const TInt)
void
|
SendErrorMessage
|
(
|
const
TInt
|
aCallId,
|
|
const
TInt
|
aErrorCode
|
|
)
|
|
Reroutes error message to Phone Engine, usable by call objects
Parameters
const
TInt
aCallId
|
Identification number of the call.
|
const
TInt
aErrorCode
|
|
SendErrorMessage(const TInt)
void
|
SendErrorMessage
|
(
|
const
TInt
|
aErrorCode
|
)
|
|
Reroutes error messages to Phone Engine, usable by other than call objects
SendMessage(const MEngineMonitor::TPEMessagesFromPhoneEngine, const TInt)
Reroutes messages to Phone Engine, usable by call objects
SendMessage(const MEngineMonitor::TPEMessagesFromPhoneEngine, const TName &)
SendMessage(const MEngineMonitor::TPEMessagesFromPhoneEngine)
Reroutes messages to Phone Engine, usable by other than call objects
SetActiveLine()
IMPORT_C void
|
SetActiveLine
|
(
|
)
|
|
SetCallOrigin(const TInt, const MCCECall &)
void
|
SetCallOrigin
|
(
|
const
TInt
|
aCallId,
|
|
const
MCCECall
&
|
aCall
|
|
)
|
const [private]
|
Set call origin to datastore.
Parameters
const
TInt
aCallId
|
|
const
MCCECall
& aCall
|
reference to call object
|
SetCallParams(TInt)
void
|
SetCallParams
|
(
|
TInt
|
aCallId
|
)
|
|
SetDynamicHscsdParams(TInt, TInt)
IMPORT_C
TInt
|
SetDynamicHscsdParams
|
(
|
TInt
|
aRxSlots,
|
|
TInt
|
aCallId
|
|
)
|
|
Set Dynamic Hscsd parameters.
StartDtmfTone(const TChar &)
IMPORT_C
TInt
|
StartDtmfTone
|
(
|
const
TChar
&
|
aTone
|
)
|
|
Parameters
const
TChar
& aTone
|
Tone to be sent.
|
StartUp()
IMPORT_C void
|
StartUp
|
(
|
)
|
|
Starts monitoring incoming calls for voice and data call.
StopDtmfSending()
IMPORT_C void
|
StopDtmfSending
|
(
|
)
|
|
Allows a client to cancel the sending of a dtmf string when it was stopped by use of 'w' char in the string.
StopDtmfTone()
IMPORT_C
TInt
|
StopDtmfTone
|
(
|
)
|
|
SwapCalls()
IMPORT_C
TInt
|
SwapCalls
|
(
|
)
|
|
Swaps connected and held calls
-
Since
-
Series60_4.0
TerminateAllConnections()
IMPORT_C
TInt
|
TerminateAllConnections
|
(
|
)
|
|
Terminate all connection request.
TransferCalls()
IMPORT_C
TInt
|
TransferCalls
|
(
|
)
|
|
Makes transfer request to the Multimode ETel
-
Since
-
Series60_4.0
UpdateColpNumber(TInt, const MCCECall &)
Set COLP number to datastore if remote party number is different from dialled number.
Parameters
TInt
aCallId
|
|
const
MCCECall
& aCall
|
reference to call object
|
UpdatePhoneIdentity(MEngineMonitor::TPEMessagesFromPhoneEngine)
Asks phone identity parameters from the mmetel.
UpdateSaSetting()
Update System Agent setting for call forward.
-
Since
-
Series60_4.0
VoiceCallDataByState(TPEState, TInt &)
Returns voice call object by state.
Parameters
TPEState
aState
|
Call state search key.
|
TInt
& aIndex
|
Index of the found call object (-1 is not found).
|
Member Data Documentation
CCCECallParameters::TCCELineType
iActiveLine
CPECCEObserver * iCCEObserver
CPECCEObserver *
|
iCCEObserver
|
[protected]
|
CPECallArrayOwner * iCallArrayOwner
CCCECallParameters * iCallOpenParams
CPEConferenceCall * iConferenceCall
CCCE & iConvergedCallEngine
CCCE
&
|
iConvergedCallEngine
|
[protected]
|
TBool
iDialRequest
TBool
|
iDialRequest
|
[protected]
|
CPEDtmfHandling * iDtmfHandling
MCCEDtmfInterface & iDtmfInterface
TPEPhoneNumber
iEmergencyNumber
TInt
iErrorCode
TInt
|
iErrorCode
|
[protected]
|
MPEPhoneModelInternal & iModel
MPEPhoneModelInternal &
|
iModel
|
[protected]
|
CPsetSAObserver * iPsetSAObserver
CPsetSAObserver *
|
iPsetSAObserver
|
[protected]
|
TBool
iReplaceActive
TBool
|
iReplaceActive
|
[protected]
|
CRepository * iRepository
CRepository *
|
iRepository
|
[protected]
|
CPESupplementaryServicesMonitor * iSupplementaryServicesMonitor
CPESystemCallState * iSystemCallState
CPEVideoCallHandling * iVideoCallHandling
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.