I am trying to setup kannel 1.3.1 with Nokia 8210. My main intension is to receieve sms, porcess these massages by manipulating their text and save it to a database so that i can resend them to a list of users a later point of time.
Please some body help me to get me going with this.
When i start the bearerbox, i get the following error:
2003-09-16 10:49:43 [0] INFO: Added logfile `/kannel/logs/kannel1.3.1.log' with level `0'.
2003-09-16 10:49:43 [0] INFO: Started access logfile `/kannel/logs/access1.3.1.log'.
2003-09-16 10:49:43 [0] DEBUG: Started thread 1 (gw/bb_store.c:store_cleanup)
2003-09-16 10:49:43 [0] DEBUG: HTTP: Opening server at port 13000.
2003-09-16 10:49:43 [0] DEBUG: Started thread 2 (gwlib/fdset.c:poller)
2003-09-16 10:49:43 [0] DEBUG: Started thread 3 (gwlib/http.c:server_thread)
2003-09-16 10:49:43 [0] DEBUG: Started thread 4 (gw/bb_http.c:httpadmin_run)
2003-09-16 10:49:43 [0] DEBUG: starting smsbox connection module
2003-09-16 10:49:43 [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run)
2003-09-16 10:49:43 [0] DEBUG: Started thread 6 (gw/smsc/smsc_fake.c:fake_listener)
2003-09-16 10:49:44 [0] DEBUG: AT: Command: AT
2003-09-16 10:49:46 [0] DEBUG: Read from modem: ''
2003-09-16 10:49:46 [0] DEBUG: AT: Command: AT&F
2003-09-16 10:49:48 [0] DEBUG: Read from modem: ''
2003-09-16 10:49:48 [0] DEBUG: AT: Command: AT
2003-09-16 10:49:50 [0] DEBUG: Read from modem: ''
2003-09-16 10:49:50 [0] DEBUG: AT: Command: ATE0
2003-09-16 10:49:52 [0] DEBUG: Read from modem: ''
2003-09-16 10:49:52 [0] ERROR: Failed to create Smsc wrapper
2003-09-16 10:49:52 [0] PANIC: Cannot start with SMSC connection failing
The conf file content that i am using looks like:
# CORE CONFIGURATION
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
log-file = "/kannel/logs/kannel1.3.1.log"
access-log = "/kannel/logs/access1.3.1.log"
store-file = "/kannel/logs/kannel1.3.1.store"
log-level = 0
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1;x.x.x.x"
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1;x.x.x.x"
unified-prefix = "009198,9198"
# dlr-storage = mysql
#ssl-certkey-file = "mycertandprivkeyfile.pem"
# FAKE SMSC CONNECTIONS
group = smsc
smsc = fake
smsc-id = FAKE
port = 10000
connect-allow-ip = "127.0.0.1;192.168.0.*"
# SMSC CONNECTIONS
group = smsc smsc = at smsc-id = nokia8210 device = /dev/ttyS0 modemtype = nokiaphone speed = 9600 connect-allow-ip = "127.0.0.1" sms-center = "+91xxxxxxxxx" validityperiod = 255
keepalive = 10
sim-buffering = true
# MODEM CONF
group = modems
id = nokiaphone
name = "Nokia Phone"
detect-string = "Nokia Mobile Phone"
need-sleep = true
keepalive-cmd = "AT+CBC;+CSQ"
enable-mms = true speed = 9600
# SMSBOX SETUP
group = smsbox bearerbox-host = localhost sendsms-port = 13013 sendsms-chars = "0123456789+" log-file = "/kannel/logs/smsbox1.3.1.log" log-level = 0 access-log = "/kannel/logs/smsbox_access1.3.1.log"
# SEND-SMS USERS
group = sendsms-user username = tester password = foobar max-messages = 10 concatenation = true
# SERVICES
group = sms-service
keyword = default
get-url = "http://localhost:8080/process_sms?from=%p&to=%P&text=%b&coding=%c";
concatenation = true
max-messages = 10
___________________________________________________ Catering meets Camera; Tanya Weds Sahil. Rediff Matchmaker strikes another interesting match Visit http://matchmaker.rediff.com?1
