Kannel PlaySMS configarations



Have you setup Kannel as a gateway in PlaySMS?

Setup Kannel as a gateway:

  • Login as admin to PlaySMS
  • Click Gateway > Manage KAnnel
  • Enter your username (playsms) and the IP address of the server with Kannel installed. If Kannel is installed on the same server as PlaySMS enter "localhost"
  • Enter the Send SMS port (from your kannel.conf file in the section called "smsbox" where it says "sendsms-port")
  • Enter playSMS web URL (probably http://localhost/playsms)

Make sure you have an entry in your kannel.conf for playsms to connect, something like this should work:

group = sendsms-user
username = playsms
password = playsms
user-deny-ip = "*.*.*.*"
user-allow-ip = "<<see note below>>"

Please note that you should either enter the IP address of the server that PlaySMS is installed on under "user-allow-ip" OR enter "localhost" as the IP if the server is the same for both playSMS and Kannel.

Don't forget to stop and start kannel to reload the configuration file.


Setup Kannel as a gateway:


Login as admin to PlaySMS.

Click Gateway > Manage KAnnel.

Enter your username (playsms) and the IP address of the server with Kannel installed. If Kannel is installed on the same server as PlaySMS enter "localhost"

Enter the Send SMS port (from your kannel.