Hai Matt, 

Solution One:
Try to use AT2 instead of AT and if possible use kannel version 1.3.1 

Solution Two:
and if it still a problem perhaps there's a problem in your comm port.
like what i have faced.

sometime the kernel give alert about serial comm with message belom
"spurious ... "  ( I forgot the rest of the message)

please try to force the initialization of comm port by using minicom

make this script and run :

minicom &
sleep 4
killall -9 minicom
bearerbox <conffile>
sleep 4
smsbox <conffile>

ps: above is 2 solution, please try it one by one.

Julyanto Sutandang
----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 17, 2004 1:46 PM
Subject: [Using Kannel with Nokia 6210 & a DLR-3P Cable]


> 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
> 
> 


Reply via email to