Thanks Heru, Stipe and Rene, I was using port 13000 instead of 13013 and also was trying to send message as Stipe says, using http in a bash shell. I'll blame fatigue for that. Configs as Heru suggested.
(kannel.conf) ############## ## Kannel.conf ############## ## Core ####### group = core admin-port = 13000 smsbox-port = 13001 admin-password = 123456 status-password = 123456 # white-list = "http://127.0.0.1/white-list.txt" # black-list = "http://127.0.0.1/black-list.txt" store-file = "/etc/kannel/kannel.store" log-file = "/var/log/kannel/kannel.log" log-level = 0 box-allow-ip = "127.0.0.1" ## Includes ########### include = /etc/kannel/modems.conf include = /etc/kannel/smsbox.conf ## SMSC configuration ##################### group = smsc smsc = at smsc-id = gsmtc35 modemtype = auto device = /dev/ttyS1 pin = 0000 my-number = 0423144234 validityperiod = 167 # keepalive = 100 # sms-center = sim-buffering = true # max-error-count = (smsbox.conf) ## ## SMSBox configuration ## group = smsbox bearerbox-host = localhost # smsbox-port = 13001 sendsms-port = 13013 sendsms-chars = "0123456789 +-" log-file = "/var/log/kannel/smsbox.log" log-level = 0 # unified-prefix = "00358,0" # white-list = "http://127.0.0.1/white-list.txt" # black-list = "http://127.0.0.1/black-list.txt" # store-file = "/etc/kannel/kannel.store" # sendsms-port-ssl = false # global-sender = 04******** ## SMS Service ############## group = sms-service keyword = default text = "No action specified" ## SEND-SMS Users ################# group = sendsms-user username = kannel password = 123456 # user-deny-ip = "" # user-allow-ip = "" (modems.conf) ## ## Modem configuration ## group = modems id = siemens_tc35 name = "Siemens TC35" detect-string = "SIEMENS" detect-string2 = "35" init-string = "AT+CNMI=1,2,0,0,1" speed = 19200 enable-hwhs = "AT\\Q3" need-sleep = true # no-pin = true # no-smsc = true # sendline-sleep = 100 # keepalive-cmd = "AT" # broken = true # message-storage = "SM" # enable-mms = false ... verify Kannel running: lynx -dump "http://localhost:13000/status?password=123456" => Status: running, uptime 0d 0h 50m 47s ... send message as per Rene's suggestion: lynx -dump "http://localhost:13013/cgi-bin/sendsms?username=kannel&password=123456&to=0409023615&text=Hello+world" => Sender missing and no global set, rejected In regard to the actual cmd: http://smsbox.host.name:13013/cgi-bin/sendsms?username=foo&password=bar&to=0123456&text=Hello+world Does 'smsbox.host.name' mean 'smsbox.speakymunky' or 'smsbox.speakymunky.inthe.jungle' or 'speakymunky' or 'localhost' ? regards, nui_2_gui -- [EMAIL PROTECTED] -- http://www.fastmail.fm - Email service worth paying for. Try it for free
