SMS output event adapter is used to send message notifications via Short Message Peer-to-Peer Protocol (SMPP). It uses Axis2 SMS e when sending SMSs from WSO2 products. SMPP allows Axis2 to connect to a Short Messaging Service Center (SMSC) and send/receive SMSs. SMS event adapter can be configured with
Before the configuration starts, follow the steps below to configure the SMS sender.
Enable SMS Transport by adding following configuration under “Transport Senders” section in
Copy following libraries to
Configuring output SMS event adapter
SMS output adapter requires following adapter configurations;
Phone number of the SMS receiver.
Other post configurations that use SMS event adapter
Enter the value of the systemId
parameter defined in the above SMS transport sender configuration as the value of the nameparameter in the below list.
- Start SMSC Simulator by executing the following command:
java -cp smpp.jar:smscsim.jar com.logica.smscsim.Simulator
- In the console where the command runs:
- Enter 1 for the prompt to start simulation.
Enter 2775 as the port number (this port is equal to the port defined in the SMS transport sender configuration.)
Starting listener... startedlog is displayed on the console, the SMSC simulator is ready to accept messages as shown below.