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. Tue Jul 01, 2025 01:39
SMSTools3 Community » Search Bottom

Page:  1

Keywords:
Mode: All keywords (AND)
adrianTNT: Great :)
adrianTNT: What is the best way to separately send messages trough different modem/providers ? I have one SIM from T-mobile, one from Verizon, and when sending a message I want to tell it what modem/provider to use based on the receiver number format, so it will send SMS in it's own network. From what I read, it is not possible to specify modem in the sendsms command, is it ?! Or specify modem in the file I can manually write inside "outgoing" folder ? Is the "queue" and "providers" the only way to do this? Seems more complicated than it could be.
adrianTNT: To identify the correct port you can also try a command like this: socat - /dev/ttyUSB0 or socat - /dev/ttyUSB1 socat - /dev/ttyUSB2 and after entering that mode, you can type commands, directly type "ATI" and see what you get, if it is the correct GSM interface then you should see the IMEI number and maybe a bit more text. If it is the wrong interface (like the storage of that dongle) then you might see more random text that updates around once a second and you might notice text "storage" on screen. To exit that mde (that socat command) try CTRL+C; Maybe others can correct me if I am wrong, I am not an expert :)
adrianTNT: On my system(s) I identify the ports by running this command: ls -alh /dev/ttyUSB* If your USB dongle is connected you should see something like: crw-rw---T 1 root dialout 188, 0 Dec 17 23:09 /dev/ttyUSB0 crw-rw---T 1 root dialout 188, 1 Dec 17 23:09 /dev/ttyUSB1 crw-rw---T 1 root dialout 188, 2 Dec 17 23:09 /dev/ttyUSB2 If so, try using /dev/ttyUSB0 as device in smsd.conf With my Huawei dongles I get these 3 interfaces when I connect one dongle.
adrianTNT: I still need some help, anyone ? An update ... Each dongle I connect adds 3 usb interfaces, first one would add: ttyUSB0, ttyUSB1, tyyUSB2, then when I connect all 4 dongles I get up to ttyUSB11. If I wait a few seconds after connecting each device, then first device is always the valid one to send SMS, for example with 4 dongles connected my SMS interfaces would be: ttyUSB0, ttyUSB3, ttyUSB6, ttyUSB9 Now the problem is that when system reboots or if I connect all dongles at once, the ports/interfaces mix and I cannot know which one to use in order to send messages. Is there a way to disable the other 2 interfaces of each dongle by default ? I am not sure what the other 2 are.
adrianTNT: Hello. I am trying to use SmsTools with Raspberry pi B+ and 4 GSM dongles. In lsusb I see 4 devices, look ok to me Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter Bus 001 Device 004: ID 1a40:0101 Terminus Technology Inc. Hub Bus 001 Device 005: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem Bus 001 Device 006: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem Bus 001 Device 007: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem Bus 001 Device 008: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem But ls -alh /deb/ttyUSB* shows 12 USB devices, it ads 3 for every dongle I connect: crw-rw---T 1 root dialout 188, 0 Jan 1 1970 /dev/ttyUSB0 crw-rw---T 1 root dialout 188, 1 Jan 1 1970 /dev/ttyUSB1 crw-rw---T 1 root dialout 188, 10 Jan 1 1970 /dev/ttyUSB10 crw-rw---T 1 root dialout 188, 11 Jan 1 1970 /dev/ttyUSB11 crw-rw---T 1 root dialout 188, 2 Jan 1 1970 /dev/ttyUSB2 crw-rw---T 1 root dialout 188, 3 Jan 1 1970 /dev/ttyUSB3 crw-rw---T 1 root dialout 188, 4 Jan 1 1970 /dev/ttyUSB4 crw-rw---T 1 root dialout 188, 5 Jan 1 1970 /dev/ttyUSB5 crw-rw---T 1 root dialout 188, 6 Jan 1 1970 /dev/ttyUSB6 crw-rw---T 1 root dialout 188, 7 Jan 1 1970 /dev/ttyUSB7 crw-rw---T 1 root dialout 188, 8 Jan 1 1970 /dev/ttyUSB8 crw-rw---T 1 root dialout 188, 9 Jan 1 1970 /dev/ttyUSB9 So what ports should I setup in smsd.conf ? Because I am not sure why I have more ports for one dongle. Are the extra ports there because of the sd card adapter on each dongle ? I tried checking/disable with usb_modeswitch without much success. I did disable the CD emulator feature and in Windows it doesn't load a CD anymore. Operating system name and version: Raspbian on Raspberry pi Version of smsd: smstools3-3.1.15.tar.gz Smsd installed from: sources Name and model of a modem / phone: Huawei 3G dongle K3765 Interface: USB
adrianTNT: If anyone else has this problem, I fixed it by editing Makefile and adding one tab character before the "override" word, so it looks something like this: ifneq (,$(findstring SOLARIS,$(CFLAGS))) ifeq (,$(findstring DISABLE_INET_SOCKET,$(CFLAGS))) override LFLAGS += -lsocket -lnsl endif endif
adrianTNT: Hello. I am trying to compile smstools3-3.1.15.tar.gz from source but I get these errors: make[1]: Entering directory '/adrian/smstools3/src' Makefile:51: *** recipe commences before first target. Stop. make[1]: Leaving directory '/adrian/smstools3/src' Makefile:10: recipe for target 'compile' failed make: *** [compile] Error 2 I thougth this topic is similar, so I tried adjusting the two lines as explained there, but I am now getting this other error: Makefile:51: *** recipe commences before first target. Stop. This was my code after editing: ifneq (,$(findstring NOSTATS,$(CFLAGS))) $(CC) $(CFLAGS) -o $@ $^ -lsocket -lnsl else $(CC) `mm-config --cflags` $(CFLAGS) -o $@ $^ `mm-config --ldflags --libs` -lsocket -lnsl endif clean: rm -f *.o smsd *.exe *~ Operating system name and version: Raspbian on raspberry Pi board Version of smsd: smstools3-3.1.15.tar.gz Smsd installed from: sources / package repository / from elsewhere: downloaded latest source archive from site Name and model of a modem / phone: none yet, I will test with Huawei K3765 dongle Interface: serial / USB / some adapter: USB
adrianTNT: I also thought about checking for existent files before creating more, I will check in both "outgoing" and "checked" folder, both can get filled with many messages and slow down the system, I noticed that if I have under 200 in outgoing folder then it loads a file in 1-2 seconds, otherwise it can take even 20-30 seconds in case there are over 1000 files. Thanks for the great support Keke.
adrianTNT: Processes are named smsd.exe, yes, sorry :) So I understand that this can be caused by a slow system and I should better create the SMS files myself ? The system indeed has an extremly slow processor, I cannot use it for anything else. I do not see "os_cygwin = yes", should I add it in smsd.conf ? ( PRIVATE BLOCK ) Thank you.
adrianTNT: Thanks for your reply. It is a python script that loads data from an url and then triggers the local sendsms command in order to send a message. Data is loaded as plain text and contains 10 lines per page load, each line contains phone number and message to send, separated by "|": +1555224565|Hello Jack, blah, blah +1222343433|Hi Mark, blah, blah .. 8 more ... This is repeated every 34 seconds, seems enough for the modems to send data. I noticed each time I restart smsd that there are 7 instances of sendsms.exe in windows, is that correct for 6 modems ? ( PRIVATE BLOCK )
adrianTNT: Hello. I am running a script to send the messages from Cygwin command line, it sends around 10 per minute, and there are 6 modems configured, sometimes my script stops because I am getting this back from the SmsTools: mv: try to overwrite `/var/spool/sms/outgoing/send_tRZacZ', overriding mode 0600 (rw-------)? n The folders only contain a low amount of files, changing from 0 to ~5. I am not sure what caused it, maybe the unique filename is not so unique? Or maybe the 6 instances of the modem all try to move the file at once and causes the conflict ? It happen twice in last hour. Does this indicate a problem and is there a way to tell it to automatically overwrite it or skip it ? Thank you.
adrianTNT: Thanks.
adrianTNT: Thanks. Do you think it is useful enough to be added on a future update?
adrianTNT: Hello. Is there a way to customize the "Limit reached" warning SMS to include the date that limit was reached? I am asking because I have an hourly limit but today I received many "warning" SMS messages one after another, I am not sure if it was a bug or they were just previous messages that could not reach me while my phone was off. It was useful to include date: "Message limit 100 was reached at 14:30 21 Aug". Let me know. Thank you.
adrianTNT: Yes. Thanks. Great tool. I just used it with Cygwin on Windows, I was wondering... in CentOS does it need drivers for each GSM stick or does it work directly with the mentioned devices ? I have no experience with these devices on linux.
adrianTNT: First of all, thank you to coder(s) for a nice tool. I am trying to understand how the variables message_limit and message_count_clear work. The message_count_clear starts counting when message_limit was reached and then it resets after X minutes ? Or does it simply resets every X minutes regardless if message_limit was reached or not ? First one would mean that there will be a blank period when nothing is sent, doesn't sound effective. Second one would make more sense and would mean that you could effectivly set an 100 messages per hour or so by these settings message_limit=100 message_count_clear=60 Which one is it ? Thank you.

Page:  1

SMSTools3 Community » Search Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.