# SMPP

[SMPP](https://smpp.org/)是发送和接收 SMS 的行业标准。请联系我们的客户服务以启用此功能。

&#x20;

## &#x20;获取SMPP账户

请联系客服创建您自己的 SMPP 帐户。

&#x20;

## SMPP 的使用

### 连接

请连接以下服务器：

| 服务器地址           | 服务器端口 | SSL 服务器端口 |
| --------------- | ----- | --------- |
| smpp.ycloud.com | 30002 | 30012     |

联系我们以检索我们的公共证书。

###

### 装订

要发送绑定请求，请联系我们以检索您的 SMPP 系统 ID 和密码。

| 地位 | 描述               |
| -- | ---------------- |
| 0  | 成功               |
| 3  | SMPP 系统 ID 和密码无效 |
| 5  | 超过连接数限制          |

### &#x20;

### 提交消息

| 地位 | 描述      |
| -- | ------- |
| 0  | 成功      |
| 4  | 无效的电话号码 |
| 6  | 超过连接数限制 |

&#x20;

### 交货报告

以下是“deliver\_sm”PDU 中“short\_message”参数的示例：

```javascript
id:11041301030001006668 sub:001 dlvrd:001 submit date:2111040501 done date:2111040501 stat:DELIVRD err:0 text:none
```

“提交数据”和“完成日期”是 UTC 时间。

发送时'err'为'0'，其他数值为：

| 错误码 | 描述                |
| --- | ----------------- |
| 3   | 余额不足              |
| 4   | 不允许使用敏感词          |
| 10  | 该电话号码已列入黑名单       |
| 18  | 签名无效。中国大陆短信需要签名   |
| 65  | 被我们拒绝，通常是针对中国大陆短信 |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://helpdocs.ycloud.com/help-center/zh/integrations/qu-dao/quan-qiu-duan-xin/duan-xin-gong-neng/smpp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
