Hui Jarl,

Jarl Cornell wrote:

My main problem is that I'm not sure how to send a message, in the documentation it says to use the http commands:
/http://smsbox.host.name:13013/cgi-bin/sendsms//?
username=foo&password=bar&to=0123456&text=Hello+world/
I've tried exchanging host.name with both jarl, 127.0.0.1, localhost and 192.168.0.10 however it still doesn't want to work, it returns: "smsbox.localhost" (or any of the others above) "could not be found"

"smsbox.host.name" <-- the 'smsbox' in here has nothing to do with the smsbox of kannel! It stands for something like www.web.de or webserver.cia.org. The program to send sms "sendsms" is called later in the URL-string



So this "smsbox.localhost" doesn't make sense. Exchange the full "smsbox.host.name" to "localhost" (only if you're running from localhost of course!) or the IP-Address (more safe, works always) of your machine, e.g.


http://192.168.4.3:13013/cgi-bin/sendsms?
username=foo&password=bar&to=0123456&text=Hello+world

and check in kannel.conf the sendsmsport and the username/password of your sendsms-user.

Hope that helps.

Lars-hendrik





Reply via email to