I have a hardware device I need a server to dial into at regular intervals. The problem is I no longer have a POTS line or a modem in any of development computers, and all my production servers are virtual. I went out and got a usb modem for development and will plug it into a broadvoice VOIP line, but this seems quite kludgey. I've googled around and have found "virtual modems" that simulate serial connections or "at based" modems over IP, but so far nothing supports SIP or any kind of VOIP.
Is there a way to connect a virtual modem to a real one?
Thanks.
Update Putting a computer near the device isn't a good option as its in a public basement, (though the ALIX boards might work) and even then I'd have to dial into it. I also can't replace the modem with a serial device or an ip device as the only connection to location is the phone line and I don't know enough about the device to modify it. This is for some old smart meter equipment.
To save your sanity, don't.
Modems (and fax) over VoIP are extremely sensitive to timing, and usually break over VoIP, it might even seem to work at first, but it's certain to break.
Adding virtual machines just makes the problem worse.
There are "short haul modems" around which can emulate a phone line.
Another option is just to attach the two modems back to back:
http://www.jagshouse.com/modem.html
I have a similar need, and I've been searching for hours and hours for a solution. The closest I've found is a free but not very well-written program called "TimeFax" (http://sourceforge.net/projects/timefax/), which installs a virtual COM port and connects it to an H.323 receiver. You can make Windows install a legacy 14k modem on that COM port, and theoretically the program will take the COM port data and transform it to H.323 and pipe it to whichever receiver you specify. Then all you need is a VoIP H.323 termination, and you might be good.
Note that to get TimeFax working on Windows Vista or 7, you have to disable desktop composition in the compatibility settings. You'll also have to manually download the 2 dll files that it is missing, which it will complain about when you first try to run it. A quick Google search finds them easily though.
You'll still have issues with VoIP compression, but if you lower the speed, you might be able to achieve something that works. A few years ago I routed a dial-up modem through a Vonage connection, and it worked surprisingly well if I kept it at slow speeds (like 14k), so I know that dial-up over VoIP is possible, I just haven't quite got a completely software solution working.
We use Cisco ATA 186's to on all of our faxes and as a backup in case our WAN goes down and we need to get into our networking gear at the Datacenter ... 1900 miles away. They've served us very well
EDIT:
In that case of purely software devices ... they don't exist. I tried looking high and low. Including trying to hack something together with asterisk ( with the help of an asterisk hacker i work with ). I was looking for a situation where i could dial into the modem on our network gear anywhere even when all I had was my Cell card.
You might be able to use a serial device server such as the Lantronix UDS 1100.
You load com port redirector software on the host computer and connect the device server to your remote device in place of a modem.
(source: lantronix.com)
When this question was asked, there was no existing solution, but Vocal Technologies has a SAMS (SIP Analog Modem Server) which is what the OP was looking for. It is a purely software modem server that can connect to actual Physical Modems connected to the PSTN, from a Cloud server connected only via SIP/G.711.
I'm not an expert, but as an aside that I find a bit too long for a comment:
Even "true" POT lines use multiplexing to handle multiple calls over a single cable. This uses conversion of analog signals (the tones generated by the modem) into digital ones, and back. The digital capacity is limited by design, and thus the analog bandwidth is limited too. VOIP uses its own compression as well. Hence mixing the two, if possible at all, might only work with low speeds.
I can't say that this would work but it seems to be at least close:
http://www.dataremote.com/store/index.php?main_page=product_info&cPath=6&products_id=39&zenid=b989f7dc94e69989d81ad5fb49ec0a93
While I've not used DataRemote software I have used their hardware and dealt directly with their very accessible tech support for more than 3 years now. I'd give an A+ all around for my own personal DataRemote experiences.
The main issue with most "virtual modems" out there is that they're unable to interoperate with a physical modem (they require their software on both endpoints). There is a solution for this use case https://www.vocal.com/voip/sip-analog-modem-server-sams/. IP networks have gotten good enough to reliably transmit modem calls and these purpose built solutions can account for modem timing requirements.