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

Notifying the Agent of an Inbound Call

  • Identifier:

    AgentEvent_Ringing

  • Function:

    This event indicates that the agent is asked to manually answer a call.

  • Additional information:

    caller: calling number in text format. If the number belongs to an agent, the number starts with a or A.

    called: called number in text format. If the number belongs to an agent, the number starts with a or A.

    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 and 7 indicates a common outboundcall.

    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_Ringing","workNo":"49999","content":{"caller":"49997","transfer":"no","callid":"1456404043-37","transfrom":"","called":"49999","type":"main","mediaAbility":"1","feature":"0"}}}