This documentation is for WSO2 Complex Event Processor 4.0.0. View documentation for the latest release.
WSO2 Complex Event Processor is succeeded by WSO2 Stream Processor. To view the latest documentation for WSO2 SP, see WSO2 Stream Processor Documentation.
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

SMS output event adapter is used to send message notifications via Short Message Peer-to-Peer Protocol (SMPP). It uses Axis2 SMS events 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 XML, text, and JSON output mappings. 


Before the configuration starts, follow the steps below to configure the SMS sender.

  1. Enable SMS Transport by adding following configuration under “Transport Senders” section in <PRODUCT_HOME>/repository/conf/axis2/axis2_client.xml file .

  2. Copy following libraries to <PRODUCT_HOME>/repository/components/lib/ directory.

Configuring output SMS event adapter

SMS output adapter requires following adapter configurations; 

Adapter Property
Possible Values

Phone No


Phone number of the SMS receiver.

eg: [country-code][number]

Other post configurations that use SMS event adapter

Follow the instructions below to set up and configure a SMSC Simulator  to receive messages. This guide uses Logica SMSC simulator.

  1. Navigate to SMSC Simulator directory. The folder must contain following 3 files
  2. Add the following name-value pairs to users.txt file. 

    Enter the value of the systemId parameter defined in the above SMS transport sender configuration as the value of the name parameter in the below list.

  3. Start SMSC Simulator by executing the following command:
    java -cp smpp.jar:smscsim.jar com.logica.smscsim.Simulator
  4. 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.)

    When the Starting listener... started log is displayed on the console, the SMSC simulator is ready to accept messages as shown below
  • No labels