Version of smsd: 3.1.14
Smsd installed from: preinstalled
Name and model of a modem / phone: FOXBOX for 8 SIM
Interface: USB to 8x COM (integrated in FOXBOX)
Hi,
until now, we use SMSTools3 only for receiving al all is working, but now we want use it to sending message from our monitoring system.
When i send messages from monitoring to SMS server, where is smsd application, in log i see this (five messages sent to server):
2017-10-20 08:08:51,5, smsd: Moved file /mnt/flash/spool/outgoing/1508479731871 to /mnt/flash/spool/GSM0
2017-10-20 08:08:52,5, smsd: Moved file /mnt/flash/spool/outgoing/1508479731345 to /mnt/flash/spool/GSM0
2017-10-20 08:08:52,5, smsd: Moved file /mnt/flash/spool/outgoing/1508479731309 to /mnt/flash/spool/GSM0
2017-10-20 08:08:53,5, smsd: Moved file /mnt/flash/spool/outgoing/1508479731711 to /mnt/flash/spool/GSM0
2017-10-20 08:08:53,5, smsd: Moved file /mnt/flash/spool/outgoing/1508479731821 to /mnt/flash/spool/GSM0
But no SMS is sent from SMS server to destination numbers. When i did restart of smsd service with /etc/init.d/smsd restart , then smsd sent one SMS split to two parts. But 4 SMS remained still. When i make restart again, next one SMS was sent, but 3 SMS remained..
I think, then when i'm receive some SMS in samo modem, modem send next SMS, but always only one.
Can you helo me please?
Here is config:
# SMS ENGINE CONFIGURATION
#
# AUTHOR: Luca Rasina luka@kdev.it
# DATE: 29.04.2013
# PURPOSE: Configuration for multi-modem smsd daemon
#
#Here is the list of the currently active modems.
devices= GSM0,GSM1,GSM2,GSM3,GSM4,GSM5,GSM6,GSM7
#
#
#System logs (from 2 to 7)
logfile = /var/log/smsd.log
loglevel = 5
delaytime = 0
delaytime_mainprocess = 0
internal_combine = yes
#incoming_utf8 = yes
#
#Queues setting, NEVER EDIT PATHS UNDER THIS LINE
#
trust_outgoing = no
outgoing = /mnt/flash/spool/outgoing
incoming = /mnt/flash/spool/incoming
sent = /mnt/flash/spool/sent
failed=/mnt/flash/spool/failed
mypath = /mnt/flash/etc/sms/
#blacklist=/mnt/flash/root/source/custom/black
#whitelist=/mnt/flash/root/source/custom/white
#
#
#Message AUTO-SPLIT 0 disable 1,2,3 accepted
autosplit = 3
#
#Timers for errors (specify how many seconds stop on error)
blocktime = 3
errorsleeptime = 3
#
#MODEM PROPERTIES
[GSM0]
init = AT+CNMI=2,0,0,1,0
device = /dev/ttyUSB0
memory_start = 1
send_delay = 0
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
regular_run_interval = 300
regular_run_cmd = AT+CSQ
regular_run_logfile = /var/log/smsd_run0.log
#regular_run_loglevel = 7
incoming = 2
queues = GSM0, ALL
baudrate = 115200
rtscts = no
report = yes
routed_status_report_cnma = no
cs_convert = yes
decode_unicode_text = yes
internal_combine = yes
eventhandler = /etc/sms/scripts/eventhandler0
#pin = 0000
#report_device_details = yes
#logfile = /var/log/smsd_gsm0.log
#loglevel = 7
#
[GSM1]
init = AT+CNMI=2,0,0,1,0
device = /dev/ttyUSB1
memory_start = 1
send_delay = 0
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
regular_run_interval = 300
regular_run_cmd = AT+CSQ
regular_run_logfile = /var/log/smsd_run1.log
#regular_run_loglevel = 7
incoming = 2
queues = GSM1, ALL
baudrate = 115200
rtscts = no
report = yes
routed_status_report_cnma = no
cs_convert = yes
decode_unicode_text = yes
internal_combine = yes
eventhandler = /etc/sms/scripts/eventhandler1
#pin = 0000
#
[GSM2]
init = AT+CNMI=2,0,0,1,0
device = /dev/ttyUSB2
memory_start = 1
send_delay = 0
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
regular_run_interval = 300
regular_run_cmd = AT+CSQ
regular_run_logfile = /var/log/smsd_run2.log
#regular_run_loglevel = 7
incoming = 2
queues = GSM2, ALL
baudrate = 115200
rtscts = no
report = yes
routed_status_report_cnma = no
cs_convert = yes
decode_unicode_text = yes
internal_combine = yes
eventhandler = /etc/sms/scripts/eventhandler2
#pin = 0000
#
[GSM3]
init = AT+CNMI=2,0,0,1,0
device = /dev/ttyUSB3
memory_start = 1
send_delay = 0
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
regular_run_interval = 300
regular_run_cmd = AT+CSQ
regular_run_logfile = /var/log/smsd_run3.log
#regular_run_loglevel = 7
incoming = 2
queues = GSM3, ALL
baudrate = 115200
rtscts = no
report = yes
routed_status_report_cnma = no
cs_convert = yes
decode_unicode_text = yes
internal_combine = yes
eventhandler = /etc/sms/scripts/eventhandler3
#pin = 0000
#
[GSM4]
init = AT+CNMI=2,0,0,1,0
device = /dev/ttyUSB4
memory_start = 1
send_delay = 0
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
regular_run_interval = 300
regular_run_cmd = AT+CSQ
regular_run_logfile = /var/log/smsd_run4.log
#regular_run_loglevel = 7
incoming = 2
queues = GSM4, ALL
baudrate = 115200
rtscts = no
report = yes
routed_status_report_cnma = no
cs_convert = yes
decode_unicode_text = yes
internal_combine = yes
eventhandler = /etc/sms/scripts/eventhandler4
#pin = 0000
#
[GSM5]
init = AT+CNMI=2,0,0,1,0
device = /dev/ttyUSB5
memory_start = 1
send_delay = 0
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
regular_run_interval = 300
regular_run_cmd = AT+CSQ
regular_run_logfile = /var/log/smsd_run5.log
#regular_run_loglevel = 7
incoming = 2
queues = GSM5, ALL
baudrate = 115200
rtscts = no
report = yes
routed_status_report_cnma = no
cs_convert = yes
decode_unicode_text = yes
internal_combine = yes
eventhandler = /etc/sms/scripts/eventhandler5
#pin = 0000
#
[GSM6]
init = AT+CNMI=2,0,0,1,0
device = /dev/ttyUSB6
memory_start = 1
send_delay = 0
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
regular_run_interval = 300
regular_run_cmd = AT+CSQ
regular_run_logfile = /var/log/smsd_run6.log
#regular_run_loglevel = 7
incoming = 2
queues = GSM6, ALL
baudrate = 115200
rtscts = no
report = yes
routed_status_report_cnma = no
cs_convert = yes
decode_unicode_text = yes
internal_combine = yes
eventhandler = /etc/sms/scripts/eventhandler6
#pin = 0000
#
[GSM7]
init = AT+CNMI=2,0,0,1,0
device = /dev/ttyUSB7
memory_start = 1
send_delay = 0
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
regular_run_interval = 300
regular_run_cmd = AT+CSQ
regular_run_logfile = /var/log/smsd_run7.log
#regular_run_loglevel = 7
incoming = 2
queues = GSM7, ALL
baudrate = 115200
rtscts = no
report = yes
routed_status_report_cnma = no
cs_convert = yes
decode_unicode_text = yes
internal_combine = yes
eventhandler = /etc/sms/scripts/eventhandler7
#pin = 0000
#
#
[queues]
ALL = /mnt/flash/spool/master
GSM0 = /mnt/flash/spool/GSM0
GSM1 = /mnt/flash/spool/GSM1
GSM2 = /mnt/flash/spool/GSM2
GSM3 = /mnt/flash/spool/GSM3
GSM4 = /mnt/flash/spool/GSM4
GSM5 = /mnt/flash/spool/GSM5
GSM6 = /mnt/flash/spool/GSM6
GSM7 = /mnt/flash/spool/GSM7
#
[provider]
ALL = 0,1,2,3,4,5,6,7,8,9,s
GSM0 = 0
GSM1 = 0
GSM2 = 0
GSM3 = 0
GSM4 = 0
GSM5 = 0
GSM6 = 0
GSM7 = 0
#
# AUTHOR: Luca Rasina luka@kdev.it
# DATE: 29.04.2013
# PURPOSE: Configuration for multi-modem smsd daemon
#
#Here is the list of the currently active modems.
devices= GSM0,GSM1,GSM2,GSM3,GSM4,GSM5,GSM6,GSM7
#
#
#System logs (from 2 to 7)
logfile = /var/log/smsd.log
loglevel = 5
delaytime = 0
delaytime_mainprocess = 0
internal_combine = yes
#incoming_utf8 = yes
#
#Queues setting, NEVER EDIT PATHS UNDER THIS LINE
#
trust_outgoing = no
outgoing = /mnt/flash/spool/outgoing
incoming = /mnt/flash/spool/incoming
sent = /mnt/flash/spool/sent
failed=/mnt/flash/spool/failed
mypath = /mnt/flash/etc/sms/
#blacklist=/mnt/flash/root/source/custom/black
#whitelist=/mnt/flash/root/source/custom/white
#
#
#Message AUTO-SPLIT 0 disable 1,2,3 accepted
autosplit = 3
#
#Timers for errors (specify how many seconds stop on error)
blocktime = 3
errorsleeptime = 3
#
#MODEM PROPERTIES
[GSM0]
init = AT+CNMI=2,0,0,1,0
device = /dev/ttyUSB0
memory_start = 1
send_delay = 0
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
regular_run_interval = 300
regular_run_cmd = AT+CSQ
regular_run_logfile = /var/log/smsd_run0.log
#regular_run_loglevel = 7
incoming = 2
queues = GSM0, ALL
baudrate = 115200
rtscts = no
report = yes
routed_status_report_cnma = no
cs_convert = yes
decode_unicode_text = yes
internal_combine = yes
eventhandler = /etc/sms/scripts/eventhandler0
#pin = 0000
#report_device_details = yes
#logfile = /var/log/smsd_gsm0.log
#loglevel = 7
#
[GSM1]
init = AT+CNMI=2,0,0,1,0
device = /dev/ttyUSB1
memory_start = 1
send_delay = 0
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
regular_run_interval = 300
regular_run_cmd = AT+CSQ
regular_run_logfile = /var/log/smsd_run1.log
#regular_run_loglevel = 7
incoming = 2
queues = GSM1, ALL
baudrate = 115200
rtscts = no
report = yes
routed_status_report_cnma = no
cs_convert = yes
decode_unicode_text = yes
internal_combine = yes
eventhandler = /etc/sms/scripts/eventhandler1
#pin = 0000
#
[GSM2]
init = AT+CNMI=2,0,0,1,0
device = /dev/ttyUSB2
memory_start = 1
send_delay = 0
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
regular_run_interval = 300
regular_run_cmd = AT+CSQ
regular_run_logfile = /var/log/smsd_run2.log
#regular_run_loglevel = 7
incoming = 2
queues = GSM2, ALL
baudrate = 115200
rtscts = no
report = yes
routed_status_report_cnma = no
cs_convert = yes
decode_unicode_text = yes
internal_combine = yes
eventhandler = /etc/sms/scripts/eventhandler2
#pin = 0000
#
[GSM3]
init = AT+CNMI=2,0,0,1,0
device = /dev/ttyUSB3
memory_start = 1
send_delay = 0
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
regular_run_interval = 300
regular_run_cmd = AT+CSQ
regular_run_logfile = /var/log/smsd_run3.log
#regular_run_loglevel = 7
incoming = 2
queues = GSM3, ALL
baudrate = 115200
rtscts = no
report = yes
routed_status_report_cnma = no
cs_convert = yes
decode_unicode_text = yes
internal_combine = yes
eventhandler = /etc/sms/scripts/eventhandler3
#pin = 0000
#
[GSM4]
init = AT+CNMI=2,0,0,1,0
device = /dev/ttyUSB4
memory_start = 1
send_delay = 0
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
regular_run_interval = 300
regular_run_cmd = AT+CSQ
regular_run_logfile = /var/log/smsd_run4.log
#regular_run_loglevel = 7
incoming = 2
queues = GSM4, ALL
baudrate = 115200
rtscts = no
report = yes
routed_status_report_cnma = no
cs_convert = yes
decode_unicode_text = yes
internal_combine = yes
eventhandler = /etc/sms/scripts/eventhandler4
#pin = 0000
#
[GSM5]
init = AT+CNMI=2,0,0,1,0
device = /dev/ttyUSB5
memory_start = 1
send_delay = 0
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
regular_run_interval = 300
regular_run_cmd = AT+CSQ
regular_run_logfile = /var/log/smsd_run5.log
#regular_run_loglevel = 7
incoming = 2
queues = GSM5, ALL
baudrate = 115200
rtscts = no
report = yes
routed_status_report_cnma = no
cs_convert = yes
decode_unicode_text = yes
internal_combine = yes
eventhandler = /etc/sms/scripts/eventhandler5
#pin = 0000
#
[GSM6]
init = AT+CNMI=2,0,0,1,0
device = /dev/ttyUSB6
memory_start = 1
send_delay = 0
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
regular_run_interval = 300
regular_run_cmd = AT+CSQ
regular_run_logfile = /var/log/smsd_run6.log
#regular_run_loglevel = 7
incoming = 2
queues = GSM6, ALL
baudrate = 115200
rtscts = no
report = yes
routed_status_report_cnma = no
cs_convert = yes
decode_unicode_text = yes
internal_combine = yes
eventhandler = /etc/sms/scripts/eventhandler6
#pin = 0000
#
[GSM7]
init = AT+CNMI=2,0,0,1,0
device = /dev/ttyUSB7
memory_start = 1
send_delay = 0
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
regular_run_interval = 300
regular_run_cmd = AT+CSQ
regular_run_logfile = /var/log/smsd_run7.log
#regular_run_loglevel = 7
incoming = 2
queues = GSM7, ALL
baudrate = 115200
rtscts = no
report = yes
routed_status_report_cnma = no
cs_convert = yes
decode_unicode_text = yes
internal_combine = yes
eventhandler = /etc/sms/scripts/eventhandler7
#pin = 0000
#
#
[queues]
ALL = /mnt/flash/spool/master
GSM0 = /mnt/flash/spool/GSM0
GSM1 = /mnt/flash/spool/GSM1
GSM2 = /mnt/flash/spool/GSM2
GSM3 = /mnt/flash/spool/GSM3
GSM4 = /mnt/flash/spool/GSM4
GSM5 = /mnt/flash/spool/GSM5
GSM6 = /mnt/flash/spool/GSM6
GSM7 = /mnt/flash/spool/GSM7
#
[provider]
ALL = 0,1,2,3,4,5,6,7,8,9,s
GSM0 = 0
GSM1 = 0
GSM2 = 0
GSM3 = 0
GSM4 = 0
GSM5 = 0
GSM6 = 0
GSM7 = 0