Skip to main content

What happens if an SMS fails to be delivered?

SMS are retried on an event-based and time-based cadence.

Written by Jakub Kubinski

Environment

  • SMS

  • Onomondo Core Network: SMS Center (SMSC)

  • Onomondo app: SMS

  • Onomondo API: POST SMS

Question

  • What happens if an SMS fails to be delivered?

  • What happens if an SMS is not successfully delivered?

  • How many times does Onomondo retry an SMS if failed to deliver?

  • What is the retrial period for every SMS sent through Onomondo?

  • What's the retry logic for failed SMS?

Answer

When SMS fails to be delivered:

  1. The SMS will be retried as soon as the device shows signs of activity. This can be either:

    1. GSM attach event, seen as: "Attached GSM connection" in the Network Logs, and updateLocation in Signaling Logs, or

    2. Ready-for-SMS notification, sent from the local operator's Mobile Switching Center (MSC) to Onomondo, seen as readyForSM in Signaling Logs.
      ​

  2. If neither of the above events occurs, the SMS will be retried on a timed schedule, depending on the error code returned.

    • For example, if the SMS failed due to absentSubscriber error, Onomondo will retry it for the first time after 2 hours.

    • The retry interval increases exponentially, i.e. 2 hours, 4 hours, 8 hours, etc.

Following the above, the SMS will be retried up to 100 times or 48 hours, whichever comes first.

💡 If you want to learn more about SMS errors, see:

Cause

The combined retry logic ensures faster and more reliable SMS delivery.

Since SMS is delivered over the circuit-switched side of the network (GSM), the event-based logic does not factor in events related to packet-switched activity, e.g. data sessions.

Did this answer your question?