shakin13: Operating system name and version: CentOS release 6.5 (Final)
Version of smsd: Version 3.1.15
Smsd installed from: package repository
Name and model of a modem: huawei e171
Interface: USB
Hello!
I have a problem with huawei e171, outgoing sms are ok
but incoming sms works with bugs.
tail /var/log/smsd/smsd.log -f
2015-06-11 16:43:34,2, smsd: Smsd v3.1.15 started.
2015-06-11 16:43:34,2, smsd: Running as smstools:smstools.
2015-06-11 16:43:34,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.DLqpNn /tmp/smsd_data.8Wgqf0
2015-06-11 16:43:34,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2015-06-11 16:43:34,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2015-06-11 16:43:34,5, smsd: Outgoing file checker has started. PID: 19023.
2015-06-11 16:43:34,7, smsd: All PID's: 19023,19025
2015-06-11 16:43:34,3, smsd: Cannot handle /var/spool/sms/outgoing/send_vwOTpf: Access denied. Check the file and directory permissions.
2015-06-11 16:43:34,3, smsd: Cannot handle /var/spool/sms/outgoing/send_7tWfR2: Access denied. Check the file and directory permissions.
2015-06-11 16:43:34,3, smsd: Cannot handle /var/spool/sms/outgoing/send_W8EC06: Access denied. Check the file and directory permissions.
2015-06-11 16:43:34,5, huawei: Modem handler 0 has started. PID: 19025.
2015-06-11 16:43:34,3, smsd: Cannot handle /var/spool/sms/outgoing/send_leLTbh: Access denied. Check the file and directory permissions.
2015-06-11 16:43:34,5, huawei: Using check_memory_method 1: CPMS is used.
2015-06-11 16:43:34,6, huawei: Checking device for incoming SMS
2015-06-11 16:43:34,6, huawei: Checking if modem is ready
2015-06-11 16:43:34,7, huawei: -> AT
2015-06-11 16:43:34,7, huawei: Command is sent, waiting for the answer
2015-06-11 16:43:34,7, huawei: <- AT OK
2015-06-11 16:43:34,6, huawei: Pre-initializing modem
2015-06-11 16:43:34,7, huawei: -> ATE0+CMEE=1;+CREG=2
2015-06-11 16:43:34,7, huawei: Command is sent, waiting for the answer
2015-06-11 16:43:35,7, huawei: <- ATE0+CMEE=1;+CREG=2 OK
2015-06-11 16:43:35,6, huawei: Checking if modem needs PIN
2015-06-11 16:43:35,7, huawei: -> AT+CPIN?
2015-06-11 16:43:35,7, huawei: Command is sent, waiting for the answer
2015-06-11 16:43:35,7, huawei: <- +CPIN: READY OK
2015-06-11 16:43:35,6, huawei: Initializing modem
2015-06-11 16:43:36,7, huawei: -> AT+CPMS="MT"
2015-06-11 16:43:36,7, huawei: Command is sent, waiting for the answer
2015-06-11 16:43:36,7, huawei: <- +CPMS: 1,23,0,10,0,0 OK
2015-06-11 16:43:36,7, huawei: -> AT+CSQ
2015-06-11 16:43:36,7, huawei: Command is sent, waiting for the answer
2015-06-11 16:43:36,7, huawei: <- +CSQ: 17,99 OK
2015-06-11 16:43:36,6, huawei: Signal Strength Indicator: (17,99) -79 dBm (Good), Bit Error Rate: not known or not detectable
2015-06-11 16:43:36,6, huawei: Checking if Modem is registered to the network
2015-06-11 16:43:37,7, huawei: -> AT+CREG?
2015-06-11 16:43:37,7, huawei: Command is sent, waiting for the answer
2015-06-11 16:43:37,7, huawei: <- +CREG: 2,1, 2B85, 8F5 OK
2015-06-11 16:43:37,6, huawei: Modem is registered to the network
2015-06-11 16:43:37,6, huawei: Location area code: 2B85, Cell ID: 8F5
2015-06-11 16:43:37,7, huawei: -> AT+CSQ
2015-06-11 16:43:37,7, huawei: Command is sent, waiting for the answer
2015-06-11 16:43:37,7, huawei: <- +CSQ: 17,99 OK
2015-06-11 16:43:37,6, huawei: Signal Strength Indicator: (17,99) -79 dBm (Good), Bit Error Rate: not known or not detectable
2015-06-11 16:43:37,6, huawei: Selecting PDU mode
2015-06-11 16:43:38,7, huawei: -> AT+CMGF=0
2015-06-11 16:43:38,7, huawei: Command is sent, waiting for the answer
2015-06-11 16:43:38,7, huawei: <- OK
2015-06-11 16:43:38,7, huawei: -> AT+CIMI
2015-06-11 16:43:38,7, huawei: Command is sent, waiting for the answer
2015-06-11 16:43:38,7, huawei: <- 250203801326408 OK
2015-06-11 16:43:39,7, huawei: -> AT+CGSN
2015-06-11 16:43:39,7, huawei: Command is sent, waiting for the answer
2015-06-11 16:43:39,7, huawei: <- 354807047791561 OK
2015-06-11 16:43:39,5, huawei: CGSN: 354807047791561
2015-06-11 16:43:39,5, huawei: IMSI: 250203801326408
2015-06-11 16:43:39,6, huawei: Checking if reading of messages is supported
2015-06-11 16:43:39,7, huawei: -> AT+CPMS?
2015-06-11 16:43:39,7, huawei: Command is sent, waiting for the answer
2015-06-11 16:43:39,7, huawei: <- +CPMS: "MT",1,23,"SM",0,10,"SR",0,0 OK
2015-06-11 16:43:39,6, huawei: Checking memory size
2015-06-11 16:43:40,7, huawei: -> AT+CPMS?
2015-06-11 16:43:40,7, huawei: Command is sent, waiting for the answer
2015-06-11 16:43:40,7, huawei: <- +CPMS: "MT",1,23,"SM",0,10,"SR",0,0 OK
2015-06-11 16:43:40,6, huawei: Used memory is 1 of 23
2015-06-11 16:43:40,6, huawei: Trying to get stored message 1
2015-06-11 16:43:40,7, huawei: -> AT+CMGR=1
2015-06-11 16:43:40,7, huawei: Command is sent, waiting for the answer
2015-06-11 16:43:40,7, huawei: <- OK
2015-06-11 16:43:40,6, huawei: Trying to get stored message 2
2015-06-11 16:43:41,7, huawei: -> AT+CMGR=2
2015-06-11 16:43:41,7, huawei: Command is sent, waiting for the answer
2015-06-11 16:43:41,7, huawei: <- OK
......
......
2015-06-11 16:43:50,6, huawei: Trying to get stored message 22
2015-06-11 16:43:51,7, huawei: -> AT+CMGR=22
2015-06-11 16:43:51,7, huawei: Command is sent, waiting for the answer
2015-06-11 16:43:51,7, huawei: <- OK
2015-06-11 16:43:51,6, huawei: Trying to get stored message 23
2015-06-11 16:43:51,7, huawei: -> AT+CMGR=23
2015-06-11 16:43:51,7, huawei: Command is sent, waiting for the answer
2015-06-11 16:43:51,7, huawei: <- +CMS ERROR: 321 (Invalid memory index)
2015-06-11 16:43:51,6, huawei: No SMS received (reading interrupted)
What can I do/check/edit to resolve the problem?
config
[huawei]
device = /dev/ttyUSB0
baudrate = 115200
rtscts = no
init = AT+CPMS="MT"
incoming = yes
|