电话呼叫的 URL 方案

发布于 2024-07-24 14:31:41 字数 220 浏览 14 评论 0原文

就像“mailto”URL 前缀启动用户的默认邮件程序并使用指定地址启动新电子邮件一样,是否有类似的 URL 方案可以发起电话呼叫? 也许是“电话”、“呼叫”或“啜饮”?

顺便说一句,我的目标是使用 Cisco CUPS 的平台,因此可能有一种特定于平台的方式来发起 Cisco 特有的呼叫,但我想我应该先问更一般的问题。 但是,如果有人具体知道如何通过 CUPS 以编程方式发起呼叫,那就太好了。

Much like the "mailto" URL prefix launches the user's default mail program and starts a new email with specified address, is there a similar URL scheme that would initiate a phone call? Perhaps "phone," "call," or "sip"?

Incidentally, I'm targeting a platform that is using Cisco CUPS, so there may be a platform-specific way for me to initiate a call that is particular to Cisco, but I thought I'd ask the more general question first. However if anyone knows specifically how to programmatically initiate a call via CUPS, that would be great too.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

倾城花音 2024-07-31 14:31:42

有这样一个URI方案:tel。 它有一个复杂的语法,但这里有一个简单的用法示例:

tel:123-4567

有关完整规范,请参阅 http://www.ietf.org/rfc/rfc3966.txt

There is such a URI scheme: tel. It has an elaborate syntax, but here is a simple example of its usage:

tel:123-4567

For the full specification, refer to http://www.ietf.org/rfc/rfc3966.txt .

两人的回忆 2024-07-31 14:31:42

我正在寻找 Microsoft Office Communicator 的相同功能。 经过一番调查后,我发现以下 URI 语法将通过通信器发起 (VoIP) 电话呼叫:

tel:+number

例如:让通信器呼叫我的分机:

tel:+7780

I'm after the same sort of functionality for Microsoft Office Communicator. After a bit of investigation I found that the following URI syntax will initiate a (VoIP) phone call via communicator:

tel:+number

eg: to get communicator to call my extension:

tel:+7780
分开我的手 2024-07-31 14:31:42

sip:(或sips:)是SIP 的官方 URI 方案,我认为 Skype 使用了 callto:,但已弃用。

sip: (or sips:) is the official URI scheme for SIP, and I think callto: was used by Skype, but is deprecated.

北笙凉宸 2024-07-31 14:31:41

提供电话号码作为 URI 的官方标准如下:http://www.ietf.org /rfc/rfc3966.txt

它基本上表示使用 tel: 作为前缀,并在号码本身之前以 +[国际拨号代码] 开头。 您可以将非数字字符作为分隔符(例如 -),但必须忽略它们。 因此,伦敦(英国)号码可能是:

tel:+44-20-8123-4567

纽约(美国)号码:

tel:+1-212-555-1234

The official standard for providing a telephone number as a URI is here: http://www.ietf.org/rfc/rfc3966.txt

It basically says use tel: as the prefix, and start the number with +[international dialling code] before the number itself. You can put non-numeric characters as separators (e.g. -) but they must be ignored. So a London (UK) number might be:

tel:+44-20-8123-4567

A New York (US) number:

tel:+1-212-555-1234
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文