简体   繁体   中英

Can I receive a phone call over my modem in C#

I'm working a piece of software that in a perfect world would never lose an internet connection, and I could send an audio feed between two clients flawlessly. My problem is that this world is far from that. In the event of a failed internet connection and a dropped audio feed, my service is effectively worthless.

My question is this:

Is there a way in C# to attach to my systems modem and either make a call, or receive a call, (or preferably both,) and push/play audio to/from two points?

The approach is deprecated, but nearly a necessity in my scenario, and I couldn't find much on Google, so any help would be appreciated.

Thanks ahead of time.

No, modems (dial-up I assume you mean) do not have the ability to insert raw audio on a pots line (perhaps if you rewrite the driver though) but you may want to look into asterisk that has some really cool stuff you can mess with. But to the main point unless you forget the modem and use an ip-phone solution the answer is no.

You should look at using a service like Twilio to handle voice calling. They have a .net client: http://www.twilio.com/docs/libraries

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM