Search code examples
phplinuxsmskannel

Blank SMS from Kannel


I am sending an SMS from my web application in my laptop to a phone. The problem is that the SMS is always blank. Could anyone know what may be wrong. Below is the url I use to pass the variables to kannel(username,password and telephone number have been eXd for obvious reasons). I can receive the sms. But its always blank

http://localhost:13013/cgi-bin/sendsms?username=xxxxx&password=xxxxx&to=+254xxxxxxxxx&test=message

Solution

  • Your URL uses the key test where it should use text.

    Try the following:

    http://localhost:13013/cgi-bin/sendsms?username=xxxxx&password=xxxxx&to=+254xxxxxxxxx&text=message
    

    Reference: Kennel manual