Options
All
  • Public
  • Public/Protected
  • All
Menu

Model class for Agent leg event

Hierarchy

Index

Constructors

Properties

agentLegId: string
remarks
  • The 'contact ID' for the agent leg script. This can be helpful in situations where a single app is managing multiple agent sessions. This ID will be valid from the time the agent leg is 'dialing', until it is disconnected
finalState: boolean
remarks
  • Indicates whether the state is the final state for the agent leg "contact". This will only be "true" for the "Disconnected" status event.
iisHost: string

iis hosting event details

remarks
  • The status of the agent leg. Will be 'Dialing', 'Active', or 'Disconnected'.
vcHost: string

vc hosting event details

Methods

  • parse(data: {}): void
  • The parse method will take the data object and assign the values to the agentLeg class properties

    example
    parse(data);
    

    Parameters

    • data: {}

      Data object received

      • [key: string]: string

    Returns void

Generated using TypeDoc