我想使用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.