Dear all, I'm using Kannel as an SMS gateway to send and receive SMS messages. I have downloaded, installed, and configured Kannel according to the document guided. I can send an SMS by typing http://localhost:13013/cgi-bin/sendsms?username=tester&password=foobar&from="85516575511"&to="85516635262"&text=Testing in a browser. However, when I sent an SMS from a mobile phone to the modem, I got an error as in below log. I think I have problem in configuring the parameter get-url in the sms-service section. Which url should I set for this parameter?
I'm using Kannel 1.4.3 installed on Ubuntu 10.04 LTS. I use a wavecom modem whose model is WAVECOM FASTRACK type DUAL BRANCH MODEM connected to kannel via serial port. Should you need further information, please let me know. I'm really thankful for your help. Below is the log of smsbox when I tried to send an SMS to the modem. samb...@ubuntu:~/kannel$ smsbox -v 1 kannel.conf 2010-10-12 14:19:13 [2093] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0 2010-10-12 14:19:13 [2093] [0] INFO: Starting to log to file /tmp/smsbox.log level 0 2010-10-12 14:19:13 [2093] [0] INFO: Added logfile `/tmp/smsbox.log' with level `0'. 2010-10-12 14:19:13 [2093] [0] INFO: Logging accesses to '/home/sambath/kannel/access.log'. 2010-10-12 14:19:13 [2093] [0] INFO: Started access logfile `/home/sambath/kannel/access.log'. 2010-10-12 14:19:13 [2093] [0] INFO: HTTP: Opening server at port 13013. 2010-10-12 14:19:13 [2093] [0] INFO: Set up send sms service at port 13013 2010-10-12 14:19:13 [2093] [0] INFO: Connected to bearerbox at localhost port 13001. 2010-10-12 14:19:41 [2093] [4] INFO: Starting to service <Abc> from <+85516635262> to <1234> 2010-10-12 14:19:41 [2093] [8] ERROR: Couldn't fetch <http://localhost/sms?phone=%2B85516635262&text=Abc> 2010-10-12 14:19:41 [2093] [5] INFO: No reply sent, denied. This is my kannel.conf group = core admin-port = 13000 admin-password = bar smsbox-port = 13001 smsbox-port-ssl = false log-file = "/tmp/kannel.log" log-level = 0 access-log = "/home/sambath/kannel/access.log" access-log-clean = true # SMSC GSM group = smsc smsc = at smsc-id = abc modemtype = wavecom device = /dev/ttyUSB0 pin = 0000 alt-charset = "ASCII" group = modems id = wavecom name = "wavecom" detect-string = "wavecom" message-storage = sm speed = 115200 # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13013 sendsms-chars = "0123456789 +-" log-file = "/tmp/smsbox.log" #log-level = 0 access-log = "/home/sambath/kannel/access.log" mo-recode = true # SEND-SMS USERS group = sendsms-user username = tester password = foobar # SMS SERVICES group = sms-service #name = nothing keyword = get-url = "http://localhost/sms?phone=%p&text=%a" catch-all = yes max-messages = 0 -- View this message in context: http://old.nabble.com/Error-in-Receiving-SMS-tp29940998p29940998.html Sent from the Kannel - User mailing list archive at Nabble.com.
