-
Notifications
You must be signed in to change notification settings - Fork 15
SMPP Server Connector
germanescobar edited this page Mar 2, 2013
·
3 revisions
Allows SMPP clients to connect, send and receive messages. It basically acts as an SMSC.
A simple XML configuration of the SMPP Server Connector looks like this:
<connectors xmlns="http://mokai.googlecode.com/connectors"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://mokai.googlecode.com/connectors http://mokai.googlecode.com/svn/schema/connectors-0.5.xsd">
<connector id="smsc-1" priority="1000" className="org.mokai.connector.smpp.SmppServerConnector">
<configuration>
<property name="port">4444</property>
<mapProperty name="users">
<item key="systemId-1" value="password-1" />
<item key="systemId-2" value="password-2" />
</mapProperty>
</configuration>
<acceptors>
<acceptor className="org.mokai.acceptor.AcceptAllAcceptor" />
</acceptors>
</connector>
</connectors>| Property | Default | Description |
|---|---|---|
| port | 4444 | The port in which the SMPP Server is going to listen |
| users | A map of users (systemId/password) that are allowed to connect as clients. |