SMS
A line can send and receive SMS from its numbers. An SMS appears in TeleQube as a conversation with the client's number; what you write there goes to the client as an SMS. This article describes how the administrator connects an SMS operator and what a person sees in the conversation.
Connect an SMS operator
- Open the line (Phone lines) and find the group SMS. 要通过此线路的号码收发 SMS,请选择 SMS 服务商并填写其 API 的访问信息。
- In SMS 服务商 choose the operator; 未连接 switches SMS off for the line.
- Enter the access data the operator asks for. The fields depend on the operator: the account or user, the password or secret key (密码) and, for some operators, 公钥. A saved password stays hidden. If you change the operator, the user or the API address, Qubix asks for the password again (服务商、用户或 API 地址已更改 — 请重新输入密码。).
- API 地址 — leave it empty to use the operator's own address (留空则使用服务商的地址。). A wrong address is refused: for a company line 需要一个形如 https://… 或 http://… 的地址,且不含用户名、密码或参数。 and for a personal line (see Telephony in My settings) 需要一个形如 https://… 的公网地址,且不含用户名、密码或参数。
- Save the line.
After saving, a colored dot and a line under the group tell the state:
| What the line says | What it means |
|---|---|
| 收到的 SMS 会进入 Qubix | Qubix gave the operator the address for incoming SMS. |
| 访问已验证:Qubix 会自行从服务商处获取收到的 SMS | Qubix polls the operator and reads the incoming SMS itself. |
| 正在验证对服务商的访问…, 正在向服务商提供接收 SMS 的地址… | The work is under way; the line updates by itself. |
| 未设置 Qubix 面板的域名 — 服务商无法自行推送收到的 SMS | Set the domain of the Qubix Panel first. |
| 号码 … 不在服务商的账户中 — 发往该号码的 SMS 将无法送达 (the dots stand for the number) | A number of the line does not exist in the operator's account — incoming SMS for it will not arrive. |
| "Could not check access" / "Could not set the address" with the operator's reason | Check the access data. |
| 请在 … 的门户中填写此接收地址: (the dots stand for the name of the operator) | The operator takes the address only in its own portal: copy the address shown under the line, and for some operators also the request body (请求正文 — 按此模板:). |
| 服务商处原先的地址,已替换为 Qubix 地址:… (the dots stand for the address) | Qubix replaced the address that stood at the operator with its own; the line shows the address it replaced. |
A dot is red when something is wrong, green when Qubix has the address for incoming SMS at the operator, and gray while it waits. When the operator refuses a request, the line shows 服务商的请求于 … 被拒绝:… (the dots stand for the time and the reason). The reason is 接收地址已过期或输入有误, 该请求不像是来自服务商:签名不匹配或无法解析内容, 号码 … 不在此线路上 (the dots stand for the number), 套餐不包含 SMS or
Qubix 许可证未激活When the operator already sends SMS elsewhere
If the operator already delivers incoming SMS to another address, the line says so: 目前 … 将收到的 SMS 发送到 …,它们不会进入 Qubix。 (the dots stand for the name of the operator and the address). Under it stands Qubix 接收地址: with the address of Qubix. Where the operator allows one address for several numbers, the button 在 Qubix 中接收 SMS replaces the operator's address by that of Qubix; before it, a window asks 要替换 … 处的接收地址吗? (the dots stand for the name of the operator), warns about what else moves with the address and offers 替换. Where the address belongs to a messaging profile shared by all its numbers, the warning reads 该地址属于消息配置文件,并由其所有号码共用。配置文件中所有号码收到的 SMS 以及 … 当前接收的送达报告都将转到 Qubix,原有系统将不再收到。对于配置文件中不在此线路上的号码,Qubix 不会接收发往它们的 SMS。 (the dots stand for the address that stands at the operator now). Where the address is one for the whole account of the operator, the warning says that the SMS of all numbers and the other notifications of the account — call tracking, contact updates and speech analytics — go to Qubix too, that the system at the old address stops receiving them, and that Qubix accepts only the SMS of the numbers of this line.
SMS in TeleQube
A conversation with a number starts from 通过电话号码 (see Chats) or from an incoming SMS. A message you write there is sent as an SMS if you have the right Send SMS.
The mark under a message tells what happened to it: 已发送, 已送达, 已发送,未确认送达, 未送达 or 不确定 SMS 是否已发出; when the operator names the reason, the mark reads 未送达:… (the operator's words stand in place of the dots). An SMS that stopped on the way says why:
- 未发送:没有“发送 SMS”权限;
- 未发送:Qubix 许可证未激活;
- 未发送:套餐不包含 SMS;
- 未发送:此对话的工作号码不在任何线路上;
- 未发送:该号码的线路未接通 SMS;
- 未发送:该号码已不再分配给您;
- 未发送:该号码的运营商不通过 Qubix 发送 SMS;
- 未发送:来电号码已隐藏 — 无处回复;
- 未发送:无法向 SIP 地址发送消息;
- 未发送:SMS 不支持附件 and 未发送:SMS 不支持语音消息;
- 未发送:… — when the operator refused the SMS in its own words.
An SMS carries the text of a message: a file or a voice message stays in the conversation, a change is not sent, and after a deletion the client still has the SMS (附件未发送, 语音消息未发送, 修改未发送, 客户那边仍保留该 SMS). An incoming SMS with an attachment shows 该 SMS 含有附件 — 此处无法查看
Background jobs
In 服务和任务 the section Telephony has two jobs for SMS: SMS sending — it sends again the SMS that stayed behind and puts waiting incoming ones into conversations — and SMS operators polling — it sets the address for incoming SMS at the operators, collects what stayed at the operators and keeps the names of the conversations with numbers up to date.
When many calls from a line are stopped in a row, Qubix sends a notice, at most once an hour for a line, with the reason: a premium-rate number, a number outside any country, a country outside the allowed list of the line, or a line that carries its limit of calls.