Author |
Post |
|
#1 Mon Feb 22, 2016 14:39, 104 months ago.
|
Member
Registered: Feb 2016
Location: Teramo, Italy
|
Operating system name and version: Linux RHEL 6 x86_64 / CentOS 6 x86_64 Version of smsd: 3.1.15 Name and model of a modem / phone: Digi PortServer II, GT 863-PY-LITE terminal TELIT Interface: Serial TCP/RS232 modem
Hi all,
I'm a happy smstools user with a working environment of 8 modems running on a cluster of linux RHEL servers, managing about 1000 SMS per month, for alarm purposes and so on. My implementation is heavily customized by the use of shell scripting (excellent integration with smstools), and sometimes i need to have a review of my scripts, and maybe some corrections and implementations. Anyways, for testing and developing purposes, i would like to have a separate environment. Having 8 more GSM modem (and Sim cards) would be a useless waste of money, so i was wondering if there would exist some kind of GSM Modem emulator for linux (would be better a software emulation, of course). I had a brief search on the net without success. Anyone had tried a similar scenario? Any suggestion would be appreciate.
Kindly Federico
|
|
#2 Mon Feb 22, 2016 18:21, 104 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
I do not know about emulators, but smstools3 has some built-in features for testing and developing purposes. First, a modem setting modem_disabled is useful. Real modem is not required as the sending is simulated. A file like /tmp/GSM1 is enough as device, read more on How to configure. For incoming messages pdu_from_file does the job. With a global setting store_received_pdu you can collect typical messages on the production system, if necessary. With a global setting store_sent_pdu you can examine what actually was to be sent. A tool PDU Converter is useful for that. With this tool you can also create PDU and copy it into the "pdu_from_file". Smsd then receives it and runs all eventhandlers and everything else.
|
|
#3 Tue Feb 23, 2016 09:07, 103 months ago.
|
Member
Registered: Feb 2016
Location: Teramo, Italy
Topic owner
|
Hi Keke and thanks for Your fast reply. modem_disabled definitely does the job. It is exactly what i was looking for! I still did not have spent enough time understanding how the simulate incoming (pdu_from_file and so on..) part works, but i'm pretty sure it is fine as well. Well, thanks for Your excellent support!
Ciao Federico
|