|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Tue Jul 01, 2025 01:35 |
Page: 1
Keywords: Mode: All keywords (AND) |
Wed May 31, 2017 17:35
|
daniel361:
Solved this finally with Huawei E169 UMTS stick, works out of the box.
Thanks for the support.
i have the same modem, but i cant receive sms, can u put yours config file?
Sure, here we go:
# Global configuration
#devices = modem1, modem2
devices = modem1
loglevel = 7
# logfiles
stats = /var/log/sms/stats
logfile = /var/log/sms/smsd.log
# Default queue directory = /var/spool/sms
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
# do not set report folder, let status report files saved in incoming
#report = /var/spool/sms/report
delaytime = 2
errorsleeptime = 10
blocktime = 180
autosplit = 3
#receive_before_send = yes
incoming_utf8 = yes
# Queue configurations
[queues]
modem1 = /var/spool/sms
#modem2 = /var/spool/sms/modem2
# Modem configurations
# Modem name: modem1
# Modem type: Wavecom USB
[modem1]
#init=AT+CPMS="SM","SM","SM"
init=AT+CPMS="ME","ME","ME"
device = /dev/ttyUSB2
baudrate = 19200
incoming = yes
#pin = 3391
report = yes
queues = modem1
decode_unicode_text = yes
cs_convert = yes
signal_quality_ber_ignore = yes
memory_start = 0
|
Tue May 23, 2017 13:21
|
daniel361: Solved this finally with Huawei E169 UMTS stick, works out of the box.
Thanks for the support.
|
Thu Apr 27, 2017 21:42
|
daniel361: I will completely reinstall this thing. Funny thing is that it worked a short time, didn't change anything (afaik)... we will see ;)
|
Thu Apr 27, 2017 10:36
|
daniel361: I changed SIM with no luck.
Could you recommend another 3G modem that will work ?
|
Sun Apr 23, 2017 23:12
|
daniel361: Nothing changed :(
Do you mean these details ?
2017-04-24 01:08:45,7, modem1: ## Start of device details
2017-04-24 01:08:45,7, modem1: # Manufacturer identification:
2017-04-24 01:08:45,7, modem1: -> AT+CGMI
2017-04-24 01:08:45,7, modem1: <- huawei
OK
2017-04-24 01:08:45,7, modem1: # Model identification:
2017-04-24 01:08:45,7, modem1: -> AT+CGMM
2017-04-24 01:08:45,7, modem1: <- E3131
OK
2017-04-24 01:08:45,7, modem1: # Revision identification:
2017-04-24 01:08:46,7, modem1: -> AT+CGMR
2017-04-24 01:08:46,7, modem1: <- 22.157.39.00.105
OK
2017-04-24 01:08:46,7, modem1: # New message indications, list of supported modes:
2017-04-24 01:08:46,7, modem1: -> AT+CNMI=?
2017-04-24 01:08:46,7, modem1: <- +CNMI: (0-2),(0-3),(0,2),(0-2),(0,1)
OK
2017-04-24 01:08:46,7, modem1: # New message indications, current settings:
2017-04-24 01:08:46,7, modem1: -> AT+CNMI?
2017-04-24 01:08:46,7, modem1: <- +CNMI: 2,1,2,2,0
OK
2017-04-24 01:08:46,7, modem1: # Preferred message storage, list of supported mem's:
2017-04-24 01:08:46,7, modem1: -> AT+CPMS=?
2017-04-24 01:08:46,7, modem1: <- +CPMS: ("SM","ME"),("SM","ME"),("SM","ME")
OK
2017-04-24 01:08:46,7, modem1: # Phonebook storage, available mem's:
2017-04-24 01:08:46,7, modem1: -> AT+CPBS=?
2017-04-24 01:08:46,7, modem1: <- +CPBS: ("SM","EN","ON")
OK
2017-04-24 01:08:46,7, modem1: # List messages, list of supported stat's:
2017-04-24 01:08:46,7, modem1: -> AT+CMGL=?
2017-04-24 01:08:46,7, modem1: <- +CMGL: (0-4)
OK
2017-04-24 01:08:46,7, modem1: # Delete message, list of supported values:
2017-04-24 01:08:46,7, modem1: -> AT+CMGD=?
2017-04-24 01:08:46,7, modem1: <- +CMGD: (),(0-4)
OK
2017-04-24 01:08:46,7, modem1: # Phone activity status, list of supported stat's:
2017-04-24 01:08:46,7, modem1: -> AT+CPAS=?
2017-04-24 01:08:46,7, modem1: <- +CPAS: (0-5)
OK
2017-04-24 01:08:46,7, modem1: # TE character set, list of supported charset's:
2017-04-24 01:08:46,7, modem1: -> AT+CSCS=?
2017-04-24 01:08:47,7, modem1: <- +CSCS: ("IRA","UCS2","GSM")
OK
2017-04-24 01:08:47,7, modem1: # TE character set, current setting:
2017-04-24 01:08:47,7, modem1: -> AT+CSCS?
2017-04-24 01:08:47,7, modem1: <- +CSCS: "IRA"
OK
2017-04-24 01:08:47,7, modem1: ## End of device details
|
Sun Apr 23, 2017 22:12
|
daniel361: Well, the messages are visible over the web inteface of the modem, when I stick it into my windows pc....
I just sent another SMS, here is the log, says nothing to me...
root@smsgw:/etc/smstools3# tail -f /var/log/smsd.log
2017-04-24 00:10:17,6, modem1: Selecting PDU mode
2017-04-24 00:10:17,7, modem1: -> AT+CMGF=0
2017-04-24 00:10:17,7, modem1: Command is sent, waiting for the answer. (5)
2017-04-24 00:10:17,7, modem1: <- OK
2017-04-24 00:10:17,6, modem1: Checking memory size
2017-04-24 00:10:17,7, modem1: -> AT+CPMS?
2017-04-24 00:10:17,7, modem1: Command is sent, waiting for the answer. (5)
2017-04-24 00:10:17,7, modem1: <- +CPMS: "SM",0,10,"SM",0,10,"SM",0,10 OK
2017-04-24 00:10:17,6, modem1: Used memory is 0 of 10
2017-04-24 00:10:17,6, modem1: No SMS received
2017-04-24 00:10:19,6, modem1: Checking device for incoming SMS
2017-04-24 00:10:19,6, modem1: Checking if modem is ready
2017-04-24 00:10:19,7, modem1: -> AT
2017-04-24 00:10:19,7, modem1: Command is sent, waiting for the answer. (5)
2017-04-24 00:10:19,7, modem1: <- OK
2017-04-24 00:10:19,6, modem1: Pre-initializing modem
2017-04-24 00:10:20,7, modem1: -> ATE0;+CMEE=1;+CREG=2
2017-04-24 00:10:20,7, modem1: Command is sent, waiting for the answer. (10)
2017-04-24 00:10:20,7, modem1: <- OK
2017-04-24 00:10:20,6, modem1: Initializing modem
2017-04-24 00:10:20,7, modem1: -> AT+CPMS="SM","SM","SM"
2017-04-24 00:10:20,7, modem1: Command is sent, waiting for the answer. (10)
2017-04-24 00:10:20,7, modem1: <- +CPMS: 0,10,0,10,0,10 OK
2017-04-24 00:10:20,7, modem1: -> AT+CSQ
2017-04-24 00:10:20,7, modem1: Command is sent, waiting for the answer. (10)
2017-04-24 00:10:20,7, modem1: <- +CSQ: 8,99 OK
2017-04-24 00:10:20,6, modem1: Signal Strength Indicator: (8,99) -97 dBm (Marginal), Bit Error Rate: not known or not detectable
2017-04-24 00:10:20,6, modem1: Checking if Modem is registered to the network
2017-04-24 00:10:20,7, modem1: -> AT+CREG?
2017-04-24 00:10:20,7, modem1: Command is sent, waiting for the answer. (10)
2017-04-24 00:10:20,7, modem1: <- +CREG: 2,5,"558E","8181" OK
2017-04-24 00:10:20,6, modem1: Modem is registered to a roaming partner network
2017-04-24 00:10:20,6, modem1: Selecting PDU mode
2017-04-24 00:10:20,7, modem1: -> AT+CMGF=0
2017-04-24 00:10:20,7, modem1: Command is sent, waiting for the answer. (5)
2017-04-24 00:10:20,7, modem1: <- OK
2017-04-24 00:10:20,6, modem1: Checking memory size
2017-04-24 00:10:20,7, modem1: -> AT+CPMS?
2017-04-24 00:10:20,7, modem1: Command is sent, waiting for the answer. (5)
2017-04-24 00:10:20,7, modem1: <- +CPMS: "SM",0,10,"SM",0,10,"SM",0,10 OK
2017-04-24 00:10:20,6, modem1: Used memory is 0 of 10
2017-04-24 00:10:20,6, modem1: No SMS received
2017-04-24 00:10:22,6, modem1: Checking device for incoming SMS
2017-04-24 00:10:22,6, modem1: Checking if modem is ready
2017-04-24 00:10:22,7, modem1: -> AT
2017-04-24 00:10:22,7, modem1: Command is sent, waiting for the answer. (5)
2017-04-24 00:10:22,7, modem1: <- OK
2017-04-24 00:10:22,6, modem1: Pre-initializing modem
2017-04-24 00:10:22,7, modem1: -> ATE0;+CMEE=1;+CREG=2
2017-04-24 00:10:22,7, modem1: Command is sent, waiting for the answer. (10)
2017-04-24 00:10:22,7, modem1: <- OK
2017-04-24 00:10:22,6, modem1: Initializing modem
2017-04-24 00:10:22,7, modem1: -> AT+CPMS="SM","SM","SM"
2017-04-24 00:10:22,7, modem1: Command is sent, waiting for the answer. (10)
2017-04-24 00:10:23,7, modem1: <- +CPMS: 0,10,0,10,0,10 OK
2017-04-24 00:10:23,7, modem1: -> AT+CSQ
2017-04-24 00:10:23,7, modem1: Command is sent, waiting for the answer. (10)
2017-04-24 00:10:23,7, modem1: <- +CSQ: 8,99 OK
2017-04-24 00:10:23,6, modem1: Signal Strength Indicator: (8,99) -97 dBm (Marginal), Bit Error Rate: not known or not detectable
2017-04-24 00:10:23,6, modem1: Checking if Modem is registered to the network
2017-04-24 00:10:23,7, modem1: -> AT+CREG?
2017-04-24 00:10:23,7, modem1: Command is sent, waiting for the answer. (10)
2017-04-24 00:10:23,7, modem1: <- +CREG: 2,5,"558E","8181" OK
2017-04-24 00:10:23,6, modem1: Modem is registered to a roaming partner network
2017-04-24 00:10:23,6, modem1: Selecting PDU mode
2017-04-24 00:10:23,7, modem1: -> AT+CMGF=0
2017-04-24 00:10:23,7, modem1: Command is sent, waiting for the answer. (5)
2017-04-24 00:10:23,7, modem1: <- OK
2017-04-24 00:10:23,6, modem1: Checking memory size
2017-04-24 00:10:23,7, modem1: -> AT+CPMS?
2017-04-24 00:10:23,7, modem1: Command is sent, waiting for the answer. (5)
2017-04-24 00:10:23,7, modem1: <- +CPMS: "SM",0,10,"SM",0,10,"SM",0,10 OK
2017-04-24 00:10:23,6, modem1: Used memory is 0 of 10
2017-04-24 00:10:23,6, modem1: No SMS received
2017-04-24 00:10:25,6, modem1: Checking device for incoming SMS
2017-04-24 00:10:25,6, modem1: Checking if modem is ready
2017-04-24 00:10:25,7, modem1: -> AT
2017-04-24 00:10:25,7, modem1: Command is sent, waiting for the answer. (5)
2017-04-24 00:10:25,7, modem1: <- OK
2017-04-24 00:10:25,6, modem1: Pre-initializing modem
2017-04-24 00:10:25,7, modem1: -> ATE0;+CMEE=1;+CREG=2
2017-04-24 00:10:25,7, modem1: Command is sent, waiting for the answer. (10)
2017-04-24 00:10:25,7, modem1: <- OK
2017-04-24 00:10:25,6, modem1: Initializing modem
2017-04-24 00:10:25,7, modem1: -> AT+CPMS="SM","SM","SM"
2017-04-24 00:10:25,7, modem1: Command is sent, waiting for the answer. (10)
2017-04-24 00:10:25,7, modem1: <- +CPMS: 0,10,0,10,0,10 OK
2017-04-24 00:10:25,7, modem1: -> AT+CSQ
2017-04-24 00:10:25,7, modem1: Command is sent, waiting for the answer. (10)
2017-04-24 00:10:25,7, modem1: <- +CSQ: 8,99 OK
2017-04-24 00:10:25,6, modem1: Signal Strength Indicator: (8,99) -97 dBm (Marginal), Bit Error Rate: not known or not detectable
2017-04-24 00:10:25,6, modem1: Checking if Modem is registered to the network
2017-04-24 00:10:26,7, modem1: -> AT+CREG?
2017-04-24 00:10:26,7, modem1: Command is sent, waiting for the answer. (10)
2017-04-24 00:10:26,7, modem1: <- +CREG: 2,5,"558E","8181" OK
2017-04-24 00:10:26,6, modem1: Modem is registered to a roaming partner network
2017-04-24 00:10:26,6, modem1: Selecting PDU mode
2017-04-24 00:10:26,7, modem1: -> AT+CMGF=0
2017-04-24 00:10:26,7, modem1: Command is sent, waiting for the answer. (5)
2017-04-24 00:10:26,7, modem1: <- OK
2017-04-24 00:10:26,6, modem1: Checking memory size
2017-04-24 00:10:26,7, modem1: -> AT+CPMS?
2017-04-24 00:10:26,7, modem1: Command is sent, waiting for the answer. (5)
2017-04-24 00:10:26,7, modem1: <- +CPMS: "SM",0,10,"SM",0,10,"SM",0,10 OK
2017-04-24 00:10:26,6, modem1: Used memory is 0 of 10
2017-04-24 00:10:26,6, modem1: No SMS received
|
Sun Apr 23, 2017 21:46
|
daniel361: Thanks for your quick reply.
I changed my conf as recommended by you (btw I alredy tried different baudrates).
Here's my output:
2017-04-23 23:43:11,7, modem1: # Preferred message storage, list of supported mem's:
2017-04-23 23:43:11,7, modem1: -> AT+CPMS=?
2017-04-23 23:43:11,7, modem1: <- +CPMS: ("SM","ME"),("SM","ME"),("SM","ME")
Is my init string correct ?
I sent a SMS to the device, with nothing showing up in the log.
2017-04-23 23:45:25,6, modem1: Checking memory size
2017-04-23 23:45:25,7, modem1: -> AT+CPMS?
2017-04-23 23:45:25,7, modem1: Command is sent, waiting for the answer. (5)
2017-04-23 23:45:25,7, modem1: <- +CPMS: "SM",0,10,"SM",0,10,"SM",0,10 OK
2017-04-23 23:45:25,6, modem1: Used memory is 0 of 10
2017-04-23 23:45:25,6, modem1: No SMS received
2017-04-23 23:45:27,6, modem1: Checking device for incoming SMS
2017-04-23 23:45:27,6, modem1: Checking if modem is ready
2017-04-23 23:45:27,7, modem1: -> AT
2017-04-23 23:45:27,7, modem1: Command is sent, waiting for the answer. (5)
2017-04-23 23:45:27,7, modem1: <- OK
2017-04-23 23:45:27,6, modem1: Pre-initializing modem
2017-04-23 23:45:28,7, modem1: -> ATE0;+CMEE=1;+CREG=2
2017-04-23 23:45:28,7, modem1: Command is sent, waiting for the answer. (10)
2017-04-23 23:45:28,7, modem1: <- OK
2017-04-23 23:45:28,6, modem1: Initializing modem
2017-04-23 23:45:28,7, modem1: -> AT+CPMS="SM","SM","SM"
2017-04-23 23:45:28,7, modem1: Command is sent, waiting for the answer. (10)
2017-04-23 23:45:28,7, modem1: <- +CPMS: 0,10,0,10,0,10 OK
2017-04-23 23:45:28,7, modem1: -> AT+CSQ
2017-04-23 23:45:28,7, modem1: Command is sent, waiting for the answer. (10)
2017-04-23 23:45:28,7, modem1: <- +CSQ: 8,99 OK
2017-04-23 23:45:28,6, modem1: Signal Strength Indicator: (8,99) -97 dBm (Marginal), Bit Error Rate: not known or not detectable
2017-04-23 23:45:28,6, modem1: Checking if Modem is registered to the network
2017-04-23 23:45:28,7, modem1: -> AT+CREG?
2017-04-23 23:45:28,7, modem1: Command is sent, waiting for the answer. (10)
2017-04-23 23:45:28,7, modem1: <- +CREG: 2,5,"558E","8181" OK
2017-04-23 23:45:28,6, modem1: Modem is registered to a roaming partner network
2017-04-23 23:45:28,6, modem1: Selecting PDU mode
2017-04-23 23:45:28,7, modem1: -> AT+CMGF=0
2017-04-23 23:45:28,7, modem1: Command is sent, waiting for the answer. (5)
2017-04-23 23:45:28,7, modem1: <- OK
2017-04-23 23:45:28,6, modem1: Checking memory size
2017-04-23 23:45:28,7, modem1: -> AT+CPMS?
2017-04-23 23:45:28,7, modem1: Command is sent, waiting for the answer. (5)
2017-04-23 23:45:28,7, modem1: <- +CPMS: "SM",0,10,"SM",0,10,"SM",0,10 OK
2017-04-23 23:45:28,6, modem1: Used memory is 0 of 10
2017-04-23 23:45:28,6, modem1: No SMS received
thanks
|
Sun Apr 23, 2017 21:23
|
daniel361: Operating system name and version: Raspbian Jessie
Version of smsd: 3.1.20
Smsd installed from: sources
Name and model of a modem / phone: Huawei E3131
Interface: /dev/ttyUSB0
Hi,
I'm struggling for hours with sms3 receiving sms. It worked till I had to change the SIM card.
I tried alot of Init strings, but it still says "No sms received", sending via playsms works likes a charm.
Here is my conf:
# Global configuration
#devices = modem1, modem2
devices = modem1
loglevel = 7
# logfiles
stats = /var/log/sms/stats
logfile = /var/log/sms/smsd.log
# Default queue directory = /var/spool/sms
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
# do not set report folder, let status report files saved in incoming
#report = /var/spool/sms/report
delaytime = 2
errorsleeptime = 10
blocktime = 180
autosplit = 3
#receive_before_send = yes
incoming_utf8 = yes
# Queue configurations
[queues]
modem1 = /var/spool/sms/modem1
#modem2 = /var/spool/sms/modem2
# Modem configurations
# Modem name: modem1
# Modem type: Wavecom USB
[modem1]
#init = AT+CNMI=2,2,0,1,0;+CMEE=1
#init = AT+CPMS="ME","ME","ME"
init=AT+CPMS="SM","SM","SM"
device = /dev/ttyUSB0
baudrate = 19200
incoming = yes
#pin = 3391
report = yes
queues = modem1
decode_unicode_text = yes
cs_convert = yes
Any help is appreciated :)
Thanks Dan
|
Page: 1
Time in this board is UTC.
|
|
|
 |
|
 |
|