SMS Server Tools 3
This site is hosted by
Basic information:
Additional information:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

Custom Search

 Visitor locations
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Fri Jun 14, 2024 19:22
SMSTools3 Community » Help and support Bottom

[answered] Linux GSM Modem emulation

Login and Post Reply

Page:  1

Author Post
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.


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.

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!


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.