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. Para enviar e receber SMS pelos números da linha, escolha a operadora de SMS e informe os dados de acesso à API dela.
- In Operadora de SMS choose the operator; Não conectado 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 (Senha) and, for some operators, Chave pública. A saved password stays hidden. If you change the operator, the user or the API address, Qubix asks for the password again (A operadora, o usuário ou o endereço da API mudou — digite a senha novamente.).
- Endereço da API — leave it empty to use the operator's own address (Deixe vazio para usar o endereço da operadora.). A wrong address is refused: for a company line É necessário um endereço como https://… ou http://… sem login, senha ou parâmetros. and for a personal line (see Telephony in My settings) É necessário um endereço público como https://… sem login, senha ou parâmetros.
- Save the line.
After saving, a colored dot and a line under the group tell the state:
| What the line says | What it means |
|---|---|
| Os SMS recebidos chegam ao Qubix | Qubix gave the operator the address for incoming SMS. |
| Acesso verificado: o próprio Qubix busca os SMS recebidos na operadora | Qubix polls the operator and reads the incoming SMS itself. |
| Verificando o acesso à operadora…, Informando à operadora o endereço para SMS recebidos… | The work is under way; the line updates by itself. |
| O domínio do Painel do Qubix não está definido — a operadora não consegue enviar os SMS recebidos por conta própria | Set the domain of the Qubix Panel first. |
| O número … não está na conta da operadora — os SMS recebidos para ele não chegarão (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. |
| Informe este endereço de entrada no portal da …: (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 (Corpo da requisição — segundo este modelo:). |
| Endereço anterior na operadora, substituído pelo endereço do 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 Uma requisição da operadora foi recusada …: … (the dots stand for the time and the reason). The reason is o endereço de entrada está desatualizado ou foi digitado errado, a requisição não parece ser da operadora: a assinatura não conferiu ou o conteúdo não foi interpretado, o número … não está nesta linha (the dots stand for the number), SMS não está incluído no plano or
a licença do Qubix não está ativaWhen the operator already sends SMS elsewhere
If the operator already delivers incoming SMS to another address, the line says so: No momento, a … envia os SMS recebidos para …; eles não chegam ao Qubix. (the dots stand for the name of the operator and the address). Under it stands Endereço de entrada do Qubix: with the address of Qubix. Where the operator allows one address for several numbers, the button Receber SMS no Qubix replaces the operator's address by that of Qubix; before it, a window asks Substituir o endereço de entrada na …? (the dots stand for the name of the operator), warns about what else moves with the address and offers Substituir. Where the address belongs to a messaging profile shared by all its numbers, the warning reads O endereço pertence ao perfil de mensagens e é compartilhado por todos os números dele. Os SMS recebidos de todos os números do perfil e os relatórios de entrega que … recebe agora irão para o Qubix, e o sistema anterior deixará de recebê-los. O Qubix não aceitará SMS para números do perfil que não estejam nesta linha. (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 Por número de telefone (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: Enviado, Entregue, Enviado, entrega não confirmada, Não entregue or Não se sabe se o SMS foi enviado; when the operator names the reason, the mark reads Não entregue: … (the operator's words stand in place of the dots). An SMS that stopped on the way says why:
- Não enviado: sem a permissão "Enviar SMS";
- Não enviado: a licença do Qubix não está ativa;
- Não enviado: SMS não está incluído no plano;
- Não enviado: o número de trabalho da conversa não está em nenhuma linha;
- Não enviado: o SMS não está conectado na linha do número;
- Não enviado: o número não está mais atribuído a você;
- Não enviado: a operadora do número não envia SMS pelo Qubix;
- Não enviado: o número de quem ligou está oculto — não há para onde responder;
- Não enviado: mensagens não são enviadas para um endereço SIP;
- Não enviado: SMS não transporta anexos and Não enviado: SMS não transporta mensagens de voz;
- Não enviado: … — 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 (o anexo não foi enviado, a mensagem de voz não foi enviada, a alteração não foi enviada, o cliente ainda tem o SMS). An incoming SMS with an attachment shows O SMS tinha um anexo — ele não aparece aqui
Background jobs
In Serviços e tarefas 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.