I'm using iTegno WM1080A+ on Ubuntu 8.04 LTS
I try to run the bearerbox not luck. It stuck at AT+CSMS
How can I solve it?


2008-08-30 02:21:15 [18392] [0] INFO: HTTP: Opening server at port 13000.
2008-08-30 02:21:15 [18392] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2008-08-30 02:21:15 [18392] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
to pid 18392.
2008-08-30 02:21:15 [18392] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
maps to pid 18392.
2008-08-30 02:21:15 [18392] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2008-08-30 02:21:15 [18392] [0] DEBUG: Started thread 3
(gw/bb_http.c:httpadmin_run)
2008-08-30 02:21:15 [18392] [0] DEBUG: starting smsbox connection module
2008-08-30 02:21:15 [18392] [0] INFO: BOXC: 'smsbox-max-pending' not set,
using default (100).
2008-08-30 02:21:15 [18392] [0] DEBUG: Started thread 4
(gw/bb_boxc.c:sms_to_smsboxes)
2008-08-30 02:21:15 [18392] [0] DEBUG: Started thread 5
(gw/bb_boxc.c:smsboxc_run)
2008-08-30 02:21:15 [18392] [4] DEBUG: Thread 4
(gw/bb_boxc.c:sms_to_smsboxes) maps to pid 18392.
2008-08-30 02:21:15 [18392] [0] INFO: Set SMS resend frequency to 60
seconds.
2008-08-30 02:21:15 [18392] [0] INFO: SMS resend retry set to unlimited.
2008-08-30 02:21:15 [18392] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
maps to pid 18392.
2008-08-30 02:21:15 [18392] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run)
maps to pid 18392.
2008-08-30 02:21:15 [18392] [0] INFO: DLR rerouting for smsc id <(null)>
disabled.
2008-08-30 02:21:15 [18392] [0] INFO: AT2[/dev/ttyUSB0]: configuration
doesn't show modemtype. will autodetect
2008-08-30 02:21:15 [18392] [6] DEBUG: Thread 6
(gw/smsc/smsc_at.c:at2_device_thread) maps to pid 18392.
2008-08-30 02:21:15 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: detecting modem
type
2008-08-30 02:21:15 [18392] [6] INFO: AT2[/dev/ttyUSB0]: opening device
2008-08-30 02:21:15 [18392] [0] DEBUG: Started thread 6
(gw/smsc/smsc_at.c:at2_device_thread)
2008-08-30 02:21:15 [18392] [7] DEBUG: Thread 7
(gw/bb_smscconn.c:sms_router) maps to pid 18392.
2008-08-30 02:21:15 [18392] [7] DEBUG: sms_router: time to sleep 30.00 secs.
2008-08-30 02:21:15 [18392] [0] DEBUG: Started thread 7
(gw/bb_smscconn.c:sms_router)
2008-08-30 02:21:15 [18392] [0] INFO:
----------------------------------------
2008-08-30 02:21:15 [18392] [0] INFO: Kannel bearerbox II version 1.4.1
starting
2008-08-30 02:21:15 [18392] [0] INFO: MAIN: Start-up done, entering mainloop
2008-08-30 02:21:15 [18392] [0] DEBUG: AT2[/dev/ttyUSB0]: start called
2008-08-30 02:21:15 [18392] [7] DEBUG: sms_router: gwlist_len = 0
2008-08-30 02:21:15 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened
2008-08-30 02:21:16 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened
2008-08-30 02:21:16 [18392] [6] INFO: AT2[/dev/ttyUSB0]: speed set to 115200
2008-08-30 02:21:16 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ^M
2008-08-30 02:21:18 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M
2008-08-30 02:21:18 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2008-08-30 02:21:18 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT&F^M
2008-08-30 02:21:18 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2008-08-30 02:21:18 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ATE0^M
2008-08-30 02:21:19 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2008-08-30 02:21:19 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ATI^M
2008-08-30 02:21:19 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- WAVECOM MODEM
2008-08-30 02:21:19 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- MULTIBAND
900E  1800
2008-08-30 02:21:19 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2008-08-30 02:21:19 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: found string
<WAVECOM>, using modem definition <Wavecom>
2008-08-30 02:21:19 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT+CSMS=?^M
2008-08-30 02:21:19 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- ERROR
2008-08-30 02:21:19 [18392] [6] ERROR: AT2[/dev/ttyUSB0]: Generic error:
ERROR
2008-08-30 02:21:19 [18392] [6] INFO: AT2[/dev/ttyUSB0]: closing device
2008-08-30 02:21:19 [18392] [6] INFO: AT2[/dev/ttyUSB0]: opening device
2008-08-30 02:21:19 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened
2008-08-30 02:21:19 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened
2008-08-30 02:21:19 [18392] [6] INFO: AT2[/dev/ttyUSB0]: init device
2008-08-30 02:21:19 [18392] [6] INFO: AT2[/dev/ttyUSB0]: speed set to 115200
2008-08-30 02:21:19 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ATZ^M
2008-08-30 02:21:19 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2008-08-30 02:21:19 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M
2008-08-30 02:21:19 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2008-08-30 02:21:19 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT&F^M
2008-08-30 02:21:19 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2008-08-30 02:21:19 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ATE0^M
2008-08-30 02:21:19 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2008-08-30 02:21:19 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT+IFC=2,2^M
2008-08-30 02:21:20 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2008-08-30 02:21:20 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT+CMGF=0^M
2008-08-30 02:21:20 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2008-08-30 02:21:20 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT+CSMS=?^M
2008-08-30 02:21:20 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- ERROR
2008-08-30 02:21:20 [18392] [6] ERROR: AT2[/dev/ttyUSB0]: Generic error:
ERROR
2008-08-30 02:21:20 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: -->
AT+CNMI=2,2,0,0,0^M
2008-08-30 02:21:20 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- ERROR
2008-08-30 02:21:20 [18392] [6] ERROR: AT2[/dev/ttyUSB0]: Generic error:
ERROR
2008-08-30 02:21:20 [18392] [6] ERROR: AT2[/dev/ttyUSB0]: Opening failed.
Terminating
2008-08-30 02:21:20 [18392] [6] INFO: AT2[/dev/ttyUSB0]: closing device
2008-08-30 02:21:20 [18392] [6] INFO: AT2[/dev/ttyUSB0]: opening device
2008-08-30 02:21:20 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened
2008-08-30 02:21:20 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened
2008-08-30 02:21:20 [18392] [6] INFO: AT2[/dev/ttyUSB0]: init device
2008-08-30 02:21:20 [18392] [6] INFO: AT2[/dev/ttyUSB0]: speed set to 115200
2008-08-30 02:21:20 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ATZ^M
2008-08-30 02:21:20 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2008-08-30 02:21:20 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M
2008-08-30 02:21:20 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2008-08-30 02:21:20 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT&F^M
2008-08-30 02:21:20 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2008-08-30 02:21:20 [18392] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ATE0^M
2008-08-30 02:21:21 [18392] [0] WARNING: Killing signal or HTTP admin
command received, shutting down...


Configuration

#
# CORE
#
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#log-file = "/var/log/kannel/bearerbox.log"
#log-level = 0

#
# SMSC CONNECTIONS
#
group = smsc
smsc = at
modemtype = auto
device = /dev/ttyUSB0
speed = 115200
connect-allow-ip = 127.0.0.1

group = modems
id = wavecom
name = Wavecom
detect-string = "WAVECOM"
init-string = "AT+CNMI=2,2,0,0,0"
no-pin = true

#
# SMSBOX SETUP
#
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = +60123456789
log-level = 0

#
# SEND-SMS USERS
#
group = sendsms-user
username = tester
password = foobar
concatenation = true
max-messages = 4

#
# SERVICES
#
group = sms-service
keyword = mytest
text = "reply to mytest"

Reply via email to