电话会议回调

云直播电话会议,目前支持的回调类型有:会议开始、会议结束、参会人入会、参会人离会、外呼状态、录制开始、录制暂停等。回调内容以POST形式发送,并且内容格式设置为JSON,且支持Https。

注意:

  • 考虑到网络因素,回调信息可能存在无法到达的情况。此时系统会尝试重连(重连次数为3次)
  • 回调地址的配置和修改,请联系全时技术人员。

1. 输出参数

参数 类型 说明
timestamp Long 时间戳
msgId String 消息ID
msgType String 消息类型(“tmeeting”: 电话会议)
customerCode String 客户编码
conferenceId String 云会议ID
hostId Long 主持人UMSID
billingCode String 云会议BC
eventId Long 云活动ID
payload String 具体的消息内容

payload 参数说明

参数 类型 说明
method String 消息执行方法名(也可以理解为事件名称,以下是具体事件的数据结构)
<消息体> - 消息体详细内容

1.1 会议开始

参数 类型 说明
 

示例

{
    "msgId": "telmonitor-192.168.25.55-1652234652243",
    "timestamp": 1652234652243,
    "msgType": "tmeeting",
    "customerCode": "154079",
    "conferenceId": "239715246",
    "eventId": 563123,
    "billingCode": "95393518",
    "hostId": 88424201,
    "payload": {
        "method": "meetingbegin"
    }
}

1.2 会议结束

参数 类型 说明
 

示例

{
    "msgId": "telmonitor-192.168.25.55-1652234938049",
    "timestamp": 1652234938049,
    "msgType": "tmeeting",
    "customerCode": "154079",
    "conferenceId": "239715246",
    "eventId": 563123,
    "billingCode": "95393518",
    "hostId": 88424201,
    "payload": {
        "method": "meetingend"
    }
}

1.3 参会人入会

参数 类型 说明
acmId String 参会人ID
phone String 参会人电话
name String 姓名
company String 公司
role String 角色 0:参与人;1:主讲人;2:主持人;3: 嘉宾
dialedIn String 是否主动入会:1.主动入会,0:外呼入会

示例

{
    "msgId": "telmonitor-192.168.25.55-1652234660002",
    "timestamp": 1652234660002,
    "msgType": "tmeeting",
    "customerCode": "154079",
    "conferenceId": "239715246",
    "eventId": 563123,
    "billingCode": "95393518",
    "hostId": 88424201,
    "payload": {
        "method": "entermeeting",
        "acmId": "1652234710788YY10000",
        "phone": "(86)18182656375",
        "name": "",
        "company": "",
        "role": "1",
        "dialedIn": "0"
    }
}

1.3 参会人退会

参数 类型 说明
acmId String 参会人ID
phone String 参会人电话
role String 参会人角色
dialedIn String 是否是主动入会:1.主动入会,0:外呼入会

示例

{
    "msgId": "telmonitor-192.168.25.55-1652236852711",
    "timestamp": 1652236852711,
    "msgType": "tmeeting",
    "customerCode": "154079",
    "conferenceId": "239715246",
    "eventId": 563123,
    "billingCode": "95393518",
    "hostId": 88424201,
    "payload": {
        "method": "leavemeeting",
        "acmId": "1652236886237YY10001",
        "phone": "(86)17382670593",
        "role": "0",
        "dialedIn": "0"
    }
}

1.4 参会人状态

参数 类型 说明
acmId String 参会人ID
phone String 参会人电话
name String 姓名
company String 公司
role String 角色 0:参与人;1:主讲人;2:主持人;3: 嘉宾
dialedIn String 是否是主动入会:1.主动入会,0:外呼入会
connectState String 连接状态 0: 断开; 1: 正在断开; 2: 正在连接; 3:会中Hold; 4: 静音; 5: 可听可讲; 100: 听音乐; 101: 服务中; 102: 外呼走廊中,包括*8和Op外呼; 103: 通话保持
disConnectReson String 未连接原因 1: 系统主动挂断; 2: 远程挂断; 3: 未响应

示例

{
    "msgId": "telmonitor-192.168.25.55-1652247292768",
    "timestamp": 1652247292768,
    "msgType": "tmeeting",
    "customerCode": "153577",
    "conferenceId": "239715277",
    "eventId": 563159,
    "billingCode": "95393543",
    "hostId": 87676238,
    "payload": {
        "method": "partystate",
        "acmId": "1652247337370YY10000",
        "phone": "(86)15934895165",
        "name": "",
        "company": "",
        "role": "1",
        "dialedIn": "0",
        "connectState": "3",
        "disConnectReson": "0"
    }
}

1.5 开始录制

参数 类型 说明
 

示例

{
    "msgId": "telmonitor-192.168.25.55-1652250516714",
    "timestamp": 1652250516714,
    "msgType": "tmeeting",
    "customerCode": "154079",
    "conferenceId": "239715280",
    "eventId": 563163,
    "billingCode": "95393545",
    "hostId": 88424201,
    "payload": {
        "method": "startrecord"
    }
}

1.6 正在录制

参数 类型 说明
 

示例

{
    "msgId": "telmonitor-192.168.25.55-1652251657431",
    "timestamp": 1652251657431,
    "msgType": "tmeeting",
    "customerCode": "154079",
    "conferenceId": "239715280",
    "eventId": 563163,
    "billingCode": "95393545",
    "hostId": 88424201,
    "payload": {
        "method": "recordconnecting"
    }
}

1.7 暂停录制

参数 类型 说明
 

示例

{
    "msgId": "telmonitor-192.168.25.55-1652250446320",
    "timestamp": 1652250446320,
    "msgType": "tmeeting",
    "customerCode": "154079",
    "conferenceId": "239715280",
    "eventId": 563163,
    "billingCode": "95393545",
    "hostId": 88424201,
    "payload": {
        "method": "pauserecord"
    }
}

1.7 会议回答开启

参数 类型 说明
 

示例

{
    "msgId":"telmonitor-10.255.255.149-1659608548991",
    "timestamp":1659608548991,
    "msgType":"tmeeting",
    "customerCode":"153954",
    "conferenceId":"239743889",
    "eventId":580950,
    "billingCode":"95423125",
    "hostId":88410698,
    "payload":{
        "method":"qastart"
    }
}

1.7 会议回答关闭

参数 类型 说明
 

示例

{
    "timestamp":1659607477945,
    "msgId":"telmonitor-10.255.255.149-1659607477945",
    "msgType":"tmeeting",
    "customerCode":"153857",
    "conferenceId":"239743697",
    "hostId":88408692,
    "billingCode":"95422935",
    "eventId":580862,
    "payload":{
        "method":"qastop"
    }
}

1.7 会议回答列表更新

参数 类型 说明
acmId String 参会人ID
phone String 参会人电话
name String 姓名
company String 公司
role String 角色 0:参与人;1:主讲人;2:主持人;3: 嘉宾

示例

{
    "msgId":"telmonitor-10.255.255.149-1659607774188",
    "timestamp":1659607774188,
    "msgType":"tmeeting",
    "customerCode":"153857",
    "conferenceId":"239743697",
    "eventId":580862,
    "billingCode":"95422935",
    "hostId":88408692,
    "payload":{
        "method":"qalist",
        "users":[
            {
                "acmId":"1659607230416YY10001",
                "phone":"(86)17382670593",
                "name": "",
                "company": "",
                "role": "1"
            }
        ]
    }
}

1.7 参会人允许发言

参数 类型 说明
acmId String 参会人ID
phone String 参会人电话
name String 姓名
company String 公司
role String 角色 0:参与人;1:主讲人;2:主持人;3: 嘉宾

示例

{
    "timestamp":1659607421068,
    "msgId":"telmonitor-10.255.255.149-1659607421068",
    "msgType":"tmeeting",
    "customerCode":"153857",
    "conferenceId":"239743697",
    "hostId":88408692,
    "billingCode":"95422935",
    "eventId":580862,
    "payload":{
        "method":"qafloor",
        "users":[
            {
                "acmId":"1659607230416YY10000","
                "phone":"(86)18182656375",
                "name": "",
                "company": "",
                "role": "1"
            }
        ]
    }
}

1.7 参会人发言

参数 类型 说明
acmId String 参会人ID
phone String 参会人电话
name String 姓名
company String 公司
role String 角色 0:参与人;1:主讲人;2:主持人;3: 嘉宾
talkState Boolean 参会人是否说话

示例

{
    "timestamp":1659597594922,
    "msgId":"telmonitor-192.168.25.55-1659597594922",
    "msgType":"tmeeting",
    "customerCode":"153857",
    "conferenceId":"239743697",
    "hostId":88408692,
    "billingCode":"95422935",
    "eventId":580862,
    "payload":{
        "method":"talker",
        "users":[
            {
                "acmId":"1659596616268YY10000",
                "phone":"(86)18182656375",
                "name": "",
                "company": "",
                "role": "1",
                "talkState":true
            }
        ]
    }
}