How do I set up Kannel to use SMPP?
To set up the
Kannel gateway (
http://www.kannel.org) to use the
SMPP service you should add the appropriate connection information into the configuration file (check the Kannel documentation for more information). A sample configuration file might look like:
Example
smsc = smpp
host = sms1.cardboardfish.com
port = 9000
transceiver-mode = yes
alt-charset = ISO-8859-1 (NB if not included, you must use port 8000)
smsc-username = USERNAME
smsc-password = PASSWORD
system-type = ""
address-range = ""
maximum-pending-submits = 10
Please note that our implementation ignores system-type, auth-ton, service-type and auth-npi-range values.
The important fields are:
- host- this should be set to sms1.cardboardfish.com
- port- this should be set to either 9000 for ISO-8859-1 encoding or 8000 for GSM encoding
- smsc-username- set this to your assigned username
- smsc-password- set this to your assigned password
Please note that setting maximum-pending-submits to 10 will give you increased throughput by enabling up to 10 pending operations.
For more information on configuring
Kannel, please consult the
Kannel documentation available
here.