RFC3261: SIP:8.1.1.3 From

8.1.1.3 From

   The From header field indicates the logical identity of the initiator of the request, possibly the user's address-of-record.  Like the To header field, it contains a URI and optionally a display name.  It is used by SIP elements to determine which processing rules to apply to a request (for example, automatic call rejection).  As such, it is very important that the From URI not contain IP addresses or the FQDN of the host on which the UA is running, since these are not logical names.

From报头字段指示请求发起方的逻辑标识,可能是记录的用户地址。与To报头字段一样,它包含一个URI和可选的显示名称。SIP元素使用它来确定将哪些处理规则应用于请求(例如,自动呼叫拒绝)。因此,非常重要的是,From URI不包含UA运行所在主机的IP地址或FQDN,因为这些不是逻辑名称。

   The From header field allows for a display name.  A UAC SHOULD use the display name "Anonymous", along with a syntactically correct, but otherwise meaningless URI (like sip:thisis@anonymous.invalid), if the identity of the client is to remain hidden.

From报头字段允许显示名称。UAC应该使用显示名称“Anonymous”,以及语法正确但在其他方面没有意义的URI(如sip:thisis@anonymous.invalid),如果客户端的身份要保持隐藏。

   Usually, the value that populates the From header field in requests generated by a particular UA is pre-provisioned by the user or by the administrators of the user's local domain.  If a particular UA is used by multiple users, it might have switchable profiles that include a URI corresponding to the identity of the profiled user. Recipients of requests can authenticate the originator of a request in order to ascertain that they are who their From header field claims they are (see Section 22 for more on authentication).

​通常,在特定UA生成的请求中填充From报头字段的值是由用户或用户本地域的管理员预先提供的。如果一个特定的UA被多个用户使用,它可能具有可切换的配置文件,其中包括与配置文件用户的身份相对应的URI。请求的接收者可以对请求的发起人进行身份验证,以确定他们是其“To”字段声称的人(有关身份验证的更多信息,请参阅第22节)。

   The From field MUST contain a new "tag" parameter, chosen by the UAC. See Section 19.3 for details on choosing a tag.

​
“From”字段必须包含一个新的“tag”参数,由UAC选择。有关选择标签的详细信息,请参见第19.3节。
​

   For further information on the From header field, see Section 20.20.

有关From header字段的更多信息,请参阅第20.20节。
​
 Examples:
示例

      From: "Bob" <sips:bob@biloxi.com> ;tag=a48s
      From: sip:+12125551212@phone2net.com;tag=887s
      From: Anonymous <sip:c8oqz84zk7z@privacy.org>;tag=hyh8
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值