Howdy All,

I am having a problem where SMS's stop being received after a minute or two
of inactivity.  Receiving the messages works fine immediately after startup
but then nothing.

This is using a Sierra Wireless 875 PCMCIA aircard, using the following
config.  Log is attached below showing reception of one message, but then
nothing even though the keep-alive messages are ACK'ing ok.

group = smsc
smsc = at
modemtype = auto
device=/dev/ttyUSB0
my-number = 12063595733
connect-allow-ip = 127.0.0.1
keepalive=60
log-level = 0

I'm using a 60 second keepalive but that doesn't seem to be helping.  Any
other ideas?

2009-07-19 11:18:52 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: Found <14> modems
in config
2009-07-19 11:18:52 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT+CSMS=?^M
2009-07-19 11:18:52 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- +CSMS: (0-1)
2009-07-19 11:18:52 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2009-07-19 11:18:52 [10835] [6] INFO: AT2[/dev/ttyUSB0]: Closing device
2009-07-19 11:18:52 [10835] [6] INFO: AT2[/dev/ttyUSB0]: opening device
2009-07-19 11:18:52 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened.
Telnet mode = 0
2009-07-19 11:18:52 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened
2009-07-19 11:18:52 [10835] [6] INFO: AT2[/dev/ttyUSB0]: Logging in
2009-07-19 11:18:53 [10835] [6] INFO: AT2[/dev/ttyUSB0]: init device
2009-07-19 11:18:53 [10835] [6] INFO: AT2[/dev/ttyUSB0]: speed set to 115200
2009-07-19 11:18:53 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ATZ^M
2009-07-19 11:18:53 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2009-07-19 11:18:53 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M
2009-07-19 11:18:53 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- AT
2009-07-19 11:18:53 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2009-07-19 11:18:53 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT&F^M
2009-07-19 11:18:53 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- AT&F
2009-07-19 11:18:53 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2009-07-19 11:18:53 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ATE0^M
2009-07-19 11:18:53 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- ATE0
2009-07-19 11:18:53 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2009-07-19 11:18:53 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT+IFC=2,2^M
2009-07-19 11:18:53 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2009-07-19 11:18:53 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT+CPIN?^M
2009-07-19 11:18:54 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- +CPIN: READY
2009-07-19 11:18:54 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2009-07-19 11:18:54 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT+CMGF=0^M
2009-07-19 11:18:54 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2009-07-19 11:18:54 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT+CSMS=?^M
2009-07-19 11:18:54 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- +CSMS: (0-1)
2009-07-19 11:18:54 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2009-07-19 11:18:54 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: -->
AT+CNMI=1,2,0,1,0^M
2009-07-19 11:18:54 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2009-07-19 11:18:54 [10835] [6] INFO: AT2[/dev/ttyUSB0]: AT SMSC
successfully opened.
2009-07-19 11:18:56 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M
2009-07-19 11:18:56 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2009-07-19 11:19:23 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- +CMT: ,26
2009-07-19 11:19:23 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: <--
07914140540500F8040B912160779992F400009070911191918A07CBB2DB5D26E701
2009-07-19 11:19:23 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: received message
from SMSC: +14044550008
2009-07-19 11:19:23 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: Numeric sender
(international) <+12067799294>
2009-07-19 11:19:23 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: User data length
read as (7)
2009-07-19 11:19:23 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: Udh decoding done
len=7 udhi=0 udhlen=0 udh=''
2009-07-19 11:19:23 [10835] [18] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2009-07-19 11:19:23 [10835] [18] DEBUG: boxc_sender: sent message to
<127.0.0.1>
2009-07-19 11:19:23 [10835] [17] DEBUG: boxc_receiver: got ack
2009-07-19 11:19:48 [10835] [17] DEBUG: boxc_receiver: heartbeat with load
value 0 received
2009-07-19 11:19:58 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M
2009-07-19 11:19:58 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2009-07-19 11:21:00 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M
2009-07-19 11:21:00 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2009-07-19 11:22:02 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M
2009-07-19 11:22:02 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2009-07-19 11:23:04 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M
2009-07-19 11:23:04 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2009-07-19 11:24:06 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M
2009-07-19 11:24:06 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2009-07-19 11:25:08 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M
2009-07-19 11:25:08 [10835] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK

Reply via email to