Hi list.

I am using HUAWEI E153 two modems and I have a problem.

The state of my two modems is "re-connecting." My momdems be able to connect as 
every 1 hour, the space of a segudos. In those segudos, my two modems fail to 
send messages. Then the state returns to "re-connecting."

I attach kannel.conf, smsc.log and status.

Please, if anyone can help me.

*********KANNEL.CONF *********

# CORE
group = core
admin-port = 13000
admin-password = playsms
status-password = playsms
log-file = /var/log/kannel/kannel.log
log-level = 0
access-log = /var/log/kannel/access.log
smsbox-port = 13001
#store-type = file
#store-file = /var/log/kannel/kannel.store
store-type = spool
store-location = /var/spool/kannel/store
smsbox-max-pending = 100
box-allow-ip = "127.0.0.1"

# SMSBOX
group = smsbox
bearerbox-host = localhost
bearerbox-port = 13001
sendsms-port = 13131
sendsms-chars = "0123456789+ "
log-file = /var/log/kannel/smsbox.log
log-level = 0
access-log = /var/log/kannel/access.log

# ICE modem
group = smsc
smsc = at
smsc-id = ice_modem
#allowed-smsc-id = claro_modem
#preferred-smsc-id = ice_modem;claro_modem
modemtype = auto
device = /dev/ttyUSB0
#validityperiod = 167
log-file = /var/log/kannel/smsc.log
log-level = 0
pin = 1111
sim-buffering = true
#keepalive = 10
my-number = +0000000000

# CLARO modem
group = smsc
smsc = at
smsc-id = claro_modem
#allowed-smsc-id = ice_modem
#preferred-smsc-id = ice_modem;claro_modem
modemtype = auto
device = /dev/ttyUSB2
#validityperiod = 167
log-file = /var/log/kannel/smsc.log
log-level = 0
pin = 1111
sim-buffering = true
keepalive = 10
#my-number = +0000000000


group = modems
id = huawei_e153
name = "Huawei E153"
detect-string = "huawei"
#init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
#init-string = "AT Q0 +CMGS=40;+CPMS= "SM",0,30,"SM",0,30,"SM",0,30"
#init-string = "AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0;+CMGF=0;+CNMI=3,2,0,0,0"
#init-string = "AT+CNMI=1,1,2,0,0"
#init-string = "AT+CNMI=2,0,0,2,0;+CMEE=1"
#init-string = "AT+CNMI=1,2,0,1,1"
message-storage = "ME"
need-sleep = true
speed = 115200


# SENDSMS-USER
group = sendsms-user
default-smsc = default
username = xxxxxxxx
password = xxxxxxx
max-messages = 3
concatenation = true

# SMS SERVICE 'default'
group = sms-service
keyword = default
omit-empty = true
max-messages = 100000
get-url = 
"http://127.0.0.1/my/index.php?app=call&cat=gateway&plugin=kannel&access=geturl&t=%t&q=%q&a=%a&Q=%Q";
#get-url = 
"http://127.0.0.1/my/index.php?app=call&cat=gateway&plugin=kannel&access=geturl&t=%t&q=%q&a=%a";


********* STATUS **************

Kannel bearerbox version `1.4.3'. Build `Mar 19 2010 03:53:52', compiler 
`4.4.3'. System Linux, release 2.6.32-5-686, version #1 SMP Wed Jan 11 12:29:30 
UTC 2012, machine i686. Hostname xxxxxxxxxxx, IP 127.0.1.1. Libxml version 
2.7.6. Using OpenSSL 0.9.8m 25 Feb 2010. Compiled with MySQL 5.1.45, using 
MySQL 5.1.61. Using SQLite 3.6.23. Using native malloc.

Status: running, uptime 0d 0h 46m 18s

WDP: received 0 (0 queued), sent 0 (0 queued)

SMS: received 111 (0 queued), sent 84 (0 queued), store size 550

SMS: inbound (0.00,0.02,0.04) msg/sec, outbound (0.01,0.01,0.03) msg/sec

DLR: 57 queued, using internal storage

Box connections:
    smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 0d 0h 46m 14s) 
SMSC connections:
    ice_modem    AT2[ice_modem] (re-connecting, rcvd 43, sent 43, failed 0, 
queued 268 msgs)
    claro_modem    AT2[claro_modem] (re-connecting, rcvd 68, sent 41, failed 0, 
queued 274 msgs)


********** SMSC.LOG ***************

2012-03-21 16:34:02 [18484] [6] INFO: AT2[ice_modem]: speed set to 9600
2012-03-21 16:34:02 [18484] [6] DEBUG: AT2[ice_modem]: --> ATZ^M
2012-03-21 16:34:04 [18484] [7] ERROR: AT2[claro_modem]: Second attempt to send 
AT failed
2012-03-21 16:34:04 [18484] [7] ERROR: AT2[claro_modem]: Initialization of 
device failed.
2012-03-21 16:34:04 [18484] [7] INFO: AT2[claro_modem]: Closing device
2012-03-21 16:34:04 [18484] [7] ERROR: AT2[claro_modem]: Couldn't connect 
(retrying in 10 seconds).
2012-03-21 16:34:06 [18484] [6] ERROR: AT2[ice_modem]: Wrong or no answer to 
ATZ, ignoring
2012-03-21 16:34:06 [18484] [6] DEBUG: AT2[ice_modem]: --> AT^M
2012-03-21 16:34:10 [18484] [6] ERROR: AT2[ice_modem]: Wrong or no answer to 
AT. Trying again
2012-03-21 16:34:10 [18484] [6] DEBUG: AT2[ice_modem]: --> AT^M
2012-03-21 16:34:14 [18484] [6] ERROR: AT2[ice_modem]: Second attempt to send 
AT failed
2012-03-21 16:34:14 [18484] [6] ERROR: AT2[ice_modem]: Initialization of device 
failed.
2012-03-21 16:34:14 [18484] [6] INFO: AT2[ice_modem]: Closing device
2012-03-21 16:34:14 [18484] [6] ERROR: AT2[ice_modem]: Couldn't connect 
(retrying in 10 seconds).
2012-03-21 16:34:14 [18484] [7] INFO: AT2[claro_modem]: opening device
2012-03-21 16:34:14 [18484] [7] DEBUG: AT2[claro_modem]: device opened. Telnet 
mode = 0
2012-03-21 16:34:15 [18484] [7] DEBUG: AT2[claro_modem]: device opened
2012-03-21 16:34:15 [18484] [7] INFO: AT2[claro_modem]: Logging in
2012-03-21 16:34:15 [18484] [7] INFO: AT2[claro_modem]: init device
2012-03-21 16:34:15 [18484] [7] INFO: AT2[claro_modem]: speed set to 9600
2012-03-21 16:34:15 [18484] [7] DEBUG: AT2[claro_modem]: --> ATZ^M
2012-03-21 16:34:16 [18484] [7] DEBUG: AT2[claro_modem]: <-- ^RSSI:24
2012-03-21 16:34:19 [18484] [7] ERROR: AT2[claro_modem]: Wrong or no answer to 
ATZ, ignoring
2012-03-21 16:34:19 [18484] [7] DEBUG: AT2[claro_modem]: --> AT^M
2012-03-21 16:34:22 [18484] [7] DEBUG: AT2[claro_modem]: <-- ^RSSI:24
2012-03-21 16:34:23 [18484] [7] ERROR: AT2[claro_modem]: Wrong or no answer to 
AT. Trying again
2012-03-21 16:34:23 [18484] [7] DEBUG: AT2[claro_modem]: --> AT^M
2012-03-21 16:34:24 [18484] [6] INFO: AT2[ice_modem]: opening device
2012-03-21 16:34:24 [18484] [6] DEBUG: AT2[ice_modem]: device opened. Telnet 
mode = 0
2012-03-21 16:34:25 [18484] [6] DEBUG: AT2[ice_modem]: device opened
2012-03-21 16:34:25 [18484] [6] INFO: AT2[ice_modem]: Logging in
2012-03-21 16:34:25 [18484] [6] INFO: AT2[ice_modem]: init device
2012-03-21 16:34:25 [18484] [6] INFO: AT2[ice_modem]: speed set to 9600
2012-03-21 16:34:25 [18484] [6] DEBUG: AT2[ice_modem]: --> ATZ^M


--
Allan Porras

Reply via email to