Delivery states
Every message is in exactly one of these states. Final states never change.
| API value | Portal shows | SMPP receipt stat | Final | Charged | Retry helps | Meaning |
|---|---|---|---|---|---|---|
accepted | Submitted | None | No | Held, not charged yet | Not final yet | Telrioz took the message. No upstream has it yet. Its price is held from your balance. |
retrying | Submitted | None | No | Held, not charged yet | Not final yet | Upstream could not take the message for now; Telrioz will try again. If it still cannot go out, it ends as upstream_rejected. Only a part shows it, in parts[].status; the message stays accepted. |
sent | Sent | None | No | Charged | Not final yet | An upstream accepted the message. Telrioz waits for its delivery receipt. |
delivered | Delivered | DELIVRD | Yes | Charged | Not needed | The receipt says the message reached the phone. |
rejected | Rejected | REJECTD | Yes | Charged | No | The operator refused the message. |
undelivered | Error | UNDELIV | Yes | Charged | Depends on the error code | The operator could not deliver the message. The error code says why. |
expired | Error | EXPIRED | Yes | Charged | Yes | The operator stopped trying before the message reached the phone, for example because the phone was off or out of reach. |
deleted | Error | DELETED | Yes | Charged | Depends on the error code | The operator deleted the message before it was delivered. |
unknown | Error | UNKNOWN | Yes | Charged | Depends on the error code | The receipt gave no clear result. |
not_sent | Error | UNDELIV | Yes | No, costs 0 | Yes | No upstream took the message in time, so it never went out. Its error is TELRIOZ_NOT_SENT. It costs nothing. |
upstream_rejected | Error | UNDELIV | Yes | No, costs 0 | Depends on the error code | The upstream refused the message when Telrioz handed it over, so it never went out. The error code (an ESME_ code) says why. It costs nothing. |
Note on retrying. Only a part shows retrying, in parts[].status. The status of the message itself is never retrying: it stays accepted until a final state is reached.
An error code goes with every undelivered, not_sent and upstream_rejected message, and often with the other error states. See Errors for each code and whether sending again helps. For what each state costs, see Charges.