Interface ActiveCall

All Known Subinterfaces:
IncomingCall, OutgoingCall, QueuedCall

public interface ActiveCall
The interface represents an active call existing within the PBX. An ActiveCall is a stateless object that only provides basic call information.
Since:
11.27
  • Method Summary

    Modifier and Type
    Method
    Description
    This method returns the unique callId given by the PBX.
    This method returns the optional sourceId of the call.
    This method returns the targetId of the call.
  • Method Details

    • getCallId

      String getCallId()
      This method returns the unique callId given by the PBX.
      Returns:
      the unique callId of the call
      Since:
      11.27
    • getSourceId

      Optional<String> getSourceId()
      This method returns the optional sourceId of the call. The sourceId is the caller identification or caller number of the call. If the caller is anonymous or does not provide any identification, the method returns an empty optional.
      Returns:
      the sourceId which is the caller identification or caller number
      Since:
      11.27
    • getTargetId

      String getTargetId()
      This method returns the targetId of the call. The targetId is the number of the call destination.
      Returns:
      the targetId which is the call destination respectively the called number
      Since:
      11.27