User Guide

Table Of Contents
1074 Chapter 44: Using the SMS Event Gateway
For a detailed description of each field, see “SMS Gateway incoming message CFEvent structure
in CFML Reference.
The CFC’s listener method extracts the message from the Arguments.CFEvent.Data.MESSAGE
field and acts on it as appropriate for the application. If necessary, the listener can use two fields to
determine the required action:
CFEvent.Data.esmClass indicates the type of information in the MESSAGE field.
CFEvent.Data.registeredDelivery indicates whether the sender requested any type of delivery
receipt or acknowledgement.
CFEvent.Data.esmClass field
The CFEvent.Data.esmClass field identifies whether the CFEvent.Data.Message field contains a
message, or any of the following types of message disposition responses. For these responses, the
CFEvent object Data.MESSAGE field contains the acknowledgment or receipt information.
SMSC Delivery Receipt An indication of the messages final status, sent by the SMSC. The
short message text includes the message ID of the original message, the number of messages sent
and delivered (for messages sent to a distribution list), the date and time that the message was sent
and delivered or otherwise disposed of, the message disposition, a network-specific error code (if
available), and the first 20 bytes of the message. For details of the SMSC delivery receipt message
structure, see Appendix B of the SMS 3.4 specification.
SME Delivery Acknowledgement An indication from the recipient device that the user has
read the short message. Supported by TDMA and CDMA wireless networks only.
SME Manual/User Acknowledgement An application-generated reply message sent in
response to an application request message. Supported by TDMA and CDMA wireless networks
only.
Intermediate Delivery Notification A provider-specific notification on the status of a message
that has not yet been delivered, sent during the SMSC retry lifetime for the message. Intermediate
Notification support depends on the SMSC implementation and SMSC service provider. For
more information, see your provider documentation.
When you send a message, you can request any combination of message disposition responses in
the outgoing messages
registered_delivery parameter. If your application requests responses,
the listener CFC must be prepared to handle these messages, as appropriate.
CFEvent.Data.registeredDelivery field
The CFEvent.Data.registeredDelivery field indicates whether the message sender has requested a
receipt or acknowledgment. Your application can respond to a request for an SME Delivery
Acknowledgement or an SME Manual/User Acknowledgement. (The other notification types are
sent by the SMSC only.) For more information on these notification types, see the SMS 3.4
specification. Appendix B contains detailed information on the information that you must put in
the shortMessage field of the returned acknowledgment message.