you don't seem to have the modem definitions in your config file. the easiest way to do this is by adding this line to your configuration file:
include = <path-to-kannel-source>/doc/examples/modems.conf this will include the standard modem configurations provided by kannel. nick On Tue, 2004-02-17 at 07:46, [EMAIL PROTECTED] wrote: > Hello, > > i'm run the Kannel in a linux box, with > a Nokia 6210 connected to the COM1 via > a DLR-3P cable. > > seems Kannel can't detect my 6210, it is > unable to "start with smsc". > > here's the messages capture when i run > the bearerbox: > > ----------------------------------------- > 2004-02-17 14:41:51 [0] INFO: Debug_lvl = -1, log_file = <none>, > log_lvl = 0 > 2004-02-17 14:41:51 [0] WARNING: DLR: using default 'internal' for > storage type. > 2004-02-17 14:41:51 [0] DEBUG: Kannel bearerbox version `1.2.1'. > System Linux, release 2.4.20-28.7, version #1 Thu Dec 18 11:31:59 EST > 2003, machine i686. > Hostname hydra, IP 127.0.0.1. > Libxml version 20419. > Using OpenSSL 0.9.6b [engine] 9 Jul 2001. > Using native malloc. > > 2004-02-17 14:41:51 [0] INFO: Added logfile `/tmp/kannel.log' with > level `1'. > 2004-02-17 14:41:51 [0] DEBUG: HTTP: Opening server at port 13000. > 2004-02-17 14:41:51 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) > 2004-02-17 14:41:51 [0] DEBUG: Started thread 2 > (gwlib/http.c:server_thread) > 2004-02-17 14:41:51 [0] DEBUG: Started thread 3 > (gw/bb_http.c:httpadmin_run) > 2004-02-17 14:41:51 [0] DEBUG: starting smsbox connection module > 2004-02-17 14:41:51 [0] DEBUG: Started thread 4 > (gw/bb_boxc.c:smsboxc_run) > 2004-02-17 14:41:52 [0] DEBUG: AT: Command: AT > 2004-02-17 14:42:02 [0] DEBUG: Read from modem: '' > 2004-02-17 14:42:02 [0] DEBUG: AT: Command: AT&F > 2004-02-17 14:42:12 [0] DEBUG: Read from modem: '' > 2004-02-17 14:42:12 [0] DEBUG: AT: Command: AT > 2004-02-17 14:42:22 [0] DEBUG: Read from modem: '' > 2004-02-17 14:42:22 [0] DEBUG: AT: Command: ATE0 > 2004-02-17 14:42:32 [0] DEBUG: Read from modem: '' > 2004-02-17 14:42:32 [0] ERROR: Failed to create Smsc wrapper > 2004-02-17 14:42:32 [0] PANIC: Cannot start with SMSC connection > failing > ----------------------------------------- > > here's my kannel.conf: > > ========================================= > group = core > admin-port = 13000 > smsbox-port = 13001 > admin-password = bar > log-file = "/tmp/kannel.log" > log-level = 1 > box-deny-ip = "*.*.*.*" > box-allow-ip = "127.0.0.1" > > group = smsc > smsc = at > modemtype = nokiaphone > device = /dev/ttyS0 > > group = smsbox > bearerbox-host = localhost > sendsms-port = 13013 > global-sender = 13013 > log-file = "/tmp/kannel_smsbox.log" > log-level = 1 > > group = sendsms-user > username = foo > password = bar > > group = sms-service > keyword = default > text = "No service specified" > ========================================= > > any idea? > > --- > matt >
