4

Possible Duplicate:
How can I receive phone calls on a Linux server and script stuff depending on the numbers pressed?

This is related to my previous question (How can I receive phone calls on a Linux server and script stuff depending on the numbers pressed?) which I consider unanswered. I was pointed to asterisk. I've asked over at their forum but their solutions are too expensive ($400..). Link to forum thread.

I still want to script stuff over the phone. It has to be reachable from a regular phone and I don't want to pay for any additional services. So no VoIP I guess.

On Windows there seem to be a dialer built-in (dialer.exe). I don't know what a dialer exactly is but I've googled around and it looks like some people actually use it to make phone calls. Is there something similar on Linux?

So how do I make/receive phone calls with a modem on Linux? Is there an API so I can do that programmatically?

knarf
  • 375
  • 1
  • 5
  • 10

1 Answers1

2

First, you have to identify whether you are using a hardware modem or a winmodem. A hardware modem has jumpers on it that set IRQ, for example. To your Linux box it will appear to be a serial port. If what you have is a winmodem, you will need a driver to configure the modem.

That said, if what you have is a hardware modem, it'll be easy to communicate with. Most hardware modems use a Hayes instruction set. If you are using a hardware modem a scripting language can pass control arguments to it, and use the modems built in ability to understand DTMF to pass output back to the scripting language.

I think anything outside of what I've answered would be more suited to another forum. You've asked several questions, and I have entire books on this subject.

Everett
  • 6,113
  • 1
  • 24
  • 34