I wrote a mail a while back regarding using the R520m as SMSC. I am using Debian woody and have tried now 3 versions of kannel with same error. Attached are my conf files which are mostly put together from posts of people who have it working.
When I send an SMS to the phone connected to /dev/ttyS0 the phone receives it not kannel and when I sent a message via HTTP I get the error below. Is there perhaps an installation mailing list, since I did not get a reply on this before perhaps I sent to wrong list? If so I apologize.
Thanks in advance for your help.
TimS
2003-03-13 11:18:42 [0] DEBUG: Kannel smsbox version 1.3.1 starting 2003-03-13 11:18:42 [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread ) 2003-03-13 11:18:42 [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread) 2003-03-13 11:18:42 [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread) 2003-03-13 11:18:42 [0] INFO: Connected to bearerbox at localhost port 13001. 2003-03-13 11:18:42 [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'. 2003-03-13 11:18:42 [0] DEBUG: Started thread 7 (gw/heartbeat.c:heartbeat_thread ) 2003-03-13 11:24:06 [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'. 2003-03-13 11:24:06 [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from < 127.0.0.1> 2003-03-13 11:24:06 [3] INFO: sendsms used by <test> 2003-03-13 11:24:06 [3] INFO: sendsms sender:<test:2010****> (127.0.0.1) to:<012 2243465> msg:<Hello world> 2003-03-13 11:24:06 [3] DEBUG: message length 11, sending 1 messages 2003-03-13 11:24:06 [3] DEBUG: Status: 202 Answer: <Sent.> 2003-03-13 11:24:06 [3] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'. 2003-03-13 11:24:06 [1] DEBUG: HTTP: Destroying HTTPClient area 0x80b23b0. 2003-03-13 11:24:06 [1] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'. 2003-03-13 11:24:06 [0] INFO: Connection closed by the bearerbox 2003-03-13 11:24:06 [0] INFO: Received (and handled?) 0 requests in 324 seconds (0.00 per second) 2003-03-13 11:24:06 [0] INFO: Kannel smsbox terminating. 2003-03-13 11:24:06 [7] DEBUG: Thread 7 (gw/heartbeat.c:heartbeat_thread) termin ates. 2003-03-13 11:24:06 [0] DEBUG: Waiting for 2 (gwlib/http.c:server_thread) to ter minate 2003-03-13 11:24:06 [3] DEBUG: HTTP: No clients with requests, quitting. 2003-03-13 11:24:06 [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) terminates. 2003-03-13 11:24:06 [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) terminates. 2003-03-13 11:24:06 [1] WARNING: Destroying fdset with 1 active entries. 2003-03-13 11:24:06 [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) terminates. 2003-03-13 11:24:06 [0] DEBUG: Waiting for 4 (gw/smsbox.c:obey_request_thread) t o terminate 2003-03-13 11:24:06 [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) termin ates. 2003-03-13 11:24:06 [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) terminat es. 2003-03-13 11:24:06 [0] DEBUG: Waiting for 5 (gw/smsbox.c:url_result_thread) to terminate 2003-03-13 11:24:06 [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) terminat es. 2003-03-13 11:24:06 [0] DEBUG: Immutable octet strings: 235.
group = core admin-port = 13000 admin-password = f00bar #status-password = sTat admin-deny-ip = "*.*.*.*" admin-allow-ip = "127.0.0.1" smsbox-port = 13001 #wapbox-port = 13004 #box-deny-ip = "*.*.*.*" box-allow-ip = "*.*.*.*" #box-allow-ip = "127.0.0.1" wdp-interface-name = "*" log-file = "kannel.log" log-level = 1 #access-log = "kannel.access" unified-prefix = "+20,0020,0;+,00" #white-list = "http://localhost/whitelist.txt"
group = smsbox bearerbox-host = localhost
# THIS IS A SAMPLE CONFIGURATION FOR SMS KANNEL # # It is run like this: # # 1% gw/bearerbox gw/smskannel.conf # 2% gw/smsbox gw/smskannel.conf # 3% test/fakesmsc -p 10000 -H localhost -i 1 -m 100 "123 345 text nop" # # ..all 3 commands in separate shells (or screen sessions) # # For any modifications to this file, see Kannel User Guide # If that does not help, send email to [EMAIL PROTECTED] # # Kalle Marjola May 2000 # Changed for new fakesmsc version by Uoti Urpala Jan 2001 # Added service and sendsms for HTTP SMSC by Kalle Marjola Mar 2001 # group = core admin-port = 13000 smsbox-port = 13001 admin-password = spybar #status-password = foo admin-deny-ip = "*.*.*.*" admin-allow-ip = "127.0.0.1" #admin-deny-ip = "" #admin-allow-ip = "" #log-file = "/tmp/kannel.log" #log-level = 0 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" #unified-prefix = "+20,0020,0;+,00" #access-log = "access.log" #store-file = "kannel.store" #ssl-certkey-file = "mycertandprivkeyfile.pem" # SMSC CONNECTIONS #group = smsc #smsc = fake #smsc-id = FAKE #port = 10000 #connect-allow-ip = 127.0.0.1 # SMSC CONNECTIONS FOR ERICSSON T28 group = smsc smsc = at2 modemtype = ericsson_r520m device = /dev/ttyS0 speed = 9600 keepalive = 10 sim-buffering = true #pin = 1515 include = modems.conf # SMSC CONNECTIONS FOR ERICSSON T28 #group = smsc #smsc = at2 #modemtype = ericsson_t28 #device = /dev/ttyS0 #speed = 9600 #keepalive = 10 #sim-buffering = true #pin = 1915 #include = modems.conf # SMSC CONNECTIONS FOR ERICSSON T68 #group = smsc #smsc = at2 #modemtype = ericsson_t68 #device = /dev/ttyS0 #speed = 9600 #keepalive = 10 #sim-buffering = true #pin = 1915 #include = /home/tobiash/kannel/gateway-1.2.0/doc/modems.conf # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13001 global-sender = +20122243465 #sendsms-chars = "0123456789 +-" #log-file = "/tmp/smsbox.log" #log-level = 0 #access-log = "access.log" # SEND-SMS USERS group = sendsms-user username = test password = test #user-deny-ip = "*.*.*.*" user-allow-ip = "127.0.0.1" #user-deny-ip = "" #user-allow-ip = "" # this sender is for Kannel relay testing (http_smsc) group = sendsms-user username = kannel password = rL4y user-deny-ip = "*.*.*.*" user-allow-ip = "127.0.0.1" # SERVICES group = sms-service keyword = nop text = "You asked nothing and I did it!" # this service is for Kannel relay testing, when this Kannel # works as relay gateway group = sms-service keyword = relay get-url = "http://localhost:15130/sms?user=kannel&pass=rL4y&from=%p&to=%P&text=%r"; max-messages = 0 group = sms-service keyword = default text = "No service specified"
