在 Windows 7 上使用 TAPI 创建应用程序 - 从哪里开始
它能与它一起工作吗?这对 TAPI 来说是一个好的开始...
我想创建一个应用程序,它可以自动接听/记录来电,还可以呼叫某人录制的消息。
想要在 .net 中使用它(asp.net 或 c# 桌面没问题)。
does it working with it and which is the good start for TAPI...
i want to create an application which automatically answer/record incoming call and also call to someone recorded message.
want this in .net (asp.net or c# desktop no problem).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Microsoft 似乎不太可能从 Windows 7 中删除 TAPI,因此最终这将取决于您所使用的电话系统和驱动程序。 Avaya 和 Cisco 通常提供良好的驱动程序。我们工作中使用 Avaya 电话系统,还有一些人使用 Windows 7,据我所知,没有任何问题。
很少支持从托管代码使用 TAPI,但可以使用包装器或第 3 方组件(请参阅 Microsoft知识库文章 841712)。
这篇文章可能会为您指出正确的方向方向。
It seems unlikely that Microsoft would have removed TAPI from Windows 7 so ultimately this will depend on the telephone system and drivers you are using. Avaya and Cisco usually provide good drivers. We have an Avaya phone system in work and a few people using Windows 7 with no problems AFAIK.
There is little support for using TAPI from managed code, but it is possible using wrappers or 3rd party components (see Microsoft Knowledgebase article 841712).
This post might point you in the right direction.
我也尝试使用 TAPI、C# 和 64 位 Windows 7。我编写了一个非常小的程序,它使用(codeplex 中的 ITAPI 程序集)。
theTextBox.Clear();
foreach(tapi.Addresses 中的 TAddress addr){
theTextBox.Text += addr.AddressName + "\n";
}
theTextBox.Refresh();
tapi 是一个 TTapi 对象,在 Form 的构造函数中初始化。
结果列表似乎是一些默认列表,其中缺少我安装的 LAN TAPI 服务提供商。目前我对有一个运行良好的包装器不抱太大希望。
I'm trying to work with TAPI, C# and 64bit Windows 7, too. I wrote a very small program which uses (the ITAPI assembly from codeplex).
theTextBox.Clear();
foreach (TAddress addr in tapi.Addresses){
theTextBox.Text += addr.AddressName + "\n";
}
theTextBox.Refresh();
tapi is a TTapi object and is initialized in the Form's constructor.
The resulting list seems to be some default list which painfully lacks the LAN TAPI Service Provider I installed. I currently have low hopes that there is a well working wrapper for this.