我想使用C#将陆线电话连接到计算机 [英] i want to connect land line telephone to computer using c#

查看:81
本文介绍了我想使用C#将陆线电话连接到计算机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何将座机电话与您的计算机联系,以使电话响起我想起的第一件事,因此我记录了与通话有关的数据并将其存储在数据库中
请帮助我

I want to know how to contact a landline phone to your computer so that the phone rings the first thing that seems to me, and I record data relating to the call and store it inside the database
please help me

推荐答案

您的问题没有任何意义,您也没有指定要记录的详细信息.

但是,您不会将电话线连接到没有调制解调器的计算机.为了获取一些呼叫详细信息,例如呼叫号码(如果没有被呼叫者阻止!),您将需要一个可以传达这些详细信息的调制解调器.

然后,您将必须学习如何通过串行端口连接与调制解调器进行通信.这包括处理端口本身(System.Io.Ports命名空间)和调制解调器使用的语言,AT命令集.
Your question doesn''t make any sense and you don''t specify anything about the details you want to record.

But, you''ve not going to connect the phone line to a computer without a modem. In order to grab some call details, like the calling number (if it''s not blocked by the caller!), you''ll need a modem that can communicate those details.

Then you''re going to have to learn how to communicate with the modem over a serial port connection. This includes handling the port itself (System.Io.Ports namespace) and the language the modem uses, the AT command set.


这篇关于我想使用C#将陆线电话连接到计算机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆