Mobile Originated Application Terminated (MOAT)
MOAT is one of the messaging modes available in SMSC for use cases such as mobile subscribers sending a message to an application short code, external application collecting feedback from mobile subscriber etc.
- When the sender composes and sends a SMS to a destination, MAP Mobile Originated Forward Short Message (MOFSM) is initiated from the serving MSC to the SMSC GT which is usually present in the subscriber SIM.
- On receiving MOFSM, SMSC performs various validations such as source number, destination number, SMS content analysis and on successful validation returns MOFSM acknowledgment. Sender will receive an acknowledgment on handset if enabled, indicating message is accepted by SMSC for delivery.
- SMSC on successful validation of the destination
short code, initiates a SMPP DELIVER_SM operation to mapped external application. On
successful acceptance external application responds with a positive DELIVER_SM
response acknowledgement. If the sender had requested for a DSR then the
same procedure for delivering a mobile terminated message is, then attempted by
SMSC to deliver the DSR as SMS.
Application Originated Application Terminated Message Flow
AOAT is the messaging mode for uses cases such as one application trying to route message to other application based on destination number range.
- External application bind to SMSC on SMPP protocol as transceiver submits a message using SUBMIT_SM operation to SMSC which includes info on source number, destination number, SMS content. SMSC on receiving the message and validation acknowledges with a SUBMIT_SM_RSP. A unique reference number allocated to the message is returned in this response. Later when SMSC generates Delivery Status Report (DSR), it will be referenced with same message ID.
- SMSC after validation, submits the message mapped to the destination external application through DELIVER_SM operation. On successful acceptance external application responds with a positive DELIVER_SM response acknowledgement.
- If the source application had requested a DSR for the message submitted , then SMSC generates a DSR through DELIVER_SM operation to the source application with the same message reference number which was sent in SUBMIT_SM_RSP