开发者

Manage two voice modems in C#

I nee开发者_开发技巧d 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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜