Options
All
  • Public
  • Public/Protected
  • All
Menu

Class to handling voice controls

Hierarchy

  • VoiceControlService

Index

Constructors

Properties

acdSession: ACDSessionManager = ...
logger: Logger = ...
utilService: HttpUtilService = ...

Methods

  • playVoiceMail(contactId: string, playTimeStamp: boolean, position: number): Promise<HttpResponse>
  • This method will play a voicemail contact audio at the specified position

    example
    playVoiceMail(23423423, true, 50);
    

    Parameters

    • contactId: string

      contact id

    • playTimeStamp: boolean

      Include date/time in audio playback

    • position: number

      Position of the wav file at a specified second

    Returns Promise<HttpResponse>

  • transferVoicemailContact(contactId: string, agentId: string): Promise<HttpResponse>

Generated using TypeDoc