_TK_: For complete my post ,
2016-01-07 16:11:19,2, smsd: Smsd v3.1.15 started.
2016-01-07 16:11:19,2, smsd: Running as root:root.
2016-01-07 16:11:19,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2016-01-07 16:11:19,5, smsd: Outgoing file checker has started. PID: 23774.
2016-01-07 16:11:19,5, modem1: Modem handler 0 has started. PID: 23776.
2016-01-07 16:11:19,5, modem1: Using check_memory_method 1: CPMS is used.
2016-01-07 16:11:20,3, modem1: Unexpected input: OK
2016-01-07 16:11:24,5, modem1: CGSN: 35819101xxxxxx
2016-01-07 16:11:24,5, modem1: IMSI: 54601010xxxxxxx
2016-01-07 16:11:24,7, modem1: ## Start of device details
2016-01-07 16:11:24,7, modem1: # Manufacturer identification:
2016-01-07 16:11:24,7, modem1: -> AT+CGMI
2016-01-07 16:11:25,7, modem1: <- huawei
OK
2016-01-07 16:11:25,7, modem1: # Model identification:
2016-01-07 16:11:25,7, modem1: -> AT+CGMM
2016-01-07 16:11:25,7, modem1: <- E220
OK
2016-01-07 16:11:25,7, modem1: # Revision identification:
2016-01-07 16:11:25,7, modem1: -> AT+CGMR
2016-01-07 16:11:26,7, modem1: <- 11.117.08.00.00
OK
2016-01-07 16:11:26,7, modem1: # New message indications, list of supported modes:
2016-01-07 16:11:26,7, modem1: -> AT+CNMI=?
2016-01-07 16:11:26,7, modem1: <- +CNMI: (0,1,2),(0,1,2,3),(0,2),(0,1,2),(0,1)
OK
2016-01-07 16:11:26,7, modem1: # New message indications, current settings:
2016-01-07 16:11:26,7, modem1: -> AT+CNMI?
2016-01-07 16:11:27,7, modem1: <- +CNMI: 2,1,2,2,0
OK
2016-01-07 16:11:27,7, modem1: # Preferred message storage, list of supported mem's:
2016-01-07 16:11:27,7, modem1: -> AT+CPMS=?
2016-01-07 16:11:27,7, modem1: <- +CPMS: ("ME","MT","SM","SR"),("ME","MT","SM","SR"),("ME","MT","SM","SR")
OK
2016-01-07 16:11:27,7, modem1: # Phonebook storage, available mem's:
2016-01-07 16:11:27,7, modem1: -> AT+CPBS=?
2016-01-07 16:11:28,7, modem1: <- +CPBS: ("SM","DC","FD","LD","MC","ME","RC","EN","ON")
OK
2016-01-07 16:11:28,7, modem1: # List messages, list of supported stat's:
2016-01-07 16:11:28,7, modem1: -> AT+CMGL=?
2016-01-07 16:11:28,7, modem1: <- +CMGL: (0-4)
OK
2016-01-07 16:11:28,7, modem1: # Delete message, list of supported values:
2016-01-07 16:11:28,7, modem1: -> AT+CMGD=?
2016-01-07 16:11:29,7, modem1: <- +CMGD: (),(0-4)
OK
2016-01-07 16:11:29,7, modem1: # Phone activity status, list of supported stat's:
2016-01-07 16:11:29,7, modem1: -> AT+CPAS=?
2016-01-07 16:11:29,7, modem1: <- +CPAS: (0,3,4)
OK
2016-01-07 16:11:29,7, modem1: # TE character set, list of supported charset's:
2016-01-07 16:11:29,7, modem1: -> AT+CSCS=?
2016-01-07 16:11:30,7, modem1: <- +CSCS: ("IRA","GSM","UCS2")
OK
2016-01-07 16:11:30,7, modem1: # TE character set, current setting:
2016-01-07 16:11:30,7, modem1: -> AT+CSCS?
2016-01-07 16:11:30,7, modem1: <- +CSCS: "GSM"
OK
2016-01-07 16:11:30,7, modem1: ## End of device details
|
_TK_: Dear @all
This my environment :
Operating system name and version: Debian Jessie 8.2
Version of smsd: 3.1.15
Smsd installed from: Download, and compiled from source
Name and model of a modem / phone: Huawei E220 (firmware 11.117.08.00.00.B268)
Interface: USB
Also use : Play SMS v1.3.1
I have tested a lof of configuration, and i can't receive "Delivery Report"
Also test to update a lof of value, include: init, report, detect_message_routing, using_routed_status_report, routed_status_report_cnma (....)
This is my config :
/etc/smsd.conf
# Global configuration
#devices = modem1, modem2
devices = modem1
loglevel = 4
# 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
#report = /var/spool/sms/report # do not set report folder, let status report files saved in incoming
# Tweaks
date_filename = 1
delaytime = 8
errorsleeptime = 10
blocktime = 180
autosplit = 3
incoming_utf8 = yes
validity = 1week
#store_sent_pdu = 3
#store_received_pdu = 3
#receive_before_send = yes
# Queue configurations
[queues]
modem1 = /var/spool/sms/modem1
#modem2 = /var/spool/sms/modem2
# Huawei E220 N°1
[modem1]
device = /dev/gsm1
queues = modem1
init = AT
baudrate = 115200
incoming = yes
report = yes
memory_start = 0
decode_unicode_text = yes
cs_convert = yes
report_device_details = no
#detect_message_routing = no
#using_routed_status_report = yes
#routed_status_report_cnma = yes
# Huawei E220 N°2
[modem2]
device = /dev/gsm2
queues = modem2
init = AT
baudrate = 115200
incoming = yes
report = yes
memory_start = 0
decode_unicode_text = yes
cs_convert = yes
report_device_details = no
#detect_message_routing = no
#using_routed_status_report = yes
#routed_status_report_cnma = yes
If a person with an idea , it is welcome!
NB : via Gammu, it is possible to me in some cases to have the reception acknowledgments (or delivery report)
Thank you in advance for your help.
|