I think it would have been a good idea, before running bearerbox on the phone, to try to use it through a terminal program, setting various speeds and other line settings, until you find one that works. possibly this may even be a hardware problem.
-- Oded Arbel m-Wise mobile solutions [EMAIL PROTECTED] +972-9-9581711 (116) +972-67-340014 ::.. Earth First ! We can strip mine the other planets later... > -----Original Message----- > From: Wilf (Neil Wilkinson) [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 19, 2002 12:01 PM > To: [EMAIL PROTECTED] > Subject: RE: nokia phone accepts AT but never gets past "start called" > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of Oded Arbel > > Sent: Monday, 19 August 2002 5:10 PM > > To: Wilf (Neil Wilkinson); [EMAIL PROTECTED] > > Subject: RE: nokia phone accepts AT but never gets past > "start called" > > > > > > Are you sure that 9600 is the correct speed ? my Nokia phones > > connect at 4800 or 19200 (I have two). > > Also - try autodetecting the modem type. > > thanks for the reply. seems that if i try 4800 or 19200 it > gets further: > > 2002-08-19 17:40:38 [0] DEBUG: AT2[nk6150]: start called > 2002-08-19 17:40:38 [6] DEBUG: sms_router: time to sleep > 2002-08-19 17:40:38 [6] DEBUG: sms_router: list_len = 0 > 2002-08-19 17:40:39 [5] DEBUG: AT2[nk6150]: device opened > 2002-08-19 17:40:39 [5] INFO: AT2[nk6150]: init device > 2002-08-19 17:40:39 [5] INFO: AT2[nk6150]: speed set to 19200 > 2002-08-19 17:40:39 [5] DEBUG: AT2[nk6150]: --> AT^M > > but then never gets past this point. > > interestingly, the modem.conf file with the distribution sets > the default > speed of the nokia to 9600... > > also if i auto the modemtype with 4800 or 19200 it fails and > if i auto the > modem and leave the speed blank then it defaults to 57600 and > fails. i > think i've run out of combinations now, > > > wilf > > > > -----Original Message----- > > > From: Wilf (Neil Wilkinson) [mailto:[EMAIL PROTECTED]] > > > Sent: Monday, August 19, 2002 4:17 AM > > > To: [EMAIL PROTECTED] > > > Subject: nokia phone accepts AT but never gets past "start called" > > > > > > > > > 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) > > > -- > > > > > > > > > > > > > > > >