Interface CallBacklogHandler

  • All Superinterfaces:
    BacklogHandler<Call>

    public interface CallBacklogHandler
    extends BacklogHandler<Call>
    This handler provides access to all Call objects in the backlog associated with a QueuedCall and created by the IVR. Please note that the underlying stream source returned by the BacklogHandler.stream() method of this handler guarantees order by routing priority. In case of service level based routing the stream is ordered by the individually calculated service level ratio of each Call descending from high to low. Please also note that the stream source may contain Call elements that are not routable. To filter the routable Call elements please use the BacklogHandler.isRoutable() predicate to filter the stream. The CallBacklogHandler is only available in the novomind iAGENT routing process.
    Since:
    11.27
    • Method Detail

      • getCall

        java.util.Optional<Call> getCall​(java.lang.String callId)
        This method returns the optional Call with the given callId assigned by the PBX or an empty optional if the Call with the given callId does not exist within the backlog.
        Parameters:
        callId - the callId of the Call to be returned
        Returns:
        the optional Call with the given callId or an empty optional if not existing in the backlog.
        Since:
        11.27
      • getCallState

        @Deprecated(since="12.43",
                    forRemoval=true)
        CallState getCallState​(Call call)
        Deprecated, for removal: This API element is subject to removal in a future version.
        please use Call.getCallState() instead.
        This method returns the CallState for the given Call.
        Parameters:
        call - the call for which the CallState is to be determined
        Returns:
        the CallState for the given Call
        Since:
        11.27