语音送达失败原因通知

最近更新时间:2020-12-24 16:12:20

我的收藏

接口描述

功能描述

配置事件回调 后,语音消息系统可以向语音验证码或语音通知下发失败的被叫号码推送失败原因。

URL 示例

POST https://example.com/voice/callback

请求参数

{
"voice_failure_callback": {
"call_from": "075583763333",
"callid": "xxxxxx",
"failure_code": 8,
"failure_reason": "空号",
"mobile": "13xxxxxxxxx",
"nationcode": "86"
}
}
参数
必选
类型
描述
voice_failure_callback
object
语音送达失败原因推送回调,详细参数说明请参见下方表格。
参数voice_failure_callback
参数
必选
类型
描述
call_from
string
呼入号码。
callid
string
标识本次发送 ID。
failure_code
number
失败错误码,详情请参见 推送回执相关错误码
failure_reason
string
失败原因。
mobile
string
手机号码。
nationcode
string
国家(或地区)码。

响应参数

{
"result": 0,
"errmsg": "OK"
}
参数
必选
类型
描述
result
number
0表示成功,非0表示失败。
errmsg
string
result 非0时的具体错误信息。

Demo

腾讯云语音消息为您提供了 Java SDKPHP SDKPython SDKNode.js SDKC# SDK 供您参考,欢迎查阅。