|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Sat Mar 15, 2025 00:20 |
Page: 1
Keywords: Mode: All keywords (AND) |
Fri Mar 22, 2019 17:08
|
helianthus: Operating system name and version: debian stretch
Version of smsd: 3.1.15
Smsd installed from: package repository
Name and model of a modem / phone: dell dw5550
Interface: serial
Hi
U can add this modem to hardware compability. Works fine.
Best regards
Sophie
|
Wed Jun 07, 2017 13:27
|
|
Mon Jun 05, 2017 10:55
|
helianthus: KEKE, u r a hero! ;)
Huawei e353 works geat!
I've only changed init command to "init=AT+CPMS="SM","SM","SM""
and i;m receiving smses, too :D
Thx for your help and patience ;)
|
Thu Jun 01, 2017 14:49
|
helianthus: thx! I need only sending/receiving sms. I've just bought that e353. We will see ;)
|
Thu Jun 01, 2017 14:33
|
helianthus:
On the other topic daniel361 was using E3131 which had the similar problem. He was talking about some "web interface of the modem", but I do not know anything about those interfaces. If the modem does not show messages through the standard AT command interface, it is not compatible with smstools. Sorry. :(
thx, i will see it, but now, can u recommend me any modem working good with smstools?
|
Thu Jun 01, 2017 14:32
|
helianthus: ok, modem is responding only on USB0.
So...
|
Thu Jun 01, 2017 14:16
|
helianthus: after sending sms to modem from another phone
# smsd -C GSM1
Communicating with GSM1. ( Press Ctrl-C to abort. )
( If you need to send Ctrl-Z, change the suspend character first, like stty susp \^N )
Default device is /dev/ttyUSB0
Press Enter to start or type an another device name.
Opening device /dev/ttyUSB0
Ready.
OK
OK
+CPMS: "ME",0,23,"ME",0,23,"ME",0,23
OK
+CPMS: 0,30,0,23,0,23
OK
+CPMS: 0,23,0,23,0,23
OK
+CPMS: 0,30,0,23,0,23
OK
#edit, damn, it cant be :(
|
Thu Jun 01, 2017 14:04
|
helianthus: # smsd -C GSM1
Communicating with GSM1. ( Press Ctrl-C to abort. )
( If you need to send Ctrl-Z, change the suspend character first, like stty susp \^N )
Default device is /dev/ttyUSB0
Press Enter to start or type an another device name.
Opening device /dev/ttyUSB0
Ready.
OK
OK
+CPMS: "ME",0,23,"ME",0,23,"ME",0,23
OK
+CPMS: 0,30,0,23,0,23
OK
+CPMS: 0,23,0,23,0,23
OK
+CPMS: 0,30,0,23,0,23
OK
done all :)
after sendign sms to this number:
smsd -C GSM1
Communicating with GSM1. ( Press Ctrl-C to abort. )
( If you need to send Ctrl-Z, change the suspend character first, like stty susp \^N )
Default device is /dev/ttyUSB0
Press Enter to start or type an another device name.
Opening device /dev/ttyUSB0
Ready.
OK
OK
+CPMS: "ME",0,23,"ME",0,23,"ME",0,23
OK
+CPMS: 0,30,0,23,0,23
OK
+CPMS: 0,30,0,23,0,23
OK
|
Thu Jun 01, 2017 13:46
|
helianthus: # smsd -C GSM1
Communicating with GSM1. ( Press Ctrl-C to abort. )
( If you need to send Ctrl-Z, change the suspend character first, like stty susp \^N )
Default device is /dev/ttyUSB0
Press Enter to start or type an another device name.
Opening device /dev/ttyUSB0
Ready.
root@vsns:/tmp# smsd -C GSM1
Communicating with GSM1. ( Press Ctrl-C to abort. )
( If you need to send Ctrl-Z, change the suspend character first, like stty susp \^N )
Default device is /dev/ttyUSB0
Press Enter to start or type an another device name.
/dev/ttyUSB1
Opening device /dev/ttyUSB1
Ready.
root@vsns:/tmp# smsd -C GSM1
Communicating with GSM1. ( Press Ctrl-C to abort. )
( If you need to send Ctrl-Z, change the suspend character first, like stty susp \^N )
Default device is /dev/ttyUSB0
Press Enter to start or type an another device name.
/dev/ttyUSB2
Opening device /dev/ttyUSB2
Ready.
root@vsns:/tmp# smsd -C GSM1
Communicating with GSM1. ( Press Ctrl-C to abort. )
( If you need to send Ctrl-Z, change the suspend character first, like stty susp \^N )
Default device is /dev/ttyUSB0
Press Enter to start or type an another device name.
/dev/ttyUSB3
Opening device /dev/ttyUSB3
Ready.
nothing.
|
Thu Jun 01, 2017 13:39
|
helianthus: tail -f /var/log/smstools/smsd.log
2017-06-01 15:23:28,2, GSM1: Modem handler 0 terminated. PID: 10154, was started 17-06-01 15:22:26.
2017-06-01 15:23:28,2, smsd: Smsd mainprocess terminated. PID 10151, was started 17-06-01 15:22:26.
2017-06-01 15:31:55,2, smsd: Smsd v3.1.15 started.
2017-06-01 15:31:55,2, smsd: Running as root:root.
2017-06-01 15:31:55,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2017-06-01 15:31:55,2, smsd: Running in terminal mode.
2017-06-01 15:31:55,2, GSM1: Communicating with terminal.
2017-06-01 15:37:08,2, smsd: Smsd mainprocess is awaiting the termination of all modem handlers. PID: 10169.
2017-06-01 15:37:08,2, GSM1: Modem handler 0 terminated. PID: 10172, was started 17-06-01 15:31:55.
2017-06-01 15:37:08,2, smsd: Smsd mainprocess terminated. PID 10169, was started 17-06-01 15:31:55.
and i dont have wwan interfaces, i dont need them at all, 'cause it's only for sms.
|
Thu Jun 01, 2017 13:25
|
helianthus: how long should taking anwer for "smsd -C GSM1" ?
|
Thu Jun 01, 2017 07:16
|
helianthus: This is my smsd.conf - i know, a little bit messy
#
# /etc/smsd.conf
#
# Description: Main configuration file for the smsd
#
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 = 7
#delaytime = 10
#errorsleeptime = 10
#blocktime = 3600
#stats = /var/log/smsd_stats
#stats_interval = 3600
#stats_no_zeroes = no
#checkhandler = /usr/local/bin/smscheck
receive_before_send = no
# autosplit 0=no 1=yes 2=with text numbers 3=concatenated
autosplit = 3
# store_received_pdu 0=no, 1=unsupported, 2=unsupported and 8bit, 3=all
#store_received_pdu = 1
#validity = 255
#decode_unicode_text = no
#internal_combine = no
# You can specify here an external program that is started whenever an alarm occurs.
# alarmhandler = /path/to/an/alarmhandler/script
# Specifies what levels start an alarmhandler. You can use value between 2 and 5.
# alarmlevel = 4
# eventhandler = @EVENTHANDLER@
#blacklist = /etc/smstools/blacklist
#whitelist = /etc/smstools/whitelist
#[queues]
# Commented lines are examples for germany
# D1 = /var/spool/sms/D1
# D2 = /var/spool/sms/D2
# O2 = /var/spool/sms/O2
# EPLUS = /var/spool/sms/EPLUS
# QUAM = /var/sppol/sms/QUAM
# MOBILCOM = /var/spool/sms/MOBILCOM
#OTHER = /var/spool/sms/OTHER
#[provider]
# Commented lines are examples for germany
# D1 = 49160, 49170, 49171, 49175, 49151
# D2 = 491520, 49162, 49172, 49173, 49174
# O2 = 49176, 49179, 49159
# EPLUS = 49163, 49177, 49178, 49157
# QUAM = 49150
# MOBILCOM = 49156
#OTHER = 0,1,2,3,4,5,6,7,8,9
#[GSM1]
# init = ATE0+CPMS="SM"+CNMI=2,0,0,2,1
# # Windows: /dev/com1, Solaris: /dev/cua/a, Linux /dev/ttyS0
# device = /dev/ttyS0
# incoming = yes
# queues = OTHER
# You don't need a PIN for mobile phones
# pin = 1111
# mode = new
# smsc = 491722270000
# baudrate = 19200
# rtscts = yes
# cs_convert = yes
# report = no
# memory_start = 1
# primary_memory = memory name
# secondary_memory = memory name
# secondary_memory_max = number
# pdu_from_file = /var/spool/sms/GSM1-PDU
# sending_disabled = no
# decode_unicode_text = no
# internal_combine = no
#
#[GSM2]
#init = ATE0
# Windows: /dev/com2, Solaris: /dev/cua/b, Linux /dev/ttyS1
#device = /dev/ttyS1
#incoming = yes
#queues = OTHER
#You don't need a PIN for mobile phones
#pin = 2222
#mode = new
#smsc = 491710760000
#baudrate = 19200
#rtscts = yes
#cs_convert = yes
#report = no
#memory_start = 1
#primary_memory = memory name
#secondary_memory = memory name
#secondary_memory_max = number
#pdu_from_file = /var/spool/sms/GSM2-PDU
#sending_disabled = no
#decode_unicode_text = no
#internal_combine = no
[GSM1]
#init = AT+CPMS="MT","MT","MT"
init=AT+CPMS="ME","ME","ME"
#init=AT+CPMS="IRA","GSM","UCS2"
device = /dev/ttyUSB0
#init=AT+CPMS="MT","MT","MT"
#init = AT+CURC=0
incoming = yes
#pin =
baudrate = 19200
memory_start=0 #1
hangup_incoming_call = yes
#check_memory_method = 31
report_device_details = yes
and logs since last smstools restart
2017-05-31 21:20:57,2, smsd: Smsd mainprocess is awaiting the termination of all modem handlers. PID: 6449.
2017-05-31 21:20:57,2, GSM1: Modem handler 0 terminated. PID: 6451, was started 17-05-31 21:19:19.
2017-05-31 21:20:57,2, smsd: Smsd mainprocess terminated. PID 6449, was started 17-05-31 21:19:19.
2017-05-31 21:20:58,2, smsd: Smsd v3.1.15 started.
2017-05-31 21:20:58,2, smsd: Running as smsd:dialout.
2017-05-31 21:20:58,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2017-05-31 21:21:03,7, GSM1: ## Start of device details
2017-05-31 21:21:03,7, GSM1: # Manufacturer identification:
2017-05-31 21:21:03,7, GSM1: -> AT+CGMI
2017-05-31 21:21:03,7, GSM1: <- huawei
OK
2017-05-31 21:21:03,7, GSM1: # Model identification:
2017-05-31 21:21:04,7, GSM1: -> AT+CGMM
2017-05-31 21:21:04,7, GSM1: <- E1750
OK
2017-05-31 21:21:04,7, GSM1: # Revision identification:
2017-05-31 21:21:04,7, GSM1: -> AT+CGMR
2017-05-31 21:21:04,7, GSM1: <- HSDPA_6281_V002
OK
2017-05-31 21:21:04,7, GSM1: # New message indications, list of supported modes:
2017-05-31 21:21:05,7, GSM1: -> AT+CNMI=?
2017-05-31 21:21:05,7, GSM1: <- +CNMI: (0,1,2),(0,1,2,3),(0,2),(0,1,2),(0,1)
OK
2017-05-31 21:21:05,7, GSM1: # New message indications, current settings:
2017-05-31 21:21:05,7, GSM1: -> AT+CNMI?
2017-05-31 21:21:05,7, GSM1: <- +CNMI: 2,1,2,1,0
OK
2017-05-31 21:21:05,7, GSM1: # Preferred message storage, list of supported mem's:
2017-05-31 21:21:06,7, GSM1: -> AT+CPMS=?
2017-05-31 21:21:06,7, GSM1: <- +CPMS: ("ME","MT","SM","SR"),("ME","MT","SM","SR"),("ME","MT","SM","SR")
OK
2017-05-31 21:21:06,7, GSM1: # Phonebook storage, available mem's:
2017-05-31 21:21:06,7, GSM1: -> AT+CPBS=?
2017-05-31 21:21:06,7, GSM1: <- +CPBS: ("SM","DC","FD","MC","ME","RC","EN","ON")
OK
2017-05-31 21:21:06,7, GSM1: # List messages, list of supported stat's:
2017-05-31 21:21:07,7, GSM1: -> AT+CMGL=?
2017-05-31 21:21:07,7, GSM1: <- +CMGL: (0-4)
OK
2017-05-31 21:21:07,7, GSM1: # Delete message, list of supported values:
2017-05-31 21:21:07,7, GSM1: -> AT+CMGD=?
2017-05-31 21:21:07,7, GSM1: <- +CMGD: (),(0-4)
OK
2017-05-31 21:21:07,7, GSM1: # Phone activity status, list of supported stat's:
2017-05-31 21:21:08,7, GSM1: -> AT+CPAS=?
2017-05-31 21:21:08,7, GSM1: <- +CPAS: (0,3,4)
OK
2017-05-31 21:21:08,7, GSM1: # TE character set, list of supported charset's:
2017-05-31 21:21:08,7, GSM1: -> AT+CSCS=?
2017-05-31 21:21:08,7, GSM1: <- +CSCS: ("IRA","GSM","UCS2")
OK
2017-05-31 21:21:08,7, GSM1: # TE character set, current setting:
2017-05-31 21:21:09,7, GSM1: -> AT+CSCS?
2017-05-31 21:21:09,7, GSM1: <- +CSCS: "UCS2"
OK
2017-05-31 21:21:09,7, GSM1: ## End of device details
2017-05-31 23:00:38,3, GSM1: Error: Unexpected answer from Modem after +CREG?, waiting 1 sec. before retrying
2017-06-01 00:55:38,3, GSM1: Error: Unexpected answer from Modem after +CREG?, waiting 1 sec. before retrying
2017-06-01 06:36:58,3, GSM1: Modem did not accept the pre-init string
as I understand incoming smses should be files in incoming directory?
|
Thu Jun 01, 2017 03:43
|
helianthus:
Sure, here we go:
thx, but it;s not working :(
|
Wed May 31, 2017 15:43
|
helianthus:
Do you have a modem setting incoming = yes?
With Huawei you will also need memory_start = 0.
If still nothing is received, use a modem setting report_device_details = yes and show those details from the log.
1. yes
2. yes
3. i've just put in config. (in config logs are /var/log/smstools/smsd.log).
|
Wed May 31, 2017 15:35
|
helianthus:
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?
|
Wed May 31, 2017 15:23
|
helianthus: Operating system name and version: Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2 (2017-04-30) x86_64 GNU/Linux
Version of smsd: 3.1.15
Smsd installed from: apt-get
Name and model of a modem / phone: modem appears as "Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem
Interface: usb
Hi guys
I have problem with smstools. I can send sms, but not receiving.
In logs there's nothing about incoming :/ I thought maybe rights to incoming directory, but even with full - nothing :/
3g modem appears as "Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem".
Can u help me?
Thx and tc.
|
Page: 1
Time in this board is UTC.
|
|
|
 |
|
 |
|