当前位置:网站首页>阿里云国际版回执消息简介与配置流程
阿里云国际版回执消息简介与配置流程
2022-07-27 08:11:00 【87cloud】
回执消息是在使用API接口发送短信之后,通过配置MNS消息队列消费模式或HTTP批量推送模式,接收短信发送状态的结果和用户回复的短信内容,帮助您掌握短信的发送成功率和其他业务提供支持。下面和87cloud一起了解阿里云国际版回执消息简介与配置流程:
说明
- 如果出现网络异常、响应超时等情况,可能导致回执消息推送重复、回执消息获取失败等问题。
- 由于系统存在缓存,开启回执消息后不会立即全量推送,建议等待3分钟后确认是否已生效。
回执消息模式
接收回执消息的模式有MNS消息队列消费模式和HTTP批量推送模式两种,您可根据实际情况选择合适的模式接收回执消息。
- MNS消息队列消费模式
MNS消息队列消费模式表示通过MNS的Queue模型来接收指定地域的短信回执消息和上行短信内容。云通信的所有业务消息都支持MNS消息服务向外发送。用户在短信服务控制台启用MNS消息服务订阅指定的消息类型(MessageType)时,系统会自动生成该类型的独立消息队列及名称(QueueName)。您可使用此消息队列名称(QueueName)和消息类型(MessageType),通过调用SDK从后台来获取队列中的短信状态报告。
- HTTP批量推送模式
HTTP批量推送模式表示通过HTTP POST方式发送消息到指定的Web URL。在短信服务控制台设置HTTP回调URL(callback_url)后,当业务消息产生时,系统会使用HTTP请求以POST方式将业务消息(即短信状态报告)发送到指定的回调URL上,用户可直接接收此消息。
回执消息类型
选择回执消息模式之后,您还需要选择消息类型,接收不同场景下的回执消息。根据短信发送状态、用户回复的消息内容等不同场景,我们提供了如下消息类型,您可根据业务需要进行选择。
| 名称 | 描述 | MNS消息队列消费模式 | HTTP批量推送模式 |
|---|---|---|---|
| SmsReport(短信下行回执报告消息) | 下行是指用户收到的短信,例如运营商发送的消息通知、业务提醒等短信。通过订阅SmsReport短信下行状态报告,可以获知每条短信的发送情况,了解短信是否达到终端用户的状态与相关信息。 | SmsReport | SmsReport |
配置回执消息接收模式
如果您需要接收回执消息,必须先在短信服务控制台上开启消息接收。以下示例展示如何配置短信下行回执消息报告。
- 登录短信服务控制台。
- 在左侧导航栏,选择系统设置 > 通用设置。
- 在通用设置页面,单击接口API页签。
- 在云通信消息接收区域,开启指定模式。
- MNS消息队列消费模式
开启MNS消息队列消费模式左侧的功能开关。

- HTTP批量推送模式
- 开启HTTP批量推送模式左侧的功能开关。
- 填写接收地址,地址示例
- 单击保存。

- MNS消息队列消费模式
MNS消息队列消费模式请求参数
| 名称 | 类型 | 是否必选 | 示例值 | 描述 |
|---|---|---|---|---|
| MessageType | String | 是 | SmsReport | 消息类型:SmsReport。 |
| QueueName | String | 是 | Alicom-Queue-*****-SmsReport | 提供的消息队列名称。登录短信服务控制台,选择系统设置 > 通用设置 > 接口API,查看队列名称。 |
边栏推荐
- After installing mysql, docker entered the container and found that he could not log in to MySQL
- "Basic knowledge of PHP" implement mathematical operations in PHP
- 反弹shell是什么?反弹shell有什么用?
- CommonTitleBar hide left right
- Mqtt instruction send receive request subscription
- Redis configuration file download
- Lu Xun: I don't remember saying it, or you can check it yourself!
- [applet] how to get wechat applet code upload key?
- How to obtain the cash flow data of advertising services to help analyze the advertising effect?
- C event usage case subscription event+=
猜你喜欢

2020 International Machine Translation Competition: Volcano translation won five championships

物联网工业级UART串口转WiFi转有线网口转以太网网关WiFi模块选型

redis配置文件下载

一段平平无奇的秋招经历

Internet of things industrial UART serial port to WiFi to wired network port to Ethernet Gateway WiFi module selection

C commissioned use cases

软件调优方法有哪些?看看飞腾技术专家怎么说 | 龙蜥技术

I can't figure out why MySQL uses b+ trees for indexing?

Translation character '/b' in C #
![[resolved] SSO forwarding succeeded, and there was an unexpected error (type=internal server error, status=500) caused by parameters in the forwarding URL](/img/05/41f48160fa7895bc9e4f314ec570c5.png)
[resolved] SSO forwarding succeeded, and there was an unexpected error (type=internal server error, status=500) caused by parameters in the forwarding URL
随机推荐
C event usage case subscription event+=
kalibr标定realsenseD435i --多相机标定
How does kettle handle text data transfer as' 'instead of null
Introduction, installation and use of netdata performance monitoring tool
Lua stateful iterator
3D laser slam: Interpretation of logo-loam paper --- Abstract
"PHP Basics" tags in PHP
[applet] how to get wechat applet code upload key?
Data extraction 2
How to analyze and locate problems in 60 seconds?
Dasctf2022.07 enabling game password WP
Kalibr calibration realsensed435i -- multi camera calibration
What is a rebound shell? What's the use of bouncing shells?
[netding cup 2020 Qinglong group]areuserialz (buuctf)
"Intermediate and advanced test questions": what is the implementation principle of mvcc?
Gossip: is rotting meat in the pot to protect students' rights and interests?
"PHP Basics" use of integer data
IBM3650M4实体机安装VCenter7.0
C commissioned use cases
二零二零年终总结

