Re: dial a telephone number using the modem,and playing an audio file when the person lifts up telepone



Hi Sunnf,

This sort of thing would best be handled by a DSP based solution. You
need a DTMF library, a codec to attach your sound card output to, code
that can detect answer supervision on the phone line, and an RS232
connection to your PC so that you can issue dialing commands and tell
it when to bridge the codec onto the phone circuit.

You need an electrical engineer who can tell you what pieces to buy.
Doing it the right way would cost considerable amounts of cash for R &
D however.

Or you could get and EE student to hand wire a homebrew project for
you. The sound card output is analog but needs ampification. Then
you need to go offhook on an extension when you get answer supervision
from the central office (CO).

Cheers,

- Kurt



On Tue, 30 Aug 2005 09:07:08 +0800, "sunnf" <sunnfcn@xxxxxxxxxxxx>
wrote:

>I wanted to make a vb application which would dial a telephone number using
>the modem. When the person on the other end lifts up the telephone (answers
>the phone), the application should start playing an audio file(eg. .wav
>file).
>
>The approach I took was using the Tapi. As my modem is connected to the
>serial port on my computer I send AT commands to make the phone call . This
>is working fine and the call is being placed.
>
>I wanted to know whether this is possible at all? Whether I am approaching
>the wrong way? If it is possible, then please give some suggestions or
>samples(vb or vc). If it is not possible , then what is the best way to do
>so
>
>
.



Relevant Pages

  • Re: [Alsa-devel] Re: Brand-new notebook useless with Linux...
    ... codec) - maybe there is fight between sound and modem driver. ... this codec works ok - audio part. ...
    (Linux-Kernel)
  • scanModem, Xandros Desktop kernel 2.6.9-x1
    ... USB modem not detected. ... SubSystem 103c:3080 Hewlett-Packard Company: Unknown device 3080 ... The Subsystem PCI id does not itself identify the modem Codec. ... Download drivers from http://www.Linuxant.com/drivers/ ...
    (comp.os.linux.hardware)
  • Re: Brand-new notebook useless with Linux...
    ... > figure out how to get the codec ID and hacked the source to print it: ... Wait, that sounds like the modem, not the AC97 audio codec. ... Does your sound work? ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)