|
Hi, I'm using nokia 3230 (GSM phone) handset. I installed kannel suse 9.3 box but unable to send SMS using kannel. The problem is with the kannel not able to connect to mobile phone. I'm able to pair both devices( USB-Bluetooth and nokia 3230 ) using kbluetooth software utility on linux box . My Configuration : Suse 9.3 Linux Box USB-Bluetooth device. Nokia 3230 GSM phone My Config. file looks like this # # smskannel.conf # # THIS IS A SAMPLE CONFIGURATION FOR SMS KANNEL # # This basic version is used for system testing. It expects 'fakesmsc' to # send messages which are replied with simple fixed text message. # It is run like this: # # 1% gw/bearerbox gw/smskannel.conf # 2% gw/smsbox gw/smskannel.conf # 3% test/fakesmsc -i 0.1 -m 100 "123 345 text nop" # # ..all 3 commands in separate shells (or screen sessions) # Note that you can run them in different machines but have to # add certain command line argument and configuration variables then # # # For any modifications to this file, see Kannel User Guide # If that does not help, see Kannel web page (http://www.kannel.org) and # various online help and mailing list archives # # Notes on those who base their configuration on this: # 1) check security issues! (allowed IPs, passwords and ports) # 2) groups cannot have empty rows inside them! # 3) read the user guide # # Kalle Marjola for Kannel project 2001, 2004 #--------------------------------------------- # CORE # # There is only one core group and it sets all basic settings # of the bearerbox (and system). You should take extra notes on # configuration variables like 'store-file' (or 'store-dir'), # 'admin-allow-ip' and 'access.log' group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar #status-password = foo #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 = "+358,00358,0;+,00" #access-log = "/tmp/access.log" #store-file = "kannel.store" #ssl-server-cert-file = "cert.pem" #ssl-server-key-file = "key.pem" #ssl-certkey-file = "mycertandprivkeyfile.pem" #--------------------------------------------- # SMSC CONNECTIONS # # SMSC connections are created in bearerbox and they handle SMSC specific # protocol and message relying. You need these to actually receive and send # messages to handset, but can use GSM modems as virtual SMSCs # This is a fake smsc connection, _only_ used to test the system and services. # It really cannot relay messages to actual handsets! group = smsc smsc = fake smsc-id = FAKE port = 10000 connect-allow-ip = 127.0.0.1 #--------------------------------------------- # SMSBOX SETUP # # Smsbox(es) do higher-level SMS handling after they have been received from # SMS centers by bearerbox, or before they are given to bearerbox for delivery group = smsbox bearerbox-host = 10.0.0.27 sendsms-port = 13013 global-sender = 13013 #sendsms-chars = "0123456789 +-" #log-file = "/tmp/smsbox.log" #log-level = 0 #access-log = "/tmp/access.log" #--------------------------------------------- # SEND-SMS USERS # # These users are used when Kannel smsbox sendsms interface is used to # send PUSH sms messages, i.e. calling URL like # http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar... group = sendsms-user username = tester password = foobar #user-deny-ip = "" #user-allow-ip = "" #--------------------------------------------- # SERVICES # # These are 'responses' to sms PULL messages, i.e. messages arriving from # handsets. The response is based on message content. Only one sms-service is # applied, using the first one to match. group = sms-service keyword = nop text = "You asked nothing and I did it!" # There should be always a 'default' service. This service is used when no # other 'sms-service' is applied. group = sms-service keyword = default text = "No service specified" #Nokia Modem group = modems id = nokiaphone name = "Nokia Phone" detect-string = "Nokia Mobile Phone" need-sleep = true keepalive-cmd = "AT+CBC;+CSQ" enable-mms = false #Nokia Modem group =smsc smsc=at modemtype="Nokia Phone" device=/dev/ttyS0 speed=9200 When i'm trying to start bearbox i'm getting this :./bearerbox -v 1 smskannel.conf 2006-10-31 13:48:14 [8851] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0 2006-10-31 13:48:14 [8851] [0] WARNING: DLR: using default 'internal' for storage type. 2006-10-31 13:48:14 [8851] [0] INFO: DLR using storage type: internal 2006-10-31 13:48:14 [8851] [0] INFO: SSL not supported, no SSL initialization done. 2006-10-31 13:48:14 [8851] [0] INFO: HTTP: Opening server at port 13000. 2006-10-31 13:48:14 [8851] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2006-10-31 13:48:14 [8851] [0] INFO: Set SMS resend frequency to 60 seconds. 2006-10-31 13:48:14 [8851] [0] INFO: SMS resend retry set to unlimited. 2006-10-31 13:48:14 [8851] [0] INFO: DLR rerouting for smsc id <FAKE> disabled. 2006-10-31 13:48:14 [8851] [0] INFO: DLR rerouting for smsc id <(null)> disabled. 2006-10-31 13:48:14 [8851] [0] INFO: AT2[/dev/ttyS0]: configuration shows modemtype <Nokia Phone> 2006-10-31 13:48:14 [8851] [0] INFO: AT2[/dev/ttyS0]: modemtype not found, revert to autodetect 2006-10-31 13:48:14 [8851] [0] INFO: ---------------------------------------- 2006-10-31 13:48:14 [8851] [0] INFO: Kannel bearerbox II version 1.4.1 starting 2006-10-31 13:48:14 [8851] [0] INFO: MAIN: Start-up done, entering mainloop 2006-10-31 13:48:14 [8851] [7] INFO: AT2[/dev/ttyS0]: opening device 2006-10-31 13:48:15 [8851] [7] INFO: AT2[/dev/ttyS0]: speed set to 9200 2006-10-31 13:48:25 [8851] [7] INFO: AT2[/dev/ttyS0]: opening device 2006-10-31 13:48:25 [8851] [7] WARNING: AT2[/dev/ttyS0]: trying to open device with not closed device!!! Please report!!! 2006-10-31 13:48:25 [8851] [7] INFO: AT2[/dev/ttyS0]: closing device 2006-10-31 13:48:26 [8851] [7] INFO: AT2[/dev/ttyS0]: speed set to 9200 2006-10-31 13:48:36 [8851] [7] INFO: AT2[/dev/ttyS0]: opening device 2006-10-31 13:48:36 [8851] [7] WARNING: AT2[/dev/ttyS0]: trying to open device with not closed device!!! Please report!!! 2006-10-31 13:48:36 [8851] [7] INFO: AT2[/dev/ttyS0]: closing device 2006-10-31 13:48:37 [8851] [7] INFO: AT2[/dev/ttyS0]: speed set to 9200 2006-10-31 13:48:47 [8851] [7] INFO: AT2[/dev/ttyS0]: opening device 2006-10-31 13:48:47 [8851] [7] WARNING: AT2[/dev/ttyS0]: trying to open device with not closed device!!! Please report!!! 2006-10-31 13:48:47 [8851] [7] INFO: AT2[/dev/ttyS0]: closing device 2006-10-31 13:48:48 [8851] [7] INFO: AT2[/dev/ttyS0]: speed set to 9200 2006-10-31 13:48:58 [8851] [7] INFO: AT2[/dev/ttyS0]: opening device |
- Problem in connection mobile phone for sending sms and kann... Ashwin Kumar
- Re: Problem in connection mobile phone for sending sms... George Vagenas
