Share via


Processing Messages

The SMS message header is interpreted in accordance with the particular message type. Each SMS Provider is queried to determine whether the SMS message header information corresponds to the queried provider, and then delivers the message to the first provider that accepts the header information. The SMS Providers are listed in the registry in a hierarchical order. Specific SMS Providers should be queried before general ones.

The SMS Provider that accepts the incoming message performs the following steps to process the message:

  1. Interprets the SMS message header
  2. Delivers the message to the subscribing application (this is provider specific)
  3. Removes the message from the SMS Store

If the incoming message is a multipart message, the corresponding SMS Provider begins reassembling the message when the last part of the multipart message arrives in the SMS Store. The corresponding SMS Provider uses the SMS Router Toolkit to reassemble the message.

After the SMS Provider performs all of the necessary operations to interpret an SMS message, the SMS Provider sends an arrival message to the registered application by using a Microsoft Win32® event handle. If the registered application is not active, the SMS Router invokes it to deliver the message. The application then queries the SMS Router by using the SMS Proxy to retrieve the message.

When an application sends an SMS message through SMS Proxy, the message is first sent to the SMS Provider. The SMS Provider codes and fragments the message as necessary according to the provider-specific SMS coding scheme. The message is then sent to SMS Proxy and from there it is sent as a query to SMS Router.

See Also

Short Message Service

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.