-
Notifications
You must be signed in to change notification settings - Fork 0
Description
The SMS inbox is currently not distinguishing if a user is re-opening a problem or responding to a survey question (both use the same keyword: N)
There are two possible solutions for this:
- We change the response convention from the survey (something else instead of N)
- We need to perform the validation ourselves, and distinguish when an N aims to reopen a case or to respond to a survey question.
{
"message_id": "74830",
"parent_message_id": "0",
"smpp_message_id": "8.1634957202535E+18",
"to": "11111",
"from": "MOPA",
"contents": "Caro municipe, nao conseguimos encontrar o seu caso para reabrir",
"created_at": "2017-05-24 14:27:40",
"updated_at": "2017-05-24 14:27:40",
"message_status": "accepted"
},
{
"message_id": "74829",
"parent_message_id": null,
"smpp_message_id": null,
"to": "MOPA",
"from": "111111",
"contents": "N",
"created_at": "2017-05-24 14:27:39",
"updated_at": "2017-05-24 14:27:39",
"message_status": "delivered"
},
{
"message_id": "66727",
"parent_message_id": "0",
"smpp_message_id": "8.1648956435154E+18",
"to": "111111",
"from": "MOPA",
"contents": "MOPA - O seu ponto critico tem algum problema neste momento? Responda S para sim e N para Nao.",
"created_at": "2017-05-10 17:23:43",
"updated_at": "2017-05-10 17:23:44",
"message_status": "accepted" },