Updated on 2024-03-05 GMT+08:00

Playing Voice in Non-calling State

  • Application scenario

    An agent needs to play a recording.

  • Prerequisites

    The agent has signed in.

    The agent is not in a call.

  • Implementation process

    For details, see Recording Playback.

  • Triggered event

    Voice playback:

    • AgentState_Busy
    • AgentOther_PhoneAlerting
    • AgentOther_PhoneOffhook
    • AgentMediaEvent_Play_Succ
    • AgentMediaEvent_Play

    Voice playback failure:

    • AgentState_Busy
    • AgentOther_PhoneAlerting
    • AgentOther_PhoneOffhook
    • AgentOther_PhoneRelease
    • AgentState_Ready
    • AgentMediaEvent_Play_Fail
    • AgentMediaEvent_StopPlayDone

    Voice playback pause

    • AgentMediaEvent_PausePlayDone

    Voice playback resumption:

    • AgentMediaEvent_ResumePlayDone

    Fast forwarding of voice playback

    • AgentMediaEvent_JumpPlayDone

    Fast rewinding of voice playback

    • AgentMediaEvent_JumpPlayDone

    Voice playback stopping or completion

    • AgentOther_PhoneRelease
    • AgentState_Ready
    • AgentMediaEvent_StopPlayDone