1

My problem is that there is a legacy system for building automation (ventilation, temperature, lighting etc) without the possibility for upgrades, that needs to send text messages through a connected GSM modem. It does not have interfaces for connecting to the standardised SMS services around. The system is hosted in a virtual environment without the option for inserting physical equipment like GSM modems, even with a serial-to-IP converter.

What I'm trying to find is really some piece of software, commercial is fine, that can act as a bridge between the legacy system and the modern SMS services. The software would probably have to emulate the modem to receive and process the AT-commands from the legacy system, convert the data into a proper format, for example SMPP, and then forward the request to the SMS service for sending the message.

Another option is a simple software acting only as a virtual GSM modem, saving the messages somewhere (DB, files etc) for further consumption.

I'm stumped at the moment, so I hope some of you have seen some solutions for this somewhere.

Canis
  • 87

2 Answers2

2

You can use tcpser(1) to emulate a physical modem that accepts connections on a virtual serial port and forwards the data stream to a TCP server - that you'd probably have to write yourself.

It's not a turnkey solution but it might be a good start.

codehead
  • 1,026
1

codehead clearly got the bounty and the correct answer. His answer led me to discover a piece of software that inspires me to create an emulator that support at minimum the commands for the SMS-sending. Development will be done using the fabulous SMS Server Tools 3, NodeJS and adjustments for corner cases from real systems can be done when they surface.

The project will be open sourced under the MIT license and hosted on GitHub:

https://github.com/hakash/virtual-gsm

Canis
  • 87