Advanced Workflow (With Delivery Confirmation)

In this workflow Middleware will attempt to deliver messages to the Backend and will notify OFSC of the message processing result afterwards.

The Advanced workflow keeps OFSC in control of the message processing even after the message was received by Middleware (and up to the moment it is actually processed). This workflow is optimal for the integrations where message delivery takes significant time, for example, integration with IVRs. OFSC can generate hundreds of messages but their processing is limited by the number of voice channels available and the call duration.

Advanced workflow:
  • OFSC sends a 'send_message' request to Middleware

  • The Middleware response contains non-final message status 'sending' or final status 'failed'

  • If 'failed' was returned, then the processing is finished, otherwise:

  • OFSC will wait for some time expecting to receive the 'set_message_status' request from Middleware

  • Middleware should send a 'set_message_status' request notifying OFSC of the result of processing. It should set the final status: 'delivered', 'failed', or 'sent'.