Telephony

interface Telephony

Types

PbxType
Link copied to clipboard
enum PbxType : Enum<Telephony.PbxType>

Functions

abortMakeCall
Link copied to clipboard
abstract fun abortMakeCall()
Abort the last make call request
alternate
Link copied to clipboard
abstract fun alternate(activeSession: ISession?, heldSession: ISession?)
Alternate between the two PBX calls provided in parameter
autoAnswerNextCall
Link copied to clipboard
abstract fun autoAnswerNextCall()
Auto answer next incoming call
blindTransferTo
Link copied to clipboard
abstract fun blindTransferTo(callId: String?, phoneNumberValue: String?)
Blind transfer the current call to a specified number.
abstract fun blindTransferTo(callId: String?, webRTCCall: WebRTCCall?, listener: RainbowListener<Unit, BlindTransferError>?)
Blind transfer the current call to a P2P WebRTCCall.
clearCall
Link copied to clipboard
abstract fun clearCall(session: ISession?)
Terminate the PBX call provided in parameter
conference
Link copied to clipboard
abstract fun conference(activeSession: ISession?, heldSession: ISession?)
Conference between the two PBX calls provided in parameter
deflectCallTo
Link copied to clipboard
abstract fun deflectCallTo(session: ISession?, number: String?)
Deflect the incoming PBX call provided in parameter to the number also provided in parameter
deflectCallToVoicemail
Link copied to clipboard
abstract fun deflectCallToVoicemail(session: ISession?)
Deflect the incoming PBX call provided in parameter to the voicemail is the user has one
getCurrentCallingNumber
Link copied to clipboard
abstract fun getCurrentCallingNumber(): String?
Get the current calling phone number
hideIncomingCalls
Link copied to clipboard
abstract fun hideIncomingCalls()
Since you can not reject an incoming PBX call, you can ask to hide them.
hold
Link copied to clipboard
abstract fun hold(session: ISession?)
Hold the PBX call provided in parameter
isStartingMakeCall
Link copied to clipboard
abstract fun isStartingMakeCall(): Boolean
Let you know if telephony is currently starting an outgoing call
isThereAVoIPPbxCall
Link copied to clipboard
abstract fun isThereAVoIPPbxCall(): Boolean
Let you know if there is any VoIP PBX call
makeCall
Link copied to clipboard
abstract fun makeCall(phoneNumber: PhoneNumber?, correlatorData: String?, listener: IMakeCallListener?)
Perform a PBX call to the provided number
registerSessionsToDisplayListener
Link copied to clipboard
Register a listener on the sessions to display
retrieve
Link copied to clipboard
abstract fun retrieve(session: ISession?)
Retrieve the PBX call provided in parameter
sendDTMF
Link copied to clipboard
abstract fun sendDTMF(dtmf: String, callId: String?)
Send a DTMF to the current ongoing call (VoIP calls only)
takeCall
Link copied to clipboard
abstract fun takeCall(session: ISession?)
Take the PBX call provided in parameter
transfer
Link copied to clipboard
abstract fun transfer(session: ISession?, heldSession: ISession?)
Transfer the first PBX call provided in parameter to the second call also provided in parameter
transferTo
Link copied to clipboard
abstract fun transferTo(session: ISession, phoneNumber: PhoneNumber)
Transfer the current call to a specified number.
unregisterSessionsToDisplayListener
Link copied to clipboard
Unregister the listener on the sessions to display

Properties

callSessionsToDisplay
Link copied to clipboard
abstract val callSessionsToDisplay: ISessionsToDisplay
Get an ISessionsToDisplay containing all PBX call that needs to be displayed
pbxType
Link copied to clipboard
abstract val pbxType: Telephony.PbxType
Get the PbxType.
sessionsToDisplay
Link copied to clipboard
abstract val sessionsToDisplay: Array<ISession>
Get an array containing all PBX call that needs to be displayed