As we use
当我们使用
<a href="tel:number">number</a> or <a href="mailto:mailid>mailid</a>
for telephone number & email, does anything like <a href="fax:number">number</a>
for fax exist?
对于电话和电子邮件,是否存在number for fax ?
1 个解决方案
#1
60
Yes, the tel, fax and modem URL Schemes are discussed in https://www.ietf.org/rfc/rfc2806
是的,电话、传真和调制解调器URL方案在https://www.ietf.org/rfc/rfc2806中讨论
2.3 "fax" URL scheme
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].
URL语法的正式描述如下(定义重用来自上述定义的非终端)。基于此语法,请参见[RFC2303]和[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
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.
传真:URL与电话:URL非常相似。主要的区别是,除了ISDN子地址之外,telefax还有另一种子地址类型,参见2.5.8节。
Example:
<a href="fax:+358.555.1234567">+358.555.1234567</a>
However, as per the comments below, RFC 2806 was obsoleted by RFC 3966 and you should just use the tel URI scheme:
然而,如下面的评论所示,RFC 2806被RFC 3966淘汰,您只需使用tel URI方案:
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.
“tel”URI没有指定调用类型,例如语音、传真或数据调用,并且不提供数据调用的连接参数。假定类型和参数可以通过电话设备或通过信令协议(如SIP)在带内进行协商。此文档废弃RFC 2806。
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.
RFC 3966由RFC 5341更新,以规范化URI参数,并要求它们在IANA中注册。为了完整性,我在这里包含这些内容。它们不包含任何传真设备上的附加信息。
#1
60
Yes, the tel, fax and modem URL Schemes are discussed in https://www.ietf.org/rfc/rfc2806
是的,电话、传真和调制解调器URL方案在https://www.ietf.org/rfc/rfc2806中讨论
2.3 "fax" URL scheme
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].
URL语法的正式描述如下(定义重用来自上述定义的非终端)。基于此语法,请参见[RFC2303]和[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
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.
传真:URL与电话:URL非常相似。主要的区别是,除了ISDN子地址之外,telefax还有另一种子地址类型,参见2.5.8节。
Example:
<a href="fax:+358.555.1234567">+358.555.1234567</a>
However, as per the comments below, RFC 2806 was obsoleted by RFC 3966 and you should just use the tel URI scheme:
然而,如下面的评论所示,RFC 2806被RFC 3966淘汰,您只需使用tel URI方案:
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.
“tel”URI没有指定调用类型,例如语音、传真或数据调用,并且不提供数据调用的连接参数。假定类型和参数可以通过电话设备或通过信令协议(如SIP)在带内进行协商。此文档废弃RFC 2806。
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.
RFC 3966由RFC 5341更新,以规范化URI参数,并要求它们在IANA中注册。为了完整性,我在这里包含这些内容。它们不包含任何传真设备上的附加信息。