User Guide

Table Of Contents
Handling incoming messages 1073
You can also set the following values in each outgoing message: source-ton, source-npi, source-
address, destination-ton, destination-npi, and service-type. The message field names differ from
the configuration file property names.
Handling incoming messages
The SMS event gateway handles messages that are contained in deliver_sm PDUs. These PDUs
request the gateway to deliver one of the following types of message:
A user- or application-generated text message
A message disposition response
Note: The SMS event gateway does not handle messages that are contained in data_sm PDUs.
The event gateway sends the object to event gateway services, which delivers it to the listener
CFC. The CFEvent object that the listener CFC receives contains the following fields:
ping-interval 60 Number of seconds between EnquireLink messages that
the event gateway sends to the server to verify the health
of the connection.
retries -1 (try forever) Number of times to retry connecting to the SMSC to send
a message before the gateway goes into a failed state. If
the gateway is in a failed state, the
getStatus method
returns FAILED, and theColdFusion MX Administrator
shows the gateway status as Failed. The gateway must be
restarted before it can be used.
retry-interval 10 Number of seconds between connection retries.
Field Value
CfcMethod Listener CFC method name
Data.dataCoding Character set or the noncharacter data type of the message contents
Data.destAddress Address to which the message was sent
Data.esmClass Message type
Data.MESSAGE Message contents
Data.messageLength Length of the MESSAGE field
Data.priority Message priority level, in the range 0-3
Data.protocol GSM protocol; not used for other networks
Data.registeredDelivery Requested type of delivery receipt or acknowledgement, if any
Data.sourceAddress Address of the device that sent this message
GatewayType Always SMS
OriginatorID Address of the device that sent the message
Property Default Description