是否执行< a href ="fax:number"> number</a>之类的操作?存在? [英] Does anything like <a href="fax:number">number</a> exist?

查看:52
本文介绍了是否执行< a href ="fax:number"> number</a>之类的操作?存在?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用时

<a href="tel:number">number</a> or <a href="mailto:mailid>mailid</a>

电话号码和电子邮件,是否存在用于传真的< a href ="fax:number"> number</a> 之类的东西?

for telephone number & email, does anything like <a href="fax:number">number</a> for fax exist?

推荐答案

是的,电话,传真和调制解调器URL方案在 https://www.ietf.org/rfc/rfc2806

Yes, the tel, fax and modem URL Schemes are discussed in https://www.ietf.org/rfc/rfc2806

URL语法正式描述如下(定义重用上述定义中的非终结符).以此为基础语法,请参见[RFC2303]和[RFC2304].

The URL syntax is formally described as follows (the definition reuses nonterminals from the above definition). For the basis of this syntax, see [RFC2303] and [RFC2304].

  fax-url          = fax-scheme ":" fax-subscriber
  fax-scheme       = "fax"
  fax-subscriber   = fax-global-phone / fax-local-phone
  fax-global-phone = "+" base-phone-number [isdn-subaddress]
                     [t33-subaddress] [post-dial]
                     *(area-specifier / service-provider /
                     future-extension)
  fax-local-phone  = 1*(phonedigit / dtmf-digit /
                     pause-character) [isdn-subaddress]
                     [t33-subaddress] [post-dial]
                     area-specifier
                     *(area-specifier / service-provider /
                     future-extension)
  t33-subaddress   = ";tsub=" 1*phonedigit

传真:URL与电话:URL非常相似.主要区别是除了ISDN子地址外,传真也有另一个子地址的类型,请参阅第2.5.8节.

The fax: URL is very similar to the tel: URL. The main difference is that in addition to ISDN subaddresses, telefaxes also have an another type of subaddress, see section 2.5.8.

示例:

<a href="fax:+358.555.1234567">+358.555.1234567</a>

但是,按照下面的注释, RFC 2806已被RFC 3966淘汰,您应该使用tel URI方案:

However, as per the comments below, RFC 2806 was obsoleted by RFC 3966 and you should just use the tel URI scheme:

"tel" URI没有指定呼叫类型,例如语音,传真或数据调用,并且不提供数据的连接参数称呼.假定类型和参数可以协商由电话设备带内或通过诸如作为SIP.该文档淘汰了RFC 2806.

The "tel" URI does not specify the call type, such as voice, fax, or data call, and does not provide the connection parameters for a data call. The type and parameters are assumed to be negotiated either in-band by the telephone device or through a signaling protocol such as SIP. This document obsoletes RFC 2806.

RFC 5966对RFC 3966进行了更新,以规范化URI参数并要求它们可以在IANA上注册.为了完整起见,我将它们包括在这里.它们在传真设备上不包含任何其他信息.

RFC 3966 was updated by RFC 5341 to formalize URI parameters and require them to be registered with IANA. I am including these here for the sake of completeness. They do not contain any additional information on fax devices.

这篇关于是否执行&lt; a href ="fax:number"&gt; number&lt;/a&gt;之类的操作?存在?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆