The SMS gateway puts the following information in a CFEvent instance that it sends to the CFC listener method:
Field | Value |
---|---|
OriginatorID |
Contents of the PDU |
CfcMethod |
Listener CFC method name. Value of the configuration file |
Data.MESSAGE |
Contents of the |
Data.sourceAddress |
The address of the device that sent this message. |
Data.destAddress |
The address to which the message was sent; an address in the range specified by the gateway configuration file |
Data.esmClass |
Contents of the PDU esm_class field. Identifies the message type. A number in the range 0-255 representing a Byte value, where bits 2-5 (0-indexed) indicate the message type, and therefore the contents of the data.MESSAGE field, as follows. (Reserved values are omitted.)
For more information on this field, see the SMPP specification. |
Data.protocol |
Contents of the PDU protocol_id field. Meaningful for messages sent from GSM networks only. For more information, see the GSM 03.40 specification. |
Data.priority |
Contents of the PDU priority_flag field. A message priority level set by the originating SME, in the range 0-3; 0 is the lowest priority and 3 is the highest priority. The specific priority level meaning depends on the originating network. For more details, see the SMPP specification. |
Data.registeredDelivery |
Contents of the PDU registered_delivery field, indicating the type of delivery receipt or acknowledgement that the sender requested. A number in the range 0-32, representing the sum of the following values: 0 No SMS delivery receipt requested or Plus 0 No SME acknowledgement requested or Plus 0 No Intermediate notification requested or |
Data.DataCoding |
Contents of the PDU data_coding field. Indicates the character set or the noncharacter data type of the message contents, as follows:
For more details, see the SMPP specification. |
data.messageLength |
The length of the short_message field. |
GatewayType |
Always SMS. |
For more information on the meanings of some of these fields and how to handle incoming SMS messages an SMS gateway listener CFC method, see Handling incoming messages in Using the SMS Event Gateway in ColdFusion MX Developer's Guide.