用于进行 Skype 通话的 ASP.NET 应用程序
我想开发一个带有文本框和按钮的网络应用程序。 当用户输入号码并单击提交按钮时,我想从主机发起 Skype 呼叫。 我怎样才能做到这一点?
I want to develop a web application that will have textbox and button. When the user enters a number and clicks on the submit button, I want to make a Skype call from the host. How can I do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
假设您确实在服务器上启动了一个进程并在 Web 服务器上自动化了 Skype 客户端。 然后,它通过位于数据中心的电话拨打您的客户,客户会听到……什么? IIS 不太健谈。
So lets say you did launch a process on the server and automate the skype client on the web server. It then dials your customer via a phone located in the data center and the customer hears .... what? IIS isn't very talkative.
我知道这是一个旧线程,但我们通过它吸引了一些访问者到我们的网站。 如果您想将可点击的链接嵌入到与 Skype 配合使用的网站中,请使用 Skype URI,请参阅:https:// /dev.skype.com/skype-uri。
[Skype:echo123?呼叫][1]
I know this is an old thread but we are getting a few visitors to our site from it. If you want to embed clickable links into your website that work with Skype please use the Skype URIs, see: https://dev.skype.com/skype-uri.
[Skype:echo123?call][1]
呃……你正处于一个痛苦的世界。 首先,当然,您的服务器可能会进行 Skype 呼叫,但是您将如何处理与用户浏览器的来回呼叫? 使用富客户端框架进行大量自定义编程,就是这样。
最好让用户自己使用 Skype。 查看
callto://
URI 标头了解详细信息。Er... you're in for a world of pain. First, sure, your server could possibly make a skype call, but how would you handle the back-and-forth to your user's browser? Tons of custom programming with a rich client framework, that's how.
Better to let the user just use skype themselves. Look into the
callto://
URI header for details.您不能使用 callto:// 前缀设置链接吗? 如果用户在 Skype 中启用了该选项,则该应用程序将与这些链接关联。
如何使用 Skype Callto:// 链接
也许您可以建立一个链接即时并以这种方式发起呼叫?
Can't you setup your links with callto:// prefixes? If the user has the option enabled in Skype then the application will be associated with those links.
How to Use the Skype Callto:// Links
Perhaps you could build a link on the fly and initiate a call this way?
您可以生成带有 callto: 地址的 HTML 链接,以启动 Skype 客户端并拨打电话(如果客户端软件配置为这样做),这希望正是您所寻找的。 请参阅:http://chrisabraham.com/2005/05/05/how-to-hyperlink-to-a-skype-call-with-your-skype-contact-id-or-telephone -number/
如果您想实际使用 API,您将需要某种桌面 C# 应用程序和与 Skype API 的接口,请参阅以下内容了解详细信息:
http://share.skype.com/sites/devzone/2006/12/c_example_project_for_skype4co.html
http://www.codeproject.com/KB/cs/skypecontrolapicsharp.aspx
You can generate a link with HTML with a callto: address to launch the Skype client and make the call (if the client software is configured to do so), which is hopefully what you're looking for. See: http://chrisabraham.com/2005/05/05/how-to-hyperlink-to-a-skype-call-with-your-skype-contact-id-or-telephone-number/
If you want to actually get into the API, you'll need some kind of desktop C# application and interface with the Skype API, see following for details:
http://share.skype.com/sites/devzone/2006/12/c_example_project_for_skype4co.html
http://www.codeproject.com/KB/cs/skypecontrolapicsharp.aspx