Updated on 2023-09-27 GMT+08:00

Automatically Answering a Call

  • Identifier

    AgentEvent_Auto_Answer

  • Function

    This event indicates that an agent automatically answers a call.

  • Additional information

    caller: calling number in text format.

    called: called number in text format.

    callid: ID of the call in text format.

    type: media type of the call, either assistant call or main call.

    feature: call type, where 0 indicates a common inbound call, 7 indicates a common outbound call, and 43 indicates a predicted outbound call. feature is associated with callid and does not change with actions such as call transfer.

    mediaAbility: media capability, where 1 indicates voice, 2 indicates video, 3 indicates voice and video, 5 indicates text, and 6 indicates H5 video.

  • Example

    {"message":"","retcode":"0","event":{"eventType":"AgentEvent_Auto_Answer","workNo":"49999","content":{"caller":"70093","transfer":"no","callid":"1456404171-43","transfrom":"","called":"6048","type":"main","mediaAbility":"1","feature":"0"}}}