Hi! 

I try to start the kannel with TC35 but I got
following log: 

2002-09-09 16:12:21 [0] INFO: Kannel bearerbox II
version 1.2.0 starting
2002-09-09 16:12:21 [0] INFO: SSL not supported, no
SSL initialization done.
2002-09-09 16:12:21 [0] DEBUG: HTTP: Opening server at
port 13000.
2002-09-09 16:12:21 [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2002-09-09 16:12:21 [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2002-09-09 16:12:21 [0] DEBUG: Started thread 3
(gw/bb_http.c:httpadmin_run)
2002-09-09 16:12:21 [0] DEBUG: starting smsbox
connection module
2002-09-09 16:12:21 [0] DEBUG: Started thread 4
(gw/bb_boxc.c:smsboxc_run)
2002-09-09 16:12:21 [0] INFO: AT2[siemens-tc35]:
configuration shows modemtype <siemens-tc35>
2002-09-09 16:12:21 [0] DEBUG: AT2[siemens-tc35]:
Reading modem definitions from <smstc35.conf>
2002-09-09 16:12:21 [0] DEBUG: Loading include file
`/root/Kannel-gateway-1.2.0/modems.conf' (on line 50
of file smstc35.conf).
2002-09-09 16:12:21 [0] DEBUG: AT2[siemens-tc35]:
Found <10> modems in config
2002-09-09 16:12:21 [0] INFO: AT2[siemens-tc35]: read
modem definition for <Siemens TC35>
2002-09-09 16:12:21 [0] DEBUG: Started thread 5
(gw/smsc_at2.c:at2_device_thread)
2002-09-09 16:12:21 [5] INFO: AT2[siemens-tc35]:
trying to use speed <19200> from modem definition
2002-09-09 16:12:21 [5] INFO: AT2[siemens-tc35]:
opening device
2002-09-09 16:12:21 [5] DEBUG: AT2[siemens-tc35]:
device opened
2002-09-09 16:12:21 [0] DEBUG: Started thread 6
(gw/bb_smscconn.c:sms_router)
2002-09-09 16:12:21 [6] DEBUG: sms_router: time to
sleep
2002-09-09 16:12:21 [0] INFO: MAIN: Start-up done,
entering mainloop
2002-09-09 16:12:21 [0] DEBUG: AT2[siemens-tc35]:
start called
2002-09-09 16:12:21 [6] DEBUG: sms_router: list_len =
0
2002-09-09 16:12:21 [5] INFO: AT2[siemens-tc35]: speed
set to 19200
2002-09-09 16:12:21 [5] DEBUG: AT2[siemens-tc35]: -->
^M
2002-09-09 16:14:53 [5] DEBUG: AT2[siemens-tc35]: -->
AT^M
2002-09-09 16:15:05 [5] DEBUG: AT2[siemens-tc35]: -->
AT^M
2002-09-09 16:15:11 [5] DEBUG: AT2[siemens-tc35]: <--
AT
2002-09-09 16:15:11 [5] DEBUG: AT2[siemens-tc35]: <--
OK
2002-09-09 16:15:11 [5] INFO: AT2[siemens-tc35]:
closing device
2002-09-09 16:15:11 [5] INFO: AT2[siemens-tc35]: speed
is 19200
2002-09-09 16:15:11 [5] INFO: AT2[siemens-tc35]:
opening device
2002-09-09 16:15:11 [5] DEBUG: AT2[siemens-tc35]:
device opened
2002-09-09 16:15:12 [5] DEBUG: AT2[siemens-tc35]:
device opened
2002-09-09 16:15:12 [5] INFO: AT2[siemens-tc35]: init
device
2002-09-09 16:15:12 [5] INFO: AT2[siemens-tc35]: speed
set to 19200
2002-09-09 16:15:12 [5] DEBUG: AT2[siemens-tc35]: -->
AT^M
2002-09-09 16:15:25 [5] DEBUG: AT2[siemens-tc35]: -->
AT^M
2002-09-09 16:15:31 [5] DEBUG: AT2[siemens-tc35]: <--
AT
2002-09-09 16:15:31 [5] DEBUG: AT2[siemens-tc35]: <--
OK
2002-09-09 16:15:31 [5] DEBUG: AT2[siemens-tc35]: -->
AT&F^M
2002-09-09 16:15:41 [5] DEBUG: AT2[siemens-tc35]: <--
AT
2002-09-09 16:15:41 [5] DEBUG: AT2[siemens-tc35]: <--
OK
2002-09-09 16:15:41 [5] DEBUG: AT2[siemens-tc35]: -->
ATE0^M
2002-09-09 16:15:51 [5] DEBUG: AT2[siemens-tc35]: <--
AT&F
2002-09-09 16:15:51 [5] DEBUG: AT2[siemens-tc35]: <--
OK
2002-09-09 16:15:51 [5] DEBUG: AT2[siemens-tc35]: -->
AT\Q3^M
2002-09-09 16:16:01 [5] DEBUG: AT2[siemens-tc35]: <--
ATE0
2002-09-09 16:16:01 [5] DEBUG: AT2[siemens-tc35]: <--
OK
2002-09-09 16:16:01 [5] DEBUG: AT2[siemens-tc35]: -->
AT+CPIN?^M
2002-09-09 16:16:11 [5] DEBUG: AT2[siemens-tc35]: <--
OK
2002-09-09 16:16:22 [5] DEBUG: AT2[siemens-tc35]: -->
AT+CPIN?^M
2002-09-09 16:16:41 [5] DEBUG: AT2[siemens-tc35]: <--
+CPIN: SIM PIN
2002-09-09 16:16:41 [5] ERROR: AT2[siemens-tc35]:
Opening failed. Terminating
2002-09-09 16:16:41 [5] DEBUG: Thread 5
(gw/smsc_at2.c:at2_device_thread) terminates.


the thread terminate itself without giving the pin
code to tc35. I can not find the reason.

here is my configure file:

+++++++++ SMSC +++++++++++
group = smsc
smsc = at2
smsc-id = siemens-tc35
#modemtype = auto
modemtype = siemens-tc35
device = /dev/ttyS1
speed = 19200
pin = xxxx
include = "/root/Kannel-gateway-1.2.0/modems.conf"
+++++++++++++++++++++++++


+++++++++++ Modems +++++++
group = modems
id = siemens-tc35
name = "Siemens TC35"
detect-string = "SIEMENS"
detect-string2 = "TC35"
init-string = "AT+CNMI=1,2,0,0,1"
speed = 19200
enable-hwhs = "AT\\Q3"
need-sleep = true
++++++++++++++++++++++++++++

Could anyone give me a reply?

Thanks in advance!

Gang









__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

Reply via email to