User Guide

Table Of Contents
ColdFusion MX SMS development tools 1081
SMS test server
The CColdFusion MX SMS test server is a lightweight SMSC simulator that listens on TCP/IP
port 7901 for SMPP connection requests from other SMS resources, such as ColdFusion MX
SMS gateways or the SMS client simulator. The resource supplies a user name, password, and
telephone number (address). The user name and password must correspond to a name and
password in the simulators configuration file (described later in this section).
After the SMS test server establishes a connection, it listens for incoming messages and forwards
them to the specified destination address, if the destination address also corresponds to an existing
SMPP connection.
The SMS test server lets you develop SMS applications without having to use an external SMSC
supplier such as a telecommunications provider. The server supports the ColdFusion SMS
gateway
submit and submitMulti commands. It also accepts, but does not deliver messages sent
using the SMS gateway
data command. It does not include any store and forward capabilities.
Start the SMS test server by clicking the Start SMS Test Server button on the Settings page in the
Event Gateways area in the ColdFusion MX Administrator.
Note: The SMS test server does not automatically restart when you restart ColdFusion MX. You
must manually restart the server if you restart ColdFusion MX.
The SMS test server reads the cf_root\WEB-INF\cfusion\lib\sms-test-users.txt file on J2EE
configurations or cf_root\lib\sms-test-users.txt file on server configurations to get valid user names
and passwords. ColdFusion MX includes a version of this file configured with several names and
passwords. One valid combination is user name cf and password cf. You can edit this file to add or
delete entries. The file must include a name and password entry for each user that will connect to
the test server, and user entries must be separated by blank lines, as the following example shows:
name=cf
password=cf
name=user1
password=user1
SMS client simulator
The ColdFusion SMS client simulator is a simple External Short Message Entity (ESME) that
simulates a (limited-function) mobile phone. It can connect to the SMS test server and exchange
messages with it.
Note: On UNIX and Linux systems, the client simulator requires X-Windows.
Use the following procedure to use the simulator.