Interface CallHandler

All Superinterfaces:
BacklogHandler<Call>

public interface CallHandler extends BacklogHandler<Call>
This handler provides access to all currently active Call objects including calls associated with a QueuedCall and also an IncomingCall or OutgoingCall. Please call the Call.getCallType() method to filter any of the above mentioned types of calls. To filter on a specific state of the call please use the method Call.getCallState() The underlying stream source provided by the handler's BacklogHandler.stream() method does not guarantee any predefined order. The CallHandler is only available in the novomind iAGENT routing process.
Since:
12.43
  • Method Details

    • getCall

      Optional<Call> getCall(String callId, CallType callType)
      This method returns the optional Call with the given callId and CallType or an empty optional if the Call with the given callId and CallType does not exist or is not active any more.
      Parameters:
      callId - the callId of the Call to be returned
      callType - the CallType of the Call to be returned
      Returns:
      the optional Call with the given callId and callType or an empty optional if not existing or not active any more.
      Since:
      11.27