属性 | 类型 | 约束 | 说明 | |
---|---|---|---|---|
ivr | appId | String | 必选 | 应用唯一标识 |
callId | String | 必选 | 呼叫ID | |
key2Stop | String | 必选 | 收到指定DTMF码后停止留言,不可与cnt2Stop同时为空 (0~9、*、#、空) | |
cnt2Stop | int | 必选 | 收到n个DTMF码后停止留言,不可与key2Stop同时为空 (>= 0) | |
data | String | 可选 | 用户透传数据 |
功能 | 开启留言 |
---|---|
URL | https://api.ucpaas.com/{SoftVersion}/Accounts/{AccountSid}/ipcc/call/message?sig={SigParameter} |
Method | POST |
Headers | 参考REST介绍中 HTTP Headers 的说明 |
Body | 开启留言对象 |
Response | 一般响应对象 |
功能 | 留言/录音文件下载 |
---|---|
URL | http://www.ucpaas.com/fileserver/record/ {sid}_{fileid}_{date}?sig={sig} |
Method | GET |
Response | 对应的录音文件 |