Hi all,

I'm new to Kannel and im trying to get my nokia 6150 to work as an smsc. i'm
running gateway-1.2.0 (compiled under redhat 7.2).

the bearer box comes up no problem with no errors and the AT2 thread gets as
far as "start called" (see below) but never sends or receives any messages.
so it seems that i've got the correct device, and the "AT" command is
accepted successfully.

Also, the http status page always shows the phone status as "connecting" (my
guess is that it should change to "connected" at some point?).

Im using the supplied modems.conf (unaltered) with the following excerpt
from kannel.conf (im fairly confident that my smsbox is configured correctly
as i get "Sent." as a response to my sms push):

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = ***
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
log-file = "/home/kannel/log/main.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
unified-prefix = "00358,0"
access-log = "/home/kannel/log/access.log"

#include modems
include = "/home/kannel/conf/modems.conf"

# SMSC CONNECTIONS
group = smsc
smsc = at2
modemtype = nokiaphone
device = /dev/ttyS1
#speed = 9600
#keepalive = 4
smsc-id = nk6150
#port = 10000
#connect-allow-ip = 127.0.0.1


the log file:

2002-08-19 11:36:16 [0] INFO: Added logfile `/home/kannel/log/main.log' with
level `0'.
2002-08-19 11:36:16 [0] INFO: ----------------------------------------
2002-08-19 11:36:16 [0] INFO: Kannel bearerbox II version 1.2.0 starting
2002-08-19 11:36:16 [0] INFO: Started access logfile
`/home/kannel/log/access.log'.
2002-08-19 11:36:16 [0] DEBUG: HTTP: Opening server at port 13000.
2002-08-19 11:36:16 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2002-08-19 11:36:16 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2002-08-19 11:36:16 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
2002-08-19 11:36:16 [0] DEBUG: starting smsbox connection module
2002-08-19 11:36:16 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run)
2002-08-19 11:36:16 [0] INFO: AT2[nk6150]: configuration shows modemtype
<nokiaphone>
2002-08-19 11:36:16 [0] DEBUG: AT2[nk6150]: Reading modem definitions from
<../conf/kannel.conf>
2002-08-19 11:36:16 [0] DEBUG: Loading include file
`/home/kannel/conf/modems.conf' (on line 36 of file ../conf/kannel.conf).
2002-08-19 11:36:16 [0] DEBUG: AT2[nk6150]: Found <10> modems in config
2002-08-19 11:36:16 [0] INFO: AT2[nk6150]: read modem definition for <Nokia
Phone>
2002-08-19 11:36:16 [0] DEBUG: Started thread 5
(gw/smsc_at2.c:at2_device_thread)
2002-08-19 11:36:16 [5] INFO: AT2[nk6150]: trying to use speed <9600> from
modem definition
2002-08-19 11:36:16 [5] INFO: AT2[nk6150]: opening device
2002-08-19 11:36:16 [5] DEBUG: AT2[nk6150]: device opened
2002-08-19 11:36:16 [5] INFO: AT2[nk6150]: speed set to 9600
2002-08-19 11:36:16 [5] DEBUG: AT2[nk6150]: --> ^M
2002-08-19 11:36:16 [0] DEBUG: Started thread 6
(gw/bb_smscconn.c:sms_router)
2002-08-19 11:36:16 [0] INFO: MAIN: Start-up done, entering mainloop
2002-08-19 11:36:16 [0] DEBUG: AT2[nk6150]: start called
2002-08-19 11:36:16 [6] DEBUG: sms_router: time to sleep
2002-08-19 11:36:16 [6] DEBUG: sms_router: list_len = 0

(Incidently, gnokii code works no problem with the same phone and device
name /dev/ttyS1.)

Any help would be greatly appreciated,


Wilf (Neil Wilkinson)
--


Reply via email to