Dear All, I just spend some good 10 hours or so googling around for the following problem but to no avail.
I have Kannel 1.4.1 on Ubuntu intrepid (8.10). I am able to send SMS from PHP and Kannel is able to receive SMS as shown in log files. But it looks like get-url is not firing for posting incoming SMS to my application. There is no attempt to open the URL stated in get-url. The following are my confs and logs Messages are comming in: r...@marimopc:~# tail /var/log/kannel/access.log 2009-03-24 00:38:01 Log begins 2009-03-24 00:38:37 Receive SMS [SMSC:WAVE] [SVC:] [ACT:] [BINF:] [from:+26771578140] [to:71000000] [flags:-1:0:-1:0:-1] [msg:16:Test send kannel] [udh:0:] 2009-03-24 00:48:37 Log ends 2009-03-24 01:04:20 Log begins 2009-03-24 01:04:55 Receive SMS [SMSC:WAVE] [SVC:] [ACT:] [BINF:] [from:+26771578140] [to:71000000] [flags:-1:0:-1:0:-1] [msg:24:default Test send kannel] [udh:0:] 2009-03-24 01:06:56 Log ends 2009-03-24 01:20:07 Log begins 2009-03-24 01:20:42 Receive SMS [SMSC:WAVE] [SVC:] [ACT:] [BINF:] [from:+26771578140] [to:71000000] [flags:-1:0:-1:0:-1] [msg:24:default Test send kannel] [udh:0:] 2009-03-24 01:49:28 Log begins 2009-03-24 01:50:08 Receive SMS [SMSC:WAVE] [SVC:] [ACT:] [BINF:] [from:+26771578140] [to:71000000] [flags:-1:0:-1:0:-1] [msg:24:default Test send kannel] [udh:0:] kannel.conf r...@marimopc:~# vi /etc/kannel/kannel.conf # # Sample configuration file for Kannel bearerbox on Debian. # See the documentation for explanations of fields. # # HTTP administration is disabled by default. Make sure you set the # password if you enable it. group = core admin-port = 13000 smsbox-port = 13001 admin-password = ***** #admin-deny-ip = "*.*.*.*" admin-allow-ip = "192.168.1.*" wapbox-port = 13002 wdp-interface-name = "*" log-file = "/var/log/kannel/bearerbox.log" log-level = 0 access-log = "/var/log/kannel/access.log" box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" group = smsc smsc = at smsc-id=WAVE modemtype = auto device = /dev/ttyS0 speed = 115200 keepalive = 60 connect-allow-ip="192.168.1.*" my-number="71000000" log-level=0 sms-center = +26772000003 sim-buffering = true #The MODEM group configuration group = modems id = wavecom name = Wavecom speed = 115200 no-pin = true init-string = "AT+CNMI=1,2,0,1,0;+CMEE=1" detect-string = "WAVECOM" detect-string2 = "MODEM" #The SMSBOX configuration group = smsbox smsbox-id = boxSMS bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = 72000000 log-level=0 log-file = "/var/log/kannel/smsbox.log" group = sendsms-user username = kanneluser password = ***** concatenation= true max-messages = 10 group = smsbox-route smsbox-id = boxSMS group = sms-service keyword = default catch-all = true max-messages = 1 get-url = "http://192.168.1.11/botsit/sms/process.php?phone=%P&text=%a" strip-keyword = true accept-x-kannel-headers = true group = wapbox log-file = "/var/log/kannel/wapbox.log" ------------------------------------ r...@marimopc:~# tail /var/log/kannel/bearerbox.log.1 2009-03-24 01:55:49 [4838] [0] ERROR: System error 13: Permission denied 2009-03-24 01:55:49 [4838] [0] INFO: HTTP: Opening server at port 13000. 2009-03-24 01:55:49 [4838] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 4838. 2009-03-24 01:55:49 [4838] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2009-03-24 01:55:49 [4838] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 4838. 2009-03-24 01:55:49 [4838] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2009-03-24 01:55:49 [4838] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 4838. 2009-03-24 01:55:49 [4838] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2009-03-24 01:55:49 [4838] [0] DEBUG: starting smsbox connection module 2009-03-24 01:55:49 [4838] [0] INFO: BOXC: 'smsbox-max-pendingr...@marimopc:~# -------------------------------------------------- r...@marimopc:~# tail /var/log/kannel/smsbox.log 2009-03-24 02:00:56 [6256] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread) 2009-03-24 02:00:56 [6256] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) maps to pid 6256. 2009-03-24 02:00:56 [6256] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread) 2009-03-24 02:00:56 [6256] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) maps to pid 6256. 2009-03-24 02:00:56 [6256] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread) 2009-03-24 02:00:56 [6256] [0] INFO: Connected to bearerbox at 127.0.0.1 port 13001. 2009-03-24 02:00:56 [6256] [7] DEBUG: Thread 7 (gw/heartbeat.c:heartbeat_thread) maps to pid 6256. 2009-03-24 02:00:56 [6256] [0] DEBUG: Started thread 7 (gw/heartbeat.c:heartbeat_thread) Thanks in advance Regards, Moses
