SMS Server Tools 3
 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. The forum is currently read-only, but will open soon. Thu Mar 13, 2025 17:54
SMSTools3 Community » Search Bottom

Page:  1

Keywords:
Mode: All keywords (AND)
cgambi: Hi,in what way could we communicate to talk more about the subject that you propose I have raised a system with those characteristics, regards
cgambi: How do i changed limits of modem?, thanks keke
cgambi: 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?
cgambi: 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 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 Regards
cgambi: We're making a load balancer in our custom platform. so we're fine with that. But, there are some troubles with 2 things: 1. i couldn't send more than 6.x (Average) sms per minute. is this the maximum send rate? or should be faster? is there a way to optimize this? 2. I can read in the log file that the sms are sended, but how can i know they delivery status? and if someone reply the sms, where can i read the incoming sms? we've tested replying some sms, but nothing happens. even in the log, there's no clue about sms received This is my Code: Global configuration # Configuration smsd.conf # #checkhandler = /usr/local/bin/load_balancing.sh # devices = GSM* 1-16 # logfile = /var/log/smsd.log #loglevel = 6 #loglevel = 7 loglevel = 5 delaytime = 0 delaytime_mainprocess = 0 internal_combine = yes receive_before_send = no logtime_ms = 1 #max_continuous_sending = 6000 incoming_utf8 = yes umask = 111 stats_interval = 0 smart_logging = yes # trust_outgoing = 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] #ALL = /var/spool/sms/all 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 #Q17 = /var/spool/sms/modem17 # #MODEM PROPERTIES THE SAME FOR DE 16 GSM [GSM1] queues = Q1 device = /dev/ttyACM0 ignore_unexpected_input = yes detect_unexpected_input = no report = yes sending_disabled = no memory_start = 1 send_delay = 0 check_network = 0 voicecall_hangup_ath = yes hangup_incoming_call = yes voicecall_ignore_modem_response = yes regular_run_interval = 60 regular_run_cmd = AT+CSQ regular_run_logfile = /var/log/smsd_run_GSM1.log regular_run_loglevel = 7 init2 = at+cmms=2 pin = ignore status_signal_quality = no outgoing = yes signal_quality_ber_ignore = yes status_signal_quality = no pre_init = no incoming = yes mode = new keep_open = yes keep_messages = no baudrate = 115200 rtscts = yes cs_convert = yes decode_unicode_text = yes internal_combine = yes check_memory_method = 5 trust_spool = yes some log to send: 2017-08-17 17:16:12.134,5, GSM9: SMS sent, Message_id: 163, To: 569896xxxxx, sending time 6 sec. 2017-08-17 17:16:12.326,5, GSM5: SMS sent, Message_id: 85, To: 569813xxxxx, sending time 6 sec. 2017-08-17 17:16:12.413,5, GSM7: SMS sent, Message_id: 36, To: 569672xxxxx, sending time 6 sec. 2017-08-17 17:16:12.900,5, GSM8: SMS sent, Message_id: 76, To: 569620xxxxx, sending time 6 sec. 2017-08-17 17:16:14.691,5, GSM6: SMS sent, Message_id: 249, To: 56964xxxxx, sending time 3 sec. 2017-08-17 17:16:14.696,5, GSM11: SMS sent, Message_id: 69, To: 56969xxxxx, sending time 3 sec. 2017-08-17 17:16:14.967,5, GSM16: SMS sent, Message_id: 88, To: 56996xxxxx, sending time 3 sec. 2017-08-17 17:16:15.192,5, GSM9: SMS sent, Message_id: 164, To: 569727xxxxx, sending time 10 sec. 2017-08-17 17:16:15.389,5, GSM5: SMS sent, Message_id: 86, To: 569624xxxxx, sending time 11 sec. 2017-08-17 17:16:15.713,5, GSM7: SMS sent, Message_id: 37, To: 569980xxxxx, sending time 11 sec. 2017-08-17 17:16:16.208,5, GSM8: SMS sent, Message_id: 77, To: 569654xxxxx, sending time 4 sec. 2017-08-17 17:16:17.752,5, GSM6: SMS sent, Message_id: 250, To: 569574xxxxx, sending time 3 sec. 2017-08-17 17:16:18.245,5, GSM9: SMS sent, Message_id: 165, To: 569990xxxxx, sending time 12 sec. 2017-08-17 17:16:18.260,5, GSM16: SMS sent, Message_id: 89, To: 569596xxxxx, sending time 12 sec. 2017-08-17 17:16:20.329,5, GSM5: SMS sent, Message_id: 87, To: 569908xxxxx, sending time 12 sec. 2017-08-17 17:16:20.827,5, GSM6: SMS sent, Message_id: 251, To: 569659xxxxx, sending time 3 sec. 2017-08-17 17:16:21.067,5, GSM9: SMS sent, Message_id: 166, To: 569815xxxxx, sending time 7 sec. 2017-08-17 17:16:21.332,5, GSM16: SMS sent, Message_id: 90, To: 569837xxxxx, sending time 7 sec. 2017-08-17 17:16:23.166,5, GSM5: SMS sent, Message_id: 88, To: 569852xxxxx, sending time 7 sec. 2017-08-17 17:16:23.643,5, GSM6: SMS sent, Message_id: 252, To: 569896xxxxx, sending time 7 sec. 2017-08-17 17:16:24.139,5, GSM9: SMS sent, Message_id: 167, To: 569659xxxxx, sending time 3 sec. 2017-08-17 17:16:26.214,5, GSM5: SMS sent, Message_id: 89, To: 569873xxxxx, sending time 6 sec. 2017-08-17 17:16:26.477,5, GSM6: SMS sent, Message_id: 253, To: 569623xxxxx, sending time 6 sec. 2017-08-17 17:16:29.085,5, GSM7: SMS sent, Message_id: 38, To: 569822xxxxx, sending time 12 sec. thanks for the help! regards
cgambi: Ok, keke thanks for you answer
cgambi: Operating system name and version: Raspbian Version of smsd: 3.1.21 Smsd installed from: package repository Name and model of a modem / phone: modem Huawei Interface: USB Hi, I have a question, is the possibility of changing the sender ID, they do not show the phone number but an alphanumeric, Regards
cgambi: ok, i checked the file, and when i created with no headers and then run /usr/local/bin/load_balancing.sh /v ar/spool/sms/outgoing/test1 the file now has a queue header when open it again. the test file only have: To: 569XXXXXXXX hi i'm a sms and after run the command now i have To: 569XXXXXXXX Queue: Q2 hi i'm a sms
cgambi: i checked the names and its ok now. i set the queues as Q1 - Q3 and actually, if i create now a test1 file with the queue header, it work, and the sms its sended by the specific modem. when i send a sms by the playsms api its seems like the messages are not getting the header. what could be wrong?
cgambi: i ran the checkhandler with a test file as you said, and nothing happened, no error. pi@raspberrypi:/var/spool/sms/outgoing $ ls test1 pi@raspberrypi:/var/spool/sms/outgoing $ /usr/local/bin/load_balancing.sh /var/spool/sms/outgoing/test1 pi@raspberrypi:/usr/local/bin $ cat /var/spool/sms/stats/*.counter GSM1: 1478 GSM2: 0 GSM3: 0 i still have the test file in the outgoing folder this is my test file: To: 5699791XXXX Hello, this is the sms. after run the command, the file now is: To: 5699791XXXX Queue: Q2 Hello, this is the sms. EDIT: in the log file smsd i have this error: 2017-07-24 12:44:25.954,5, smsd: Wrong provider queue Q2 in file /var/spool/sms/outgoing/test1
cgambi: thx for the answer. I already have the formail command, so that can't be the problem. but, the sent message file doesnt have any queue header. how do i put that header?
cgambi: Hello Keke i made the changes, and i'm still sending by 1 modem. (the first one in the queue). here is my config file GSM 1, 2, 3: [GSM1] queues = ALL,GSM1 device = /dev/gsmmodem ignore_unexpected_input = yes detect_unexpected_input = no 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 = 60 regular_run_cmd = AT+CSQ regular_run_logfile = /var/log/smsd_run_GSM1.log regular_run_loglevel = 7 init2 = at+cmms=2 pin = ignore status_signal_quality = no outgoing = 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 internal_combine = yes check_memory_method = 2 here is my config file general: devices = GSM1,GSM2,GSM3 # logfile = /var/log/smsd.log #loglevel = 6 loglevel = 5 delaytime = 0 delaytime_mainprocess = 0 internal_combine = yes receive_before_send = no logtime_ms = 1 max_continuous_sending = 600 incoming_utf8 = yes umask = 111 stats_interval = 0 checkhandler = /usr/local/bin/load_balancing.sh smart_logging = yes # trust_outgoing = 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 # #Timers for errors (specify how many seconds stop on error) blocktime = 3 errorsleeptime = 3 # #[default] #queues = ALL,GSM1,GSM2,GSM3 # [queues] ALL = /var/spool/sms/all GSM1 = /var/spool/sms/modem1 GSM2 = /var/spool/sms/modem2 GSM3 = /var/spool/sms/modem3 Pleas help
cgambi: Hello, I have a question, in de smsd.conf, which is the code, because I tried but only can send by 1 modem, I don't understand because not sent by multiple modems my code: # Global configuration # Configuration smsd.conf # checkhandler = /usr/local/bin/load_balancing.sh # devices = GSM1,GSM2,GSM3 # logfile = /var/log/smsd.log #loglevel = 6 loglevel = 5 delaytime = 0 delaytime_mainprocess = 0 internal_combine = yes receive_before_send = no logtime_ms = 1 max_continuous_sending = 600 incoming_utf8 = yes umask = 111 stats_interval = 0 #checkhandler = /usr/local/bin/load_balancing.sh smart_logging = yes # trust_outgoing = 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 # #Timers for errors (specify how many seconds stop on error) blocktime = 3 errorsleeptime = 3 # [queues] #ALL = /var/spool/sms/all Q1 = /var/spool/sms/modem1 Q2 = /var/spool/sms/modem2 Q3 = /var/spool/sms/modem3 #Q4 = /var/spool/sms/modem4 And the conf for modem is the same.

Page:  1

SMSTools3 Community » Search Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.