SMS Server Tools 3
This site is hosted by Kekekasvi.com
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Fri Nov 24, 2017 21:59
SMSTools3 Community » Help and support Bottom

How to increase shipping speed?

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Jul 2017
Location: Santiago, Chile
Operating system name and version: Raspberry pi 3, Raspbian (Linux 4.9.35-v7+)
Version of smsd: 3.1.21
Name and model of a modem / phone: https://es.aliexpress.com/item/Wavecom-USB-GSM-16-Ports-gsm-Modem-Pool-gsm-switch-Q2303-gsm-opener/32700717608.html
Interface: USB

i need help, or maybe an advice to optimize what i'm doing with this (https://es.aliexpress.com/item/Wavecom-USB-GSM-16-Ports-gsm-Modem-Pool-gsm-switch-Q2303-gsm-opener/32700717608.html) .

Currently i've installed SMStools 3 in a raspberry pi 3 and works fine, but a little slow, more than i tought.
i've tested the same configutarion but with a Huawei E173 modem. with this modem i can send 40 sms p/minute, but the gateway (link) only can send 6-8 avg sms p/min by each channel. so the thing is... why its slower than only 1? i've the same config for each of 16 modem in the gateway and the single modem.

now, we used playSMS to send the messages but the webservice provided by playsms was very unstable, so i decied to put the messages with my custom app directly in each modem folder (custom load balancer), but its still very slow. (also tried the smstools queue, but its the same)

is there an specific config for that gateway? or maybe its only a signal issue (?)

here is my smsd.conf

GLOBAL CONFIGURATION

#
devices = GSM* 1-16
#
logfile = /var/log/smsd.log
#loglevel = 6
#loglevel = 7
loglevel = 5
delaytime = 0
delaytime_mainprocess = 1
receive_before_send = no
logtime_ms = 1
incoming_utf8 = yes
umask = 111
stats_interval = 0
#max_continuous_sending = 6000
smart_logging = yes
logtime_us = yes
trust_outgoing = yes
log_read_timing = yes
spool_directory_order = yes
#
stats = /var/spool/sms/stats
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
#
autosplit = 3
blocktime = 3
errorsleeptime = 2
#
[queues]
Q1 = /var/spool/sms/modem1
Q2 = /var/spool/sms/modem2
Q3 = /var/spool/sms/modem3
Q4 = /var/spool/sms/modem4
Q5 = /var/spool/sms/modem5
Q6 = /var/spool/sms/modem6
Q7 = /var/spool/sms/modem7
Q8 = /var/spool/sms/modem8
Q9 = /var/spool/sms/modem9
Q10 = /var/spool/sms/modem10
Q11 = /var/spool/sms/modem11
Q12 = /var/spool/sms/modem12
Q13 = /var/spool/sms/modem13
Q14 = /var/spool/sms/modem14
Q15 = /var/spool/sms/modem15
Q16 = /var/spool/sms/modem16
 
'smsdconf' Syntax Highlight powered by GeSHi


MODEM CONFIGURATION (for 16 Modem)

#
[GSM1]
queues = Q1
init = AT+CMMS=2
init2 = AT+CPMS="SM"
device = /dev/ttyACM0
ignore_unexpected_input = yes
detect_unexpected_input = no
max_continuous_sending = 6000
poll_faster = 5
report = no
sending_disabled = no
memory_start = 0
send_delay = 0
#check_network = 0
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
regular_run_interval = 30
regular_run_cmd = AT+CSQ
regular_run_logfile = /var/log/smsd_run_GSM1.log
regular_run_loglevel = 7
#init2 = AT+CMMS = 2
pin = ignore
outgoing = yes
signal_quality_ber_ignore = yes
pre_init = no
incoming = yes
mode = new
keep_open = yes
keep_messages = no
baudrate = 115200
rtscts = yes
cs_convert = yes
decode_unicode_text = yes
check_memory_method = 5
 
'smsdconf' Syntax Highlight powered by GeSHi


Regards

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Sorry for the late answer.

Huawei devices are generally taken fast, but I do not know about the speed of specific Wavecom device. Have you checked the speed when only one Wavecom module is used? It could be possible that something like 8 seconds per SMS is normal speed.

When using large number of similar modems, you can simplify the configuration by using the default section like this:

[default]
init = AT+CMMS=2
init2 = AT+CPMS="SM"
ignore_unexpected_input = yes
detect_unexpected_input = no
max_continuous_sending = 6000
poll_faster = 5
report = no
sending_disabled = no
memory_start = 0
send_delay = 0
#check_network = 0
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
regular_run_interval = 30
regular_run_cmd = AT+CSQ
regular_run_logfile = /var/log/smsd_run_modemname.log
# NOTE THE MACRO:                       *********
regular_run_loglevel = 7
#init2 = AT+CMMS = 2
pin = ignore
outgoing = yes
signal_quality_ber_ignore = yes
pre_init = no
incoming = yes
mode = new
keep_open = yes
keep_messages = no
baudrate = 115200
rtscts = yes
cs_convert = yes
decode_unicode_text = yes
check_memory_method = 5

[GSM1]
queues = Q1
device = /dev/ttyACM0

[GSM2]
#... and so on
 
 
'smsdconf' Syntax Highlight powered by GeSHi


Member
Registered:
Jul 2017
Location: Santiago, Chile
Topic owner
Oh, thank you, my problem is Hardware (Raspberry pi 3), at this time I test with other more powerful hardware, I have question, what is the maximum GSM modem number that can be used?

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
By default, the maximum number of modems is 64. This limit can be easily changed and smsd has been run with more than 200 modems in certain environments. The maximum number also depends on the hardware. It can be said that the limit is case-specific.

Member
Registered:
Jul 2017
Location: Santiago, Chile
Topic owner
How do i changed limits of modem?, thanks keke

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Edit src/Makefile:



Change the number 64 and recompile.

Login and Post Reply

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.