ulf5: This is the working config:
init = AT+CPMS="SM","SM","SM"
device = /dev/ttyUSB3
incoming = yes
outgoing = yes
smsc = 491710760000
report = yes
memory_start = 0
check_memory_method = 1
|
ulf5: Operating system name and version: OpenMediaVault 1.8 (Kralizec) - a Debian 7.0x
Version of smsd: Version 3.1.14
Smsd installed from: package repository
Name and model of a modem / phone: UMTS-USB-Stick XS Stick W14
Interface: USB
Hello @all,
I have a problem reciving sms by using smstools.
There is no error sending sms - this part works perfect.
Here is the conf-file:
devices = GSM1
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
incoming = /var/spool/sms/incoming
logfile = /var/log/smstools/smsd.log
infofile = /var/run/smstools/smsd.working
pidfile = /var/run/smstools/smsd.pid
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
failed = /var/spool/sms/failed
incoming = /var/spool/sms/incoming
sent = /var/spool/sms/sent
stats = /var/log/smstools/smsd_stats
loglevel = 8
receive_before_send = no
autosplit = 3
[GSM1]
# //ORIGINAL init = ATE0+CPMS="SM"+CNMI=2,0,0,2,1 <- I tried several times
# init = AT+CPMS="ME","ME","ME" <- I tried this too
init = AT
device = /dev/ttyUSB3
incoming = yes
# pin = 1111
# baudrate = 19200
report = yes
memory_start = 0
check_memory_method = 31
The log-file says allways:
2015-01-15 14:22:32,6, GSM1: Checking device for incoming SMS
2015-01-15 14:22:32,6, GSM1: Checking if modem is ready
2015-01-15 14:22:32,7, GSM1: -> AT
2015-01-15 14:22:32,7, GSM1: Command is sent, waiting for the answer
2015-01-15 14:22:32,7, GSM1: <- OK
2015-01-15 14:22:32,6, GSM1: Pre-initializing modem
2015-01-15 14:22:33,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2015-01-15 14:22:33,7, GSM1: Command is sent, waiting for the answer
2015-01-15 14:22:33,7, GSM1: <- OK
2015-01-15 14:22:33,6, GSM1: Initializing modem
2015-01-15 14:22:33,7, GSM1: -> AT
2015-01-15 14:22:33,7, GSM1: Command is sent, waiting for the answer
2015-01-15 14:22:33,7, GSM1: <- OK
2015-01-15 14:22:34,7, GSM1: -> AT+CSQ
2015-01-15 14:22:34,7, GSM1: Command is sent, waiting for the answer
2015-01-15 14:22:34,7, GSM1: <- +CSQ: 12,90 OK
2015-01-15 14:22:34,6, GSM1: Signal Strength Indicator: (12,90) -89 dBm (Workable), Bit Error Rate: not known or not detectable
2015-01-15 14:22:34,6, GSM1: Checking if Modem is registered to the network
2015-01-15 14:22:34,7, GSM1: -> AT+CREG?
2015-01-15 14:22:34,7, GSM1: Command is sent, waiting for the answer
2015-01-15 14:22:34,7, GSM1: <- +CREG: 2,1, 37B0, 5473EF OK
2015-01-15 14:22:34,6, GSM1: Modem is registered to the network
2015-01-15 14:22:34,6, GSM1: Selecting PDU mode
2015-01-15 14:22:35,7, GSM1: -> AT+CMGF=0
2015-01-15 14:22:35,7, GSM1: Command is sent, waiting for the answer
2015-01-15 14:22:35,7, GSM1: <- OK
2015-01-15 14:22:35,6, GSM1: Checking memory size
2015-01-15 14:22:35,7, GSM1: -> AT+CMGL=4
2015-01-15 14:22:35,7, GSM1: Command is sent, waiting for the answer
2015-01-15 14:22:35,7, GSM1: <- OK
2015-01-15 14:22:35,6, GSM1: Used memory is 0
2015-01-15 14:22:35,6, GSM1: No SMS received
If anyone has an idea please give me a hint :D
thx
ulf5
|