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&am开发者_如何学Cp;test=message
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
I'm guessing you need text=message
rather than test=message
精彩评论