Class PhoneEvent

All Implemented Interfaces:
Serializable

public class PhoneEvent extends SessionEvent
Represents a phone event of a session.
See Also:
  • Constructor Details

    • PhoneEvent

      public PhoneEvent()
  • Method Details

    • getEventType

      public PhoneEventType getEventType()
      Enumerated PhoneEventType with the type of the phone event.
    • setEventType

      public void setEventType(PhoneEventType value)
      Enumerated PhoneEventType with the type of the phone event.
    • getInteractionId

      public int getInteractionId()
      Identifier of the interaction.
    • setInteractionId

      public void setInteractionId(int value)
      Identifier of the interaction.
    • getState

      public PhoneInteractionState getState()
      Enumerated PhoneInteractionState with the current state of the call.
    • setState

      public void setState(PhoneInteractionState value)
      Enumerated PhoneInteractionState with the current state of the call.
    • getIsEnqueued

      public boolean getIsEnqueued()
      If true, the call is in a campaign queue.
    • setIsEnqueued

      public void setIsEnqueued(boolean value)
      If true, the call is in a campaign queue.
    • getIsRecording

      public boolean getIsRecording()
      If true, the call is being recorded.
    • setIsRecording

      public void setIsRecording(boolean value)
      If true, the call is being recorded.
    • getIsSuspended

      public boolean getIsSuspended()
      If true, the interaction is suspended.
    • setIsSuspended

      public void setIsSuspended(boolean value)
      If true, the interaction is suspended.
    • getDestinationAgent

      public String getDestinationAgent()
      Name of the agent, if the remote party talking to the agent is also an agent.
    • setDestinationAgent

      public void setDestinationAgent(String value)
      Name of the agent, if the remote party talking to the agent is also an agent.
    • getDestinationNumber

      public String getDestinationNumber()
      Destination phone number of the call.
    • setDestinationNumber

      public void setDestinationNumber(String value)
      Destination phone number of the call.
    • getDestinationDialedNumber

      public String getDestinationDialedNumber()
      Number dialed by the caller party.
    • setDestinationDialedNumber

      public void setDestinationDialedNumber(String value)
      Number dialed by the caller party.
    • getDestinationTrunk

      public String getDestinationTrunk()
      Destination trunk of the call.
    • setDestinationTrunk

      public void setDestinationTrunk(String value)
      Destination trunk of the call.
    • getDestinationCampaign

      public String getDestinationCampaign()
      Campaign associated to the call.
    • setDestinationCampaign

      public void setDestinationCampaign(String value)
      Campaign associated to the call.
    • getDequeuedReason

      public DequeuedEventReason getDequeuedReason()
      Enumerated DequeuedEventReason with the reason to dequeue the call.
    • setDequeuedReason

      public void setDequeuedReason(DequeuedEventReason value)
      Enumerated DequeuedEventReason with the reason to dequeue the call.
    • getAllowedOperations

      public PhoneMediaCanDo getAllowedOperations()
      Allowed operations.
    • setAllowedOperations

      public void setAllowedOperations(PhoneMediaCanDo value)
      Allowed operations.
    • getInteractionKey

      public String getInteractionKey()
      Global identifier of the call.
    • setInteractionKey

      public void setInteractionKey(String value)
      Global identifier of the call.
    • getRecordingTerminationReason

      public RecordingTerminationReason getRecordingTerminationReason()
      Enumerated RecordingTerminationReason with the reason for the last recording termination.
    • setRecordingTerminationReason

      public void setRecordingTerminationReason(RecordingTerminationReason value)
      Enumerated RecordingTerminationReason with the reason for the last recording termination.
    • getSubCallType

      public SubCallType getSubCallType()
      Enumerated SubCallType with the type of sub call.
    • setSubCallType

      public void setSubCallType(SubCallType value)
      Enumerated SubCallType with the type of sub call.
    • getClearedByRotateOnNoAnswer

      public boolean getClearedByRotateOnNoAnswer()
      If true, the phone call is cleared by rotate on no answer.
    • setClearedByRotateOnNoAnswer

      public void setClearedByRotateOnNoAnswer(boolean value)
      If true, the phone call is cleared by rotate on no answer.
    • getRecordingInitiatorType

      public RecordingInitiatorType getRecordingInitiatorType()
      Enumerated RecordingInitiatorType with the type of the recording initiator.
    • setRecordingInitiatorType

      public void setRecordingInitiatorType(RecordingInitiatorType value)
      Enumerated RecordingInitiatorType with the type of the recording initiator.
    • getSupervisedTransferType

      public SupervisedTransferType getSupervisedTransferType()
      Type of supervised transfer.
    • setSupervisedTransferType

      public void setSupervisedTransferType(SupervisedTransferType value)
      Type of supervised transfer.
    • getUcid

      public String getUcid()
      Avaya UCID.
    • setUcid

      public void setUcid(String value)
      Avaya UCID.
    • getRecordingKey

      public String getRecordingKey()
      Recording Key.
    • setRecordingKey

      public void setRecordingKey(String value)
      Recording Key.
    • toString

      public String toString()
      Converts the value of this event to a string representation.
      Overrides:
      toString in class AgentEvent
      Returns:
      The string representation of the event.