call.session.called(呼入)
call.session.called:呼入
call.session.called · 设备级 · 消息查询权限 Alarm
功能详情
门铃/对讲 呼入(Alarm 事件 call.session.called)。典型闭环:本事件 → SDK/legacy 接听/挂断/拒接(非 device.service.invoke)→ answered/hungUp/refused/cancelled。见 事件目录 · 呼叫接听 等发现页 · 移动应用与对讲。
上报字段说明
outputData 内字段。平台字段见 公共负载。
| 参数名 | 说明 | 类型 | 必填 | 取值 |
|---|---|---|---|---|
modeType | 模式类型。 | enum | 否 | 1 phone;2 indoor;3 outdoor;4 doorOpen |
index | 响铃的歌曲索引。范围 0~999999,步长 1。 | int | 否 | 0~999999,步长 1 |
callId | 呼叫事件ID。 | text | 否 | 字符串 |
type | 呼叫类型。 | enum | 否 | 1 callEvent;2 callBellEvent |
desc | 备注信息(可选)。 | text | 否 | 字符串 |
shareLinkTalk | 共享链路支持先开音频对讲。0 关,1 开。 | enum | 否 | 0 关;1 开 |
样例
{
"msgType": "call.session.called",
"deviceId": "TESTIPC000012345",
"productId": "56WGTET2",
"outputData": {
"modeType": "1",
"index": 0,
"callId": "example",
"type": "1",
"desc": "example",
"shareLinkTalk": "0"
},
"time": 1673406989,
"localTime": "20230111T111629",
"alarmId": "116257862023505xxxx"
}
最小权限
管理员操作自己绑定的设备不需要权限。操作被分享设备需要报警消息权限。子用户绑定不需要。子账号需要 Alarm。列表/检索按条过滤无权事件。呼叫会话。
