How do I set up Kannel to use UCP-EMI?
To set up the Kannel gateway (
http://www.kannel.org) to use the
UCP-EMI 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 = emi
host = sms1.cardboardfish.com
port = 9002
smsc-username = USERNAME
smsc-password = PASSWORD
keepalive = 30
flow-control = 0
window = 10
The important fields are:
- host- this should be set to sms1.cardboardfish.com
- port- this should be set to either 9002 for ISO-8859-1 encoding or 8002 for GSM encoding
- smsc-username- set this to your assigned username
- smsc-password- set this to your assigned password
Please note that setting flow-control to 0 and window 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 at
http://www.kannel.org.