Nexmo Forums/SMPP/FAQ SMPP API

How can I configure my Kannel with Nexmo SMPP API?

Nexmo Support
posted this on April 19, 2011 11:07

Compatibility : kannel version 1.4.3 or greater

This Kannel configuration template will allow to access our SMS API in less than 30 seconds.

Replace $nexmo_user and $nexmo_password by your existing nexmo SMPP credentials and restart your Kannel.

You are  now ready to send a test message from your local Kannel server !!!

Ex:

http://localhost:13013/cgi-bin/sendsms?username=username&password=pwd&to=%2B33XXXXXXX&text=Hello%20World&from=test&charset=ISO-8859-1&dlr-mask=17

 

Remark : For security reason , the Kannel conf only allow access from localhost . In order to allow a new machine IP  please add edit  the following  configuration lines.

 

Example with 2 IP X.X.X.X and Y.Y.Y.Y:

admin-allow-ip = "127.0.0.1;X.X.X.X;Y.Y.Y.Y"
...
box-allow-ip = "127.0.0.1;X.X.X.X;Y.Y.Y.Y"
...
user-allow-ip = "127.0.0.1;X.X.X.X;Y.Y.Y.Y"

 

 

Kannel can be downloaded here