Hi List, I have included below my kannel.conf file content, the kannel.log content as well as the status after starting sms and bearer boxes. I am not able to send an sms and i don't know what could be the reason. Please use the information below to help me troubleshoot the source of my frustration. I am using Nokia N70 and running kannel on Debian.
Any help will be much appreciated. // kannel.conf -------------------------------------------------------------------- group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar status-password = foo admin-deny-ip = "" admin-allow-ip = "127.0.0.1" log-file = "/var/log/kannel/kannel.log" log-level = 0 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" white-list-regex = ^((07[0-9]+)|(254[0-9]+)) #unified-prefix = "00358,0" access-log = "/var/log/kannel/access.log" store-file = "/var/log/kannel/kannel.store" #ssl-certkey-file = "mycertandprivkeyfile.pem" dlr-storage = mysql # SMSC CONNECTIONS # #NOKIA N70-1 group = smsc smsc = at smsc-id = N70 modemtype = nokiaphone device = /dev/ttyACM0 my-number = 254738138556 connect-allow-ip = "localhost" log-level = 0 speed = 460800 # MODEMS group = modems id = nokiaphone name = "Nokia Phone" detect-string = "Nokia N70" #detect-string2 = "" init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" #message-storage = "SM" need-sleep = true #enable-hwhs = "AT\\Q3" # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13013 global-sender = 254738138556 sendsms-chars = "0123456789 +-" log-file = "/var/log/kannel/smsbox.log" log-level = 0 access-log = "/var/log/kannel/access.log" white-list-regex = ^((07[0-9]+)|(254[0-9]+)) # SEND-SMS USERS group = sendsms-user username = tester password = foobar #concatenation = true #user-deny-ip = "" #user-allow-ip = "" # SERVICES group = sms-service keyword = nop text = "You asked nothing and I did it!" group = sms-service keyword = www get-url = "http://%S" max-messages = 0 catch-all = yes # there should be default always group = sms-service keyword = "default" text = "No service specified" # # DLR with MySQL support configuration # # Example defining a MySQL database connection resource and # the required table and field values. # group = mysql-connection id = mydlr host = localhost username = root password = "" database = kannel # max count of connections that will be opened for dbpool # default is 1 max-connections = 1 group = dlr-db id = mydlr table = dlr field-smsc = smsc field-timestamp = ts field-destination = destination field-source = source field-service = service field-url = url field-mask = mask field-status = status field-boxc-id = boxc #----------------------------------------------------------------------------------------- # status Kannel bearerbox version `1.4.1'. Build `Oct 17 2006 02:55:06', compiler `4.1.2 20061007 (prerelease) (Debian 4.1.1-16)'. System Linux, release 2.6.18-4-686, version #1 SMP Mon Mar 26 17:17:36 UTC 2007, machine i686. Hostname localhost, IP 127.0.0.1. Libxml version 2.6.26. Using OpenSSL 0.9.8c 05 Sep 2006. Compiled with MySQL 5.0.24a, using MySQL 5.0.32. Using native malloc. Status: running, uptime 0d 0h 0m 10s WDP: received 0 (0 queued), sent 0 (0 queued) SMS: received 0 (0 queued), sent 0 (0 queued), store size 0 SMS: inbound 0.00 msg/sec, outbound 0.00 msg/sec DLR: 0 queued, using mysql storage Box connections: smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 0d 0h 0m 8s) SMSC connections: N70 AT2[N70] (connecting, rcvd 0, sent 0, failed 0, queued 0 msgs) // store-status ------------------------------------------------------------------------------------------- [SMS ID] [Type] [Time] [Sender] [Receiver] [SMSC ID] [BOX ID] [UDH] [Message] [f4d363d3-458f-49c9-835c-f3138b989cc5] [MT-PUSH] [2008-05-06 02:16:38] [254738138556] [254724591224] [N70] [] [] [Hello world into MySQL] [5cdf592c-0180-4cbd-8d74-66c21cdbe6ca] [MT-PUSH] [2008-05-06 02:16:48] [254738138556] [254724591224] [N70] [] [] [Hello world into MySQL] // tail kannel.log----------------------------------------------------------------------------------------------------------------------- debianKwazi:~# tail /var/log/kannel/kannel.log 2008-05-06 02:17:24 [10351] [6] INFO: AT2[N70]: opening device 2008-05-06 02:17:24 [10351] [6] ERROR: AT2[N70]: open failed! ERRNO=13 2008-05-06 02:17:24 [10351] [6] ERROR: System error 13: Permission denied 2008-05-06 02:17:24 [10351] [6] ERROR: AT2[N70]: at2_device_thread: open_at2_device failed. Terminating 2008-05-06 02:17:24 [10351] [6] ERROR: System error 13: Permission denied 2008-05-06 02:17:24 [10351] [6] INFO: AT2[N70]: opening device 2008-05-06 02:17:24 [10351] [6] ERROR: AT2[N70]: open failed! ERRNO=13 2008-05-06 02:17:24 [10351] [6] ERROR: System error 13: Permission denied 2008-05-06 02:17:24 [10351] [6] ERROR: AT2[N70]: at2_device_thread: open_at2_device failed. Terminating 2008-05-06 02:17:24 [10351] [6] ERROR: System error 13: Permission denied --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
