谷歌语音自动拨号器——即:有什么方法可以将电话号码发送到谷歌语音(或谷歌聊天插件)以发起呼叫?
这是一个听起来很愚蠢的问题,但我试图通过挖掘常见问题解答和论坛来找到答案,但没有找到答案。
就像您可以在移动浏览器的超链接中使用 tel:
一样,您可以设置一个链接来使用 Skype 软件发起呼叫:
<a href="skype:15555555">Call This Number</a>
有没有办法使用 Google Voice 执行类似的操作?或者,最近,Gmail?或者 Google/语音/聊天/其他插件?看起来他们确实在尝试将很多项目焊接在一起,而且我知道没有什么比桌面软件包更好的了,直到/除非他们决定彻底修改他们的“Google Talk' 支持 VoIP 通话。
但是,当然,随着所有这些东西的上线,有一种方法可以手动链接电话号码。没有小API吗?无法将 POST/GET 发送到某处?
This is a dumb sounding question, but I've tried to find an answer digging through FAQs and forums, and came up short.
Just like you can use tel:
in hyperlinks for mobile browsers, you can set a link to start a call with Skype's software with:
<a href="skype:15555555">Call This Number</a>
Is there any way to do anything similar with Google Voice? Or, as of recent, Gmail? Or the Google/voice/chat/whatever plugin? It seems they're really trying to solder a lot of their projects together, and I understand there's nothing like a desktop software package, until/unless they decide to overhaul their 'Google Talk' to support VoIP calling.
But, surely, with all of this stuff going live, there's a way to just link a phone number manually. No little API? Can't send POST/GET somewhere?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
模拟启动 Google 语音通话和 SMS 所需的 HTTP POST 请求非常简单,并且有一些工具/实用程序可以做到这一点。我为完成这项工作而编写的几个 C# 类是 GoogleVoiceCall和 GoogleVoiceSMS。
要从 HTML 页面执行等效操作,最好的选择是使用 javascript/jquery。示例 C# 类应该足够容易理解机制以及需要在 POST 请求中发送哪些参数。
Simulating the HTTP POST requests needed to initate Google Voice calls and SMS is pretty easy and there are a few tools/utilities around that do it. A couple of C# classes I wrote to do exactly that job are GoogleVoiceCall and GoogleVoiceSMS.
To do the equivalent from a HTML page the best bet would be to use javascript/jquery. The sample C# classes should show be easy enough to follow as to the mechanism and which parameters need to be sent in the POST requests.
这是 python 的 API:
http://code.google.com/p/pygooglevoice/
Java:http://code.google.com/p/google-voice-java/
C#/.NET: http://sourceforge.net/projects/gvoicedotnet/
我认为有一个Ruby 中的 API 也是如此。您基本上需要登录谷歌语音并提取“API KEY”,然后使用该 API。
Here's an API for python:
http://code.google.com/p/pygooglevoice/
Java: http://code.google.com/p/google-voice-java/
C#/.NET: http://sourceforge.net/projects/gvoicedotnet/
I think there's an API in Ruby also. You basically need to login to your google voice and extract the "API KEY", then use the API.