tags:

views:

36

answers:

1

Hi

I need information how to link two voice modems to each other. From modem 1 I dial and play a .wav file then I dial modem 2 and link them to allow them speak.

What do I need to link two modems in C#, is it technically possible?

Thanks.

A: 

it is possible, but it will require a fair bit of work.

  1. You need to send commands to the modem to lift, make the call etc. You can do this through AT commands, and the System.IO.Ports.SerialPort class. This bit is fairly standard, and i'm sure you can find an example/lib out there that will handle all this at a higher level than AT commands.

  2. To link the voice part of the modems will depend on the exact modem. Most modems will install an audio component for the OS. If yours do, then what you need to do, is use directX to read/write to the specific audio devices.

What you're building here is a simple voice switch of sorts, and they do require a bit of work. Good luck.

jasper