Updated on 2023-12-22 GMT+08:00

Pushing Invitation Results

This event can be used to notify the result of inviting a participant or the cause of leaving a meeting.

Table 1 Message frame for pushing invitation results

Parameter

Type

Description

action

String

"InviteResultNotify"

version

Long

For a full message, the value is the timestamp (in milliseconds) when the message is generated.

For an incremental message, the value is a sequence number in ascending order.

createTime

Long

Timestamp when a message is generated, in milliseconds.

msgID

String

Unique message ID.

msgMode

Integer

Message mode.

0: full message.

1: incremental message.

confID

String

ID of the subscribed-to meeting.

data

Array of InviteResultDTO objects

Invitation result list.

For details, see the InviteResultDTO data structure.

Table 2 InviteResultDTO data structure

Parameter

Type

Description

callNumber

String

Called number.

errorCode

String

  • Invitation result event.

    0: Call succeeded.

    Other values: Call failed.

  • Leave reason event:

    11111001: No streams received by the MCU (network error).

    11111002: No streams received by the participant (network or client error).

    11111003: SIP signaling timed out (network error).

    11111004: WebSocket timed out (network error).

    11076002: The participant is disconnected by the host on the client.

    11076010: The participant proactively left the meeting.

    11076016: The participant is disconnected by the meeting administrator on the Management Platform.

Example

{
	"data": [{
		"callNumber": "+86571299676493248",
		"resultCode": "0"
	}],
	"confID": "900487914",
	"msgID": "23a4ed3a62d111eb980a8f4b46ea6930",
	"msgMode": 0,
	"version": 1611993595063,
	"createTime": 1611993595063,
	"action": "InviteResultNotify"
}