T
- the implementation specific provider class like for example
ProtocolProviderServiceSipImpl.public interface OperationSetAdvancedTelephony<T extends ProtocolProviderService> extends OperationSetBasicTelephony<T>
OperationSetBasicTelephony
with advanced telephony
operations such as call transfer.HANGUP_REASON_BUSY_HERE, HANGUP_REASON_ENCRYPTION_REQUIRED, HANGUP_REASON_NORMAL_CLEARING, HANGUP_REASON_TIMEOUT, MAX_AUDIO_PORT_NUMBER_PROPERTY_NAME, MAX_DATA_CHANNEL_PORT_NUMBER_PROPERTY_NAME, MAX_MEDIA_PORT_NUMBER_PROPERTY_NAME, MAX_VIDEO_PORT_NUMBER_PROPERTY_NAME, MIN_AUDIO_PORT_NUMBER_PROPERTY_NAME, MIN_DATA_CHANNEL_PORT_NUMBER_PROPERTY_NAME, MIN_MEDIA_PORT_NUMBER_PROPERTY_NAME, MIN_VIDEO_PORT_NUMBER_PROPERTY_NAME
Modifier and Type | Method and Description |
---|---|
void |
setTransferAuthority(TransferAuthority authority)
Transfer authority used for interacting with user for unknown
call transfer requests.
|
void |
transfer(CallPeer peer,
CallPeer target)
Transfers (in the sense of call transfer) a specific CallPeer to
a specific callee address which already participates in an active
Call.
|
void |
transfer(CallPeer peer,
java.lang.String target)
Transfers (in the sense of call transfer) a specific CallPeer to
a specific callee address which may or may not already be participating
in an active Call.
|
addCallListener, answerCallPeer, createCall, createCall, createCall, createCall, createCall, createRecorder, getActiveCalls, getProtocolProvider, hangupCallPeer, hangupCallPeer, putOffHold, putOnHold, removeCallListener, setMute
void transfer(CallPeer peer, CallPeer target) throws OperationFailedException
The method is suitable for providing the implementation of attended call transfer (though no such requirement is imposed).
peer
- the CallPeer to be transfered to the specified
callee addresstarget
- the address in the form of CallPeer of the callee
to transfer peer toOperationFailedException
- if something goes wrong.void transfer(CallPeer peer, java.lang.String target) throws OperationFailedException
The method is suitable for providing the implementation of unattended call transfer (though no such requirement is imposed).
peer
- the CallPeer to be transfered to the specified
callee addresstarget
- the address of the callee to transfer peer toOperationFailedException
- if something goes wrong.void setTransferAuthority(TransferAuthority authority)
authority
- transfer authority asks user for accepting a particular
transfer request.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.