开发者

Blank SMS from Kannel

开发者 https://www.devze.com 2023-02-06 17:11 出处:网络
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 k

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

0

精彩评论

暂无评论...
验证码 换一张
取 消