Life Cycle of SMS Delivery

When sending out a SMS within Opentact, it goes through a live cycle with the following steps:

  1. SMS Request Received

  2. SMS Request Queued

  3. SMS Delivered

  4. SMS DLR Received

SMS Request Received

When a SMS is received, Opentact will check several things to determine if this SMS request is value:

  • Does the account has the credit balance?

  • Is the user allowed to send to the requested country?

If the account is not allowed to send the requested SMS, the following Error Code and Error Clause will be returned:

Condition

Error Code

Error Clause

Insufficient Balance

405

Insufficient Balance

Country Permission Violation

406

Country Permission Violation

If the SMS requested is allowed, then the SMS will be sent to SMSC Queuing.

SMS Request Queued

SMS request will be queued in Opentact's SMSC engine. In normal cases, there is no congestion, and SMS will be released immediately out of the queue and going to the next step.

In the extreme case when the Opentact's SMSC Queue is heavily congested, SMS that is remained in queue for more than XX minutes will be dropped and a Queuing Timeout Event will be sent out.

SMS Delivered

When Opentact's SMSC engine deliver SMS to the downstream provider, a SMS Delivered event will be sent out. This is also when the user's account will be deducted.

DLR Received

When Opentact received DLR from downstream provider, Opentact will generate a DLR Received Events and this events will show the details of the SMS delivery status.

Last updated