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

Multimedia Message

  • Identifier:

    AgentEvent_MessageData

  • Function:

    This event indicates that an agent receives a multimedia session message.

  • Additional information:

    workNo: agent ID.

    content: message object in JSON format. The following fields are contained:

    callid: call ID.

    caller: calling number.

    called: called number.

    feature: call type, where 0 indicates a common inbound call and 7 indicates a common outbound call.

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

    message: content of the message to be sent.

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

  • Example:

{"eventType":"AgentEvent_MessageData","workNo":"211","content":{"callid":"1552038964-16797222","caller":"88880022","called":"20012","feature":0,"type":"main","message":"testmessage","mediaAbility":"5","jsonKey":["callid","caller","called","feature","type","message","mediaAbility"]},"jsonKey":["eventType","workNo","content"]}