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 Mar 29, 2024 11:28
SMSTools3 Community » Help and support Bottom

Mutliple Modems with specific outgoing/incoming

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Jul 2011
Location: Germany
Operating system name and version: Ubuntu
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: Prolific,BenQ,SE-C702,SE-Hazel
Interface: USB

Hi,

I have three different domains, each needs to send&receive SMS via a separate SIM card in a separate modem/phone device.
In the modem section I can't change the pathes: outgoing/incoming etc,
so how can I route the SMS to the correct modem?

I can adjust the /etc/init.d/sms3 script to start multiple versions of smsd with differen -c<smsconf> files.
Is this the recomended way to do?

For understanding:
When people discuss in this forum they have 20 modems at one Linux box (devices=modem1,modem2,...,modem20)
does that mean that those 20 devices do a load balancing? One of the 20 picks the next of the SMS from the outgoing path and sends it, like this one can send simultaneously 20 files from outgoing path?

Thanks
Marcel

Member
Registered:
Sep 2011
Location: Lisboa, Portugal
I think you can use the "Provider Queue" in the sms text file - http://smstools3.kekekasvi.com/index.php?p=fileformat
with the configuration the provider directly in the modem configuration (example 3) - http://smstools3.kekekasvi.com/index.php?p=configure2

Member
Registered:
Jul 2011
Location: Germany
Topic owner
Thank you for the link, yes this would have done it.
I like the smart way to choose the modem from a line inside a message ...

But I have setup yesterday the system running with multiple different smsd -c<configXYZ> processes.
Like this they are completely separate accessing messages from different directories.

One challenge was not easy to resolve: How force a modem to always use the same /dev/GSM-Modem-Prolific-100 etc USB links.
The problem is that the Prolific / BenQ modem does not return any unique serial number (no IMEI or such).
So the only way to distinguish the modems (and their SIMs inside) was to name each USB plug with a handwritten memo
on the PC and always plugin the modem to the correct USB port.

The next challenge was that on my ZOTAC Linux box the USB port was not queryable:

udevadm info --name=/dev/ttyUSB0 --attribute-walk

always two USB ports had a same identifier. But from the six USB ports three pairs where unique
and like this I could insert my modems as I only need three modems (what a luck).
On my other PC, the udev rules where again completely different ...

Here are some example of udev rules which worked:

KERNELS=="3-1:1.0",SYMLINK+="GSM-Modem-Prolific-100",GROUP="uucp",ACTION=="add",RUN+="/etc/init.d/sms3-100 restart"

KERNELS=="5-1:1.0",SYMLINK+="GSM-Modem-BenQ-200",GROUP="uucp",ACTION=="add",RUN+="/etc/init.d/sms3-200 restart"

KERNEL=="ttyACM?",ATTRS{idVendor}=="0fce",ATTRS{idProduct}=="d0d9",SYMLINK+="SonyEricssonC702-300",ACTION=="add",RUN+="/etc/init.d/sms3-300 restart"


I hope this help others,
regards
Marcel

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.