I have kannel running on Cygwin 1.5.21 with a Nokia VI-3155i
phone-as-smsc.

 

Upon start-up the bearer box fails to get an OK for ATE0 and starts to
check all over again.

However I have tried to check for the ATE0 from a hyperterminal and I
get an OK.

 

Could someone please tell me what could be the problem here.

 

2006-11-17 15:24:46 [7132] [0] INFO: Added logfile
`/cygdrive/c/temp/kannel.log' with level `0'.

2006-11-17 15:24:46 [7132] [0] INFO: HTTP: Opening server at port 13000.

2006-11-17 15:24:46 [7132] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
maps to pid 7132.

2006-11-17 15:24:46 [7132] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)

2006-11-17 15:24:46 [7132] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)

2006-11-17 15:24:46 [7132] [2] DEBUG: Thread 2
(gwlib/http.c:server_thread) maps to pid 7132.

2006-11-17 15:24:46 [7132] [0] DEBUG: Started thread 3
(gw/bb_http.c:httpadmin_run)

2006-11-17 15:24:46 [7132] [3] DEBUG: Thread 3
(gw/bb_http.c:httpadmin_run) maps to pid 7132.

2006-11-17 15:24:46 [7132] [0] DEBUG: starting smsbox connection module

2006-11-17 15:24:46 [7132] [0] INFO: BOXC: 'smsbox-max-pending' not set,
using default (100).

2006-11-17 15:24:46 [7132] [0] DEBUG: Started thread 4
(gw/bb_boxc.c:sms_to_smsboxes)

2006-11-17 15:24:46 [7132] [4] DEBUG: Thread 4
(gw/bb_boxc.c:sms_to_smsboxes) maps to pid 7132.

2006-11-17 15:24:46 [7132] [0] DEBUG: Started thread 5
(gw/bb_boxc.c:smsboxc_run)

2006-11-17 15:24:46 [7132] [5] DEBUG: Thread 5
(gw/bb_boxc.c:smsboxc_run) maps to pid 7132.

2006-11-17 15:24:46 [7132] [0] INFO: Set SMS resend frequency to 60
seconds.

2006-11-17 15:24:46 [7132] [0] INFO: SMS resend retry set to unlimited.

2006-11-17 15:24:46 [7132] [0] INFO: DLR rerouting for smsc id <(null)>
disabled.

2006-11-17 15:24:46 [7132] [0] INFO: AT2[COM7]: configuration shows
modemtype <nokia3155>

2006-11-17 15:24:46 [7132] [0] DEBUG: AT2[COM7]: Reading modem
definitions from <gw/smskannel.conf>

2006-11-17 15:24:46 [7132] [0] DEBUG: AT2[COM7]: Found <1> modems in
config

2006-11-17 15:24:46 [7132] [0] INFO: AT2[COM7]: read modem definition
for <Nokia 3155i as SMSC>

2006-11-17 15:24:46 [7132] [0] DEBUG: Started thread 6
(gw/smsc/smsc_at.c:at2_device_thread)

2006-11-17 15:24:46 [7132] [6] DEBUG: Thread 6
(gw/smsc/smsc_at.c:at2_device_thread) maps to pid 7132.

2006-11-17 15:24:46 [7132] [0] DEBUG: Started thread 7
(gw/bb_smscconn.c:sms_router)

2006-11-17 15:24:46 [7132] [7] DEBUG: Thread 7
(gw/bb_smscconn.c:sms_router) maps to pid 7132.

2006-11-17 15:24:46 [7132] [6] INFO: AT2[COM7]: trying to use speed
<460800> from modem definition

2006-11-17 15:24:46 [7132] [0] INFO:
----------------------------------------

2006-11-17 15:24:46 [7132] [7] DEBUG: sms_router: time to sleep 30.00
secs.

2006-11-17 15:24:46 [7132] [6] INFO: AT2[COM7]: opening device

2006-11-17 15:24:46 [7132] [0] INFO: Kannel bearerbox II version 1.4.1
starting

2006-11-17 15:24:46 [7132] [6] DEBUG: AT2[COM7]: device opened

2006-11-17 15:24:46 [7132] [6] ERROR: AT2[COM7]: at_data_link: fail to
set termios attribute

2006-11-17 15:24:46 [7132] [6] ERROR: System error 25: Inappropriate
ioctl for device

2006-11-17 15:24:46 [7132] [6] DEBUG: AT2[COM7]: device opened

2006-11-17 15:24:46 [7132] [6] ERROR: AT2[COM7]: at_data_link: fail to
set termios attribute

2006-11-17 15:24:46 [7132] [6] ERROR: System error 25: Inappropriate
ioctl for device

2006-11-17 15:24:46 [7132] [6] INFO: AT2[COM7]: speed set to 460800

2006-11-17 15:24:46 [7132] [6] DEBUG: AT2[COM7]: --> ^M

2006-11-17 15:24:46 [7132] [0] INFO: MAIN: Start-up done, entering
mainloop

2006-11-17 15:24:46 [7132] [0] DEBUG: AT2[COM7]: start called

2006-11-17 15:24:46 [7132] [7] DEBUG: sms_router: gwlist_len = 0

2006-11-17 15:24:51 [7132] [6] DEBUG: AT2[COM7]: --> AT^M

2006-11-17 15:24:56 [7132] [6] DEBUG: AT2[COM7]: <-- AT

2006-11-17 15:24:57 [7132] [6] DEBUG: AT2[COM7]: --> AT^M

2006-11-17 15:25:03 [7132] [6] DEBUG: AT2[COM7]: --> AT^M

2006-11-17 15:25:08 [7132] [6] DEBUG: AT2[COM7]: <-- OK

2006-11-17 15:25:08 [7132] [6] INFO: AT2[COM7]: closing device

2006-11-17 15:25:08 [7132] [6] INFO: AT2[COM7]: speed is 460800

2006-11-17 15:25:08 [7132] [6] INFO: AT2[COM7]: opening device

2006-11-17 15:25:08 [7132] [6] DEBUG: AT2[COM7]: device opened

2006-11-17 15:25:08 [7132] [6] ERROR: AT2[COM7]: at_data_link: fail to
set termios attribute

2006-11-17 15:25:08 [7132] [6] ERROR: System error 25: Inappropriate
ioctl for device

2006-11-17 15:25:08 [7132] [6] DEBUG: AT2[COM7]: device opened

2006-11-17 15:25:08 [7132] [6] INFO: AT2[COM7]: init device

2006-11-17 15:25:08 [7132] [6] ERROR: AT2[COM7]: at_data_link: fail to
set termios attribute

2006-11-17 15:25:08 [7132] [6] ERROR: System error 25: Inappropriate
ioctl for device

2006-11-17 15:25:08 [7132] [6] INFO: AT2[COM7]: speed set to 460800

2006-11-17 15:25:08 [7132] [6] DEBUG: AT2[COM7]: --> ATZ^M

2006-11-17 15:25:13 [7132] [6] DEBUG: AT2[COM7]: <-- ATZ

2006-11-17 15:25:13 [7132] [6] ERROR: AT2[COM7]: Wrong or no answer to
ATZ, ignoring

2006-11-17 15:25:13 [7132] [6] DEBUG: AT2[COM7]: --> AT^M

2006-11-17 15:25:18 [7132] [6] ERROR: AT2[COM7]: Wrong or no answer to
AT. Trying again

2006-11-17 15:25:18 [7132] [6] DEBUG: AT2[COM7]: --> AT^M

2006-11-17 15:25:23 [7132] [6] DEBUG: AT2[COM7]: <-- OK

2006-11-17 15:25:28 [7132] [6] DEBUG: AT2[COM7]: --> AT&F^M

2006-11-17 15:25:33 [7132] [6] DEBUG: AT2[COM7]: <-- AT&F

2006-11-17 15:25:38 [7132] [6] ERROR: AT2[COM7]: No answer to AT&F.
Trying again

2006-11-17 15:25:38 [7132] [6] DEBUG: AT2[COM7]: --> AT&F^M

2006-11-17 15:25:43 [7132] [6] DEBUG: AT2[COM7]: <-- OK

2006-11-17 15:25:48 [7132] [6] DEBUG: AT2[COM7]: --> ATE0^M

2006-11-17 15:25:53 [7132] [6] DEBUG: AT2[COM7]: <-- ATE0

2006-11-17 15:25:53 [7132] [6] ERROR: AT2[COM7]: Wrong or no answer to
ATE0. Trying again

2006-11-17 15:25:53 [7132] [6] DEBUG: AT2[COM7]: --> ATE0^M

2006-11-17 15:25:59 [7132] [6] ERROR: AT2[COM7]: Second attempt to send
ATE0 failed

2006-11-17 15:25:59 [7132] [6] ERROR: AT2[COM7]: Opening failed.
Terminating

2006-11-17 15:25:59 [7132] [6] INFO: AT2[COM7]: closing device

2006-11-17 15:25:59 [7132] [6] INFO: AT2[COM7]: opening device

2006-11-17 15:25:59 [7132] [6] DEBUG: AT2[COM7]: device opened

2006-11-17 15:25:59 [7132] [6] ERROR: AT2[COM7]: at_data_link: fail to
set termios attribute

2006-11-17 15:25:59 [7132] [6] ERROR: System error 25: Inappropriate
ioctl for device

2006-11-17 15:25:59 [7132] [6] DEBUG: AT2[COM7]: device opened

2006-11-17 15:25:59 [7132] [6] INFO: AT2[COM7]: init device

2006-11-17 15:25:59 [7132] [6] ERROR: AT2[COM7]: at_data_link: fail to
set termios attribute

2006-11-17 15:25:59 [7132] [6] ERROR: System error 25: Inappropriate
ioctl for device

2006-11-17 15:25:59 [7132] [6] INFO: AT2[COM7]: speed set to 460800

2006-11-17 15:25:59 [7132] [6] DEBUG: AT2[COM7]: --> ATZ^M

2006-11-17 15:26:04 [7132] [6] ERROR: AT2[COM7]: Wrong or no answer to
ATZ, ignoring

2006-11-17 15:26:04 [7132] [6] DEBUG: AT2[COM7]: --> AT^M

 

 

The config file is attached.

 

Thanks,

Ashwin

Attachment: smskannel.conf
Description: smskannel.conf

Reply via email to