com.cisco.jtapi.extensions
Interface CiscoMonitorTargetInfo


public interface CiscoMonitorTargetInfo

This interface provides information about the monitor target.


Method Summary
 CiscoAddress getAddress()
          Returns the monitor target address.
 int getMonitorTargetCallLegHandle()
          Returns the call leg handle at the monitor target.
 int getMonitorType()
          Returns the type of monitoring.
 java.lang.String getTerminalName()
          Returns the terminal name of monitor target.
 int getToneDirection()
          Returns the toneDirection for this monitoring session.
 

Method Detail

getAddress

CiscoAddress getAddress()
Returns the monitor target address.


getTerminalName

java.lang.String getTerminalName()
Returns the terminal name of monitor target.


getMonitorTargetCallLegHandle

int getMonitorTargetCallLegHandle()
Returns the call leg handle at the monitor target. JTAPI can get the call at the monitor target by using provider.getCall(int monitorTargetCallLegHandle). This method returns null if the monitor target call is not active in this provider.


getMonitorType

int getMonitorType()
Returns the type of monitoring.

Returns:
int - type of monitoring which can be CiscoCall.SILENT_MONITOR or CiscoCall.WHISPER_MONITOR
Since:
8.5(1)

getToneDirection

int getToneDirection()
Returns the toneDirection for this monitoring session.

Returns:
int - type of tone which may be any of the following constants:
  • CiscoCall.PLAYTONE_NOLOCAL_OR_REMOTE
  • CiscoCall.PLAYTONE_LOCALONLY
  • CiscoCall.PLAYTONE_REMOTEONLY
  • CiscoCall.PLAYTONE_BOTHLOCALANDREMOTE
Since:
8.5(1)