Network Working Group                                        B. Campbell
Request for Comments: 3087                                     R. Sparks
Category: Informational                                      dynamicsoft
                                                              April 2001
        
Network Working Group                                        B. Campbell
Request for Comments: 3087                                     R. Sparks
Category: Informational                                      dynamicsoft
                                                              April 2001
        

Control of Service Context using SIP Request-URI

使用SIP请求URI控制服务上下文

Status of this Memo

本备忘录的状况

This memo provides information for the Internet community. It does not specify an Internet standard of any kind. Distribution of this memo is unlimited.

本备忘录为互联网社区提供信息。它没有规定任何类型的互联网标准。本备忘录的分发不受限制。

Copyright Notice

版权公告

Copyright (C) The Internet Society (2001). All Rights Reserved.

版权所有(C)互联网协会(2001年)。版权所有。

Abstract

摘要

This memo provides information for the Internet community. It describes a useful way to conceptualize the use of the standard SIP (Session Initiation Protocol) Request-URI (Uniform Resource Identifier) that the authors and many members of the SIP community think is suitable as a convention. It does not define any new protocol with respect to RFC 2543.

本备忘录为互联网社区提供信息。它描述了一种有用的方法来概念化标准SIP(会话启动协议)请求URI(统一资源标识符)的使用,作者和SIP社区的许多成员认为该URI适合作为约定。它没有定义任何关于RFC 2543的新协议。

In a conventional telephony environment, extended service applications often use call state information, such as calling party, called party, reason for forward, etc, to infer application context. In a SIP/2.0 call, much of this information may be either non-existent or unreliable. This document proposes a mechanism to communicate context information to an application. Under this proposal, a client or proxy can communicate context through the use of a distinctive Request-URI. This document continues with examples of how this mechanism could be used in a voice mail application.

在传统的电话环境中,扩展服务应用程序通常使用呼叫状态信息,如主叫方、被叫方、转发原因等来推断应用程序上下文。在SIP/2.0调用中,许多信息可能不存在或不可靠。本文提出了一种将上下文信息传递给应用程序的机制。根据该方案,客户机或代理可以通过使用独特的请求URI来通信上下文。本文档继续举例说明如何在语音邮件应用程序中使用此机制。

Table of Contents

目录

   1.      Introduction . . . . . . . . . . . . . . . . . . . . . . .  3
   2.      Example Application  . . . . . . . . . . . . . . . . . . .  3
   2.1     Using URIs to Control Voice Mail Service Behavior  . . . .  3
   3.      Voice Mail Scenario Descriptions . . . . . . . . . . . . .  5
   3.1     Deposits . . . . . . . . . . . . . . . . . . . . . . . . .  5
   3.1.1   Direct Request to Deposit to a particular mailbox  . . . .  5
   3.1.1.1 SIP source . . . . . . . . . . . . . . . . . . . . . . . .  5
   3.1.1.2 Arbitrary PSTN source  . . . . . . . . . . . . . . . . . .  5
   3.1.1.3 Recognized PSTN source . . . . . . . . . . . . . . . . . .  6
   3.1.2   Direct Request to Deposit, mailbox to be determined  . . .  6
   3.1.2.1 SIP source . . . . . . . . . . . . . . . . . . . . . . . .  6
   3.1.2.2 PSTN source  . . . . . . . . . . . . . . . . . . . . . . .  6
   3.1.2.3 Indirect Request to Deposit, due to find-me proxy decision  6
   3.2     Retrievals . . . . . . . . . . . . . . . . . . . . . . . .  7
   3.2.1   Request to Retrieve from a particular mailbox  . . . . . .  7
   3.2.1.1 Trusted SIP source . . . . . . . . . . . . . . . . . . . .  7
   3.2.1.2 Authenticated SIP source . . . . . . . . . . . . . . . . .  7
   3.2.1.3 Unauthenticated SIP source . . . . . . . . . . . . . . . .  7
   3.2.1.4 PSTN source  . . . . . . . . . . . . . . . . . . . . . . .  7
   3.2.2   Request to Retrieve, mailbox to be determined  . . . . . .  7
   3.2.2.1 SIP source . . . . . . . . . . . . . . . . . . . . . . . .  7
   3.2.2.2 Arbitrary PSTN source  . . . . . . . . . . . . . . . . . .  8
   3.2.2.3 Recognized PSTN source . . . . . . . . . . . . . . . . . .  8
   4.      Voice Mail Call Flow Examples  . . . . . . . . . . . . . .  8
   4.1     Generic Scenario . . . . . . . . . . . . . . . . . . . . .  8
   4.1.1   Direct call to the voice mail system . . . . . . . . . . .  8
   4.2     Message Deposit Scenarios  . . . . . . . . . . . . . . . . 13
   4.2.1   Call to known subscriber forwarded on no answer  . . . . . 13
   4.2.2   Call to known subscriber forwarded on busy . . . . . . . . 19
   4.2.3   Direct call to a subscriber's mailbox  . . . . . . . . . . 24
   4.3     Message Retrieval Scenarios  . . . . . . . . . . . . . . . 29
   4.3.1   Call to retrieve messages believed to be from a known
           subscriber . . . . . . . . . . . . . . . . . . . . . . . . 29
   4.3.2   Call to retrieve messages from an authenticated subscriber 33
   5.      Security Considerations  . . . . . . . . . . . . . . . . . 38
   6.      Acknowledgments  . . . . . . . . . . . . . . . . . . . . . 38
           References . . . . . . . . . . . . . . . . . . . . . . . . 38
           Authors' Addresses . . . . . . . . . . . . . . . . . . . . 38
           Full Copyright Statement . . . . . . . . . . . . . . . . . 39
        
   1.      Introduction . . . . . . . . . . . . . . . . . . . . . . .  3
   2.      Example Application  . . . . . . . . . . . . . . . . . . .  3
   2.1     Using URIs to Control Voice Mail Service Behavior  . . . .  3
   3.      Voice Mail Scenario Descriptions . . . . . . . . . . . . .  5
   3.1     Deposits . . . . . . . . . . . . . . . . . . . . . . . . .  5
   3.1.1   Direct Request to Deposit to a particular mailbox  . . . .  5
   3.1.1.1 SIP source . . . . . . . . . . . . . . . . . . . . . . . .  5
   3.1.1.2 Arbitrary PSTN source  . . . . . . . . . . . . . . . . . .  5
   3.1.1.3 Recognized PSTN source . . . . . . . . . . . . . . . . . .  6
   3.1.2   Direct Request to Deposit, mailbox to be determined  . . .  6
   3.1.2.1 SIP source . . . . . . . . . . . . . . . . . . . . . . . .  6
   3.1.2.2 PSTN source  . . . . . . . . . . . . . . . . . . . . . . .  6
   3.1.2.3 Indirect Request to Deposit, due to find-me proxy decision  6
   3.2     Retrievals . . . . . . . . . . . . . . . . . . . . . . . .  7
   3.2.1   Request to Retrieve from a particular mailbox  . . . . . .  7
   3.2.1.1 Trusted SIP source . . . . . . . . . . . . . . . . . . . .  7
   3.2.1.2 Authenticated SIP source . . . . . . . . . . . . . . . . .  7
   3.2.1.3 Unauthenticated SIP source . . . . . . . . . . . . . . . .  7
   3.2.1.4 PSTN source  . . . . . . . . . . . . . . . . . . . . . . .  7
   3.2.2   Request to Retrieve, mailbox to be determined  . . . . . .  7
   3.2.2.1 SIP source . . . . . . . . . . . . . . . . . . . . . . . .  7
   3.2.2.2 Arbitrary PSTN source  . . . . . . . . . . . . . . . . . .  8
   3.2.2.3 Recognized PSTN source . . . . . . . . . . . . . . . . . .  8
   4.      Voice Mail Call Flow Examples  . . . . . . . . . . . . . .  8
   4.1     Generic Scenario . . . . . . . . . . . . . . . . . . . . .  8
   4.1.1   Direct call to the voice mail system . . . . . . . . . . .  8
   4.2     Message Deposit Scenarios  . . . . . . . . . . . . . . . . 13
   4.2.1   Call to known subscriber forwarded on no answer  . . . . . 13
   4.2.2   Call to known subscriber forwarded on busy . . . . . . . . 19
   4.2.3   Direct call to a subscriber's mailbox  . . . . . . . . . . 24
   4.3     Message Retrieval Scenarios  . . . . . . . . . . . . . . . 29
   4.3.1   Call to retrieve messages believed to be from a known
           subscriber . . . . . . . . . . . . . . . . . . . . . . . . 29
   4.3.2   Call to retrieve messages from an authenticated subscriber 33
   5.      Security Considerations  . . . . . . . . . . . . . . . . . 38
   6.      Acknowledgments  . . . . . . . . . . . . . . . . . . . . . 38
           References . . . . . . . . . . . . . . . . . . . . . . . . 38
           Authors' Addresses . . . . . . . . . . . . . . . . . . . . 38
           Full Copyright Statement . . . . . . . . . . . . . . . . . 39
        
1. Introduction
1. 介绍

A communication service should make use of the information it has at hand when being accessed. For example, in most current voice mail implementations, a subscriber retrieving messages from his own desk does not have to reenter his voice mailbox number - the service assumes that the store being accessed is the one associated with the endpoint being used to access the service. Some services allow the user to validate this assumption using IVR techniques before prompting for a PIN.

通信服务在被访问时应利用其手头的信息。例如,在大多数当前的语音邮件实现中,从自己的办公桌检索邮件的订阅者不必重新输入自己的语音邮箱号码-服务假定正在访问的存储是与用于访问服务的端点关联的存储。一些服务允许用户在提示输入PIN之前使用IVR技术验证此假设。

This concept of context-awareness can be captured in a voice mail service implementing SIP as defined in RFC 2543[1], without modification, through the standard use of that protocol's Request-URI. Furthermore, the concept is applicable to any SIP-based service where initial application state should be determined from context.

通过标准使用该协议的请求URI,可以在实现RFC 2543[1]中定义的SIP的语音邮件服务中捕获上下文感知的概念,而无需修改。此外,该概念适用于任何基于SIP的服务,其中初始应用程序状态应根据上下文确定。

This concept is a usage convention of standard SIP as defined in RFC 2543[1] and does not modify or extend that protocol in any way.

该概念是RFC 2543[1]中定义的标准SIP的使用约定,不以任何方式修改或扩展该协议。

2. Example Application
2. 示例应用程序

In this document, we use the example of voice mail to illustrate the technique. One motivation for applying this technique to this problem is allowing a proxy or location server to control the initial state of a voice service. For example, a voice client might register a contact list ending with the URL that would accept voice messages for the client.

在本文中,我们使用语音邮件的示例来说明该技术。将此技术应用于此问题的一个动机是允许代理服务器或位置服务器控制语音服务的初始状态。例如,语音客户端可能会注册一个以URL结尾的联系人列表,该URL将接受客户端的语音消息。

2.1 Using URIs to Control Voice Mail Service Behavior
2.1 使用URI控制语音邮件服务行为

Many conventional voice mail systems use call state information, such as the calling party, called party, reason for forward, etc, to decide the initial application state. For example, it might play one outgoing message if the call reached voice mail because the called party did not answer and another if the line was busy. It decides whom the message is for based on the called party information. If the call originated from a subscriber's phone number, it might authenticate the caller and then go directly to the message retrieval and account maintenance menu.

许多传统的语音邮件系统使用呼叫状态信息,如主叫方、被叫方、转发原因等,来确定初始应用程序状态。例如,如果由于被叫方没有应答,呼叫到达语音邮件,它可能会播放一条传出消息;如果线路忙,它可能会播放另一条传出消息。它根据被叫方信息决定消息的对象。如果呼叫源于用户的电话号码,则可能会对呼叫者进行身份验证,然后直接转到“消息检索和帐户维护”菜单。

When a new subscriber is added to a system, a set of identities could be generated, each given a unique sip URI. The following tables show some of the identities that might be generated (it is not exhaustive). The example schemes show that the URIs could, but don't necessarily have to, have mnemonic value.

当一个新的订户添加到一个系统中时,可以生成一组标识,每个标识都有一个唯一的SIPURI。下表显示了可能生成的一些标识(并非详尽无遗)。示例方案表明,URI可以但不一定必须具有助记值。

In practical applications, it is important that an application does not apply semantic rules to the various URIs. Instead, it should allow any arbitrary string to be provisioned, and map the string to the desired behavior. The owner of the system may choose to provision mnemonic strings, but the application should not require it. In any large installation, the system owner is likely to have pre-existing rules for mnemonic URIs, and any attempt by an application to define its own rules may create a conflict. For our example, this means a voice mail system should allow an arbitrary mix of URLs from these schemes, or any other scheme that renders valid SIP URIs to be provisioned, rather than enforce one particular scheme.

在实际应用中,应用程序不将语义规则应用于各种URI是很重要的。相反,它应该允许设置任意字符串,并将该字符串映射到所需的行为。系统所有者可以选择提供助记符字符串,但应用程序不应要求提供助记符字符串。在任何大型安装中,系统所有者都可能对助记符URI具有预先存在的规则,应用程序试图定义自己的规则可能会产生冲突。对于我们的示例,这意味着语音邮件系统应该允许来自这些方案的URL的任意混合,或者提供有效SIP URI的任何其他方案,而不是强制执行一个特定方案。

URI Identity Example Scheme 1 Example Scheme 2 Example Scheme 3

URI标识示例方案1示例方案2示例方案3

      Deposit with       sip:sub-rjs-deposit@vm.wcom.com
      standard greeting       sip:677283@vm.wcom.com
                                   sip:rjs@vm.wcom.com;mode=deposit
        
      Deposit with       sip:sub-rjs-deposit@vm.wcom.com
      standard greeting       sip:677283@vm.wcom.com
                                   sip:rjs@vm.wcom.com;mode=deposit
        
      Deposit with on    sip:sub-rjs-deposit-busy.vm.wcom.com
      phone greeting          sip:677372@vm.wcom.com
                                   sip:rjs@vm.wcom.com;mode=3991243
        
      Deposit with on    sip:sub-rjs-deposit-busy.vm.wcom.com
      phone greeting          sip:677372@vm.wcom.com
                                   sip:rjs@vm.wcom.com;mode=3991243
        
      Deposit with       sip:sub-rjs-deposit-sg@vm.wcom.com
      special greeting        sip:677384@vm.wcom.com
                                   sip:rjs@vm.wcom.com;mode=sg
        
      Deposit with       sip:sub-rjs-deposit-sg@vm.wcom.com
      special greeting        sip:677384@vm.wcom.com
                                   sip:rjs@vm.wcom.com;mode=sg
        
      Retrieve - SIP     sip:sub-rjs-retrieve@vm.wcom.com
      authentication          sip:677405@vm.wcom.com
                                   sip:rjs@vm.wcom.com;mode=retrieve
        
      Retrieve - SIP     sip:sub-rjs-retrieve@vm.wcom.com
      authentication          sip:677405@vm.wcom.com
                                   sip:rjs@vm.wcom.com;mode=retrieve
        
      Retrieve - prompt  sip:sub-rjs-retrieve-inpin.vm.wcom.com
      for PIN in-band         sip:677415@vm.wcom.com
                                   sip:rjs@vm.wcom.com;mode=inpin
        
      Retrieve - prompt  sip:sub-rjs-retrieve-inpin.vm.wcom.com
      for PIN in-band         sip:677415@vm.wcom.com
                                   sip:rjs@vm.wcom.com;mode=inpin
        

When a service is first set up, identities such as the following could be created.

首次设置服务时,可以创建以下标识。

URI Identity Example Scheme 1 Example Scheme 2 Example Scheme 3

URI标识示例方案1示例方案2示例方案3

      Deposit -          sip:deposit@vm.wcom.com
      identify target         sip:670001@vm.wcom.com
      mailbox by To:               sip:deposit@vm.wcom.com
        
      Deposit -          sip:deposit@vm.wcom.com
      identify target         sip:670001@vm.wcom.com
      mailbox by To:               sip:deposit@vm.wcom.com
        
      Retrieve -         sip:retrieve@vm.wcom.com
      identify target         sip:670002@vm.wcom.com
      mailbox by SIP               sip:retrieve@vm.wcom.com
      authentication
        
      Retrieve -         sip:retrieve@vm.wcom.com
      identify target         sip:670002@vm.wcom.com
      mailbox by SIP               sip:retrieve@vm.wcom.com
      authentication
        
      Deposit - prompt   sip:deposit-in@vm.wcom.com
      for target              sip:670003@vm.wcom.com
      mailbox in-band              sip:deposit@vm.wcom.com;mode=inband
        
      Deposit - prompt   sip:deposit-in@vm.wcom.com
      for target              sip:670003@vm.wcom.com
      mailbox in-band              sip:deposit@vm.wcom.com;mode=inband
        
      Retrieve - prompt  sip:retrieve-in@vm.wcom.com
      for target              sip:670004@vm.wcom.com
      mailbox and PIN              sip:retrieve@vm.wcom.com;mode=inband
      in-band
        
      Retrieve - prompt  sip:retrieve-in@vm.wcom.com
      for target              sip:670004@vm.wcom.com
      mailbox and PIN              sip:retrieve@vm.wcom.com;mode=inband
      in-band
        

In addition to providing this set of URIs to the subscriber (to use as he sees fit), an integrated service provider could add these to the set of contacts in a find-me proxy. The proxy could then route calls to the appropriate URI based on the origin of the request, the subscriber's preferences and current state.

除了向订阅者提供这组URI(在订阅者认为合适时使用),集成服务提供商还可以将这些URI添加到find me代理中的联系人集中。然后,代理可以根据请求的来源、订阅者的首选项和当前状态将调用路由到适当的URI。

3. Voice Mail Scenario Descriptions
3. 语音邮件场景描述

In each of these scenarios, the PSTN gateway is configured to communicate only with a particular proxy-registrar.

在这些场景中,PSTN网关被配置为仅与特定代理注册器通信。

3.1 Deposits
3.1 存款
3.1.1 Direct Request to Deposit to a particular mailbox
3.1.1 向特定邮箱直接请求存款
3.1.1.1 SIP source
3.1.1.1 SIP源

A SIP client that knew the URI for a particular deposit mailbox (sip:sub-rjs-deposit@vm.wcom.com) could place a direct invitation to the voicemail service, or through a protecting proxy. The proxy could restrict access to deposit identities with special greetings by authenticating the requester.

知道特定存款邮箱(SIP:sub-rjs)URI的SIP客户端-deposit@vm.wcom.com)可以直接向语音邮件服务发出邀请,或通过保护代理发出邀请。代理可以通过验证请求者来限制对带有特殊问候语的存款身份的访问。

3.1.1.2 Arbitrary PSTN source
3.1.1.2 任意PSTN源

The gateway's proxy would map a call from an unrecognized PSTN number to a number associated with a subscriber's mailbox into an invite to the deposit with standard greeting URI (sip:sub-rjs-deposit@vm.wcom.com).

网关的代理将一个呼叫从一个无法识别的PSTN号码映射到一个与订户邮箱关联的号码,并将其映射到一个带有标准问候URI(sip:sub-rjs)的存款邀请-deposit@vm.wcom.com).

3.1.1.3 Recognized PSTN source
3.1.1.3 可识别PSTN源

The gateway's proxy would map a call from a recognized (exact or pattern match) PSTN number to a number associated with a subscriber's mailbox into an invite to the appropriate special greeting URI (sip:sub-rjs-deposit-sg@vm.wcom.com). The gateway's ability to identify the calling party (using calling party number) is trusted, so no further authentication of the requester is performed.

网关的代理将一个呼叫从一个可识别的(精确的或模式匹配的)PSTN号码映射到一个与订户邮箱关联的号码,并将其映射到一个邀请到相应的特殊问候URI(sip:sub-rjs)-sg@vm.wcom.com). 网关识别呼叫方(使用呼叫方号码)的能力是可信的,因此不会对请求者执行进一步的身份验证。

3.1.2 Direct Request to Deposit, mailbox to be determined
3.1.2 直接请求存款,邮箱待定
3.1.2.1 SIP source
3.1.2.1 SIP源

A voice mail service or its protecting proxy could expose a generic deposit URL for use when a caller wished to go directly to voice mail. The service would likely play an IVR dialog to determine what message store to deposit a message into.

语音邮件服务或其保护代理可以公开一个通用的存款URL,以便在呼叫者希望直接转到语音邮件时使用。该服务可能会播放一个IVR对话框,以确定将消息存放到哪个消息存储中。

An application designer may be tempted to attempt to match the To: and From: headers on a call to infer information. However, this approach could cause complications when multiple proxy forwards occur in a call. For example, A calls B, who has all calls forwarded to C. C forwards the call to her voice mail service. If the voice mail service matches the To: header to determine the message store, it will get the information for B instead of C. But there is no reason to assume that C's voice mail service has any knowledge of B.

应用程序设计者可能会尝试在调用中匹配to:和From:头以推断信息。但是,当一个调用中发生多个代理转发时,这种方法可能会导致复杂性。例如,A呼叫B,B将所有呼叫转发给C。C将呼叫转发给她的语音邮件服务。如果语音邮件服务与To:头匹配以确定消息存储,它将获得B而不是C的信息。但是没有理由假设C的语音邮件服务对B有任何了解。

3.1.2.2 PSTN source
3.1.2.2 PSTN源

The gateway's proxy would map a call from an unrecognized PSTN number to the top level voice mail service access number to an invite to the Deposit - prompt for target mailbox in-band URI (sip:deposit-in@vm.wcom.com for example). Getting the call to the target mailbox would proceed as in the SIP source case.

网关的代理将一个呼叫从一个无法识别的PSTN号码映射到顶级语音邮件服务访问号码,再映射到一个邀请到存款-提示目标邮箱带内URI(sip:Deposit-in@vm.wcom.com例如)。获取对目标邮箱的调用将按照SIP源情况进行。

3.1.2.3 Indirect Request to Deposit, due to find-me proxy decision
3.1.2.3 间接请求存款,因找我代理决定

A find-me proxy could map an invitation to a subscriber (sip:rjs@wcom.com) to the appropriate voice mail service URI depending on the subscriber's current state. The normal deposit URI could be chosen if the subscriber's contact list has been otherwise exhausted with no answer. The busy-announcement URI would be chosen when a busy everywhere response is received from one of the contacts. A DND announcement URI could be selected if the subscriber had activated DND. Calls to sip:receptionist@wcom.com could be configured to roll to sip:deposit@wcom.com

“查找我”代理可以将邀请映射到订户(sip:rjs@wcom.com)根据订阅者的当前状态,发送到相应的语音邮件服务URI。如果订阅者的联系人列表已用尽且没有答案,则可以选择正常的存款URI。当从其中一个联系人收到busy everywhere响应时,将选择busy announcement URI。如果订阅服务器已激活DND,则可以选择DND公告URI。致电sip:receptionist@wcom.com可以配置为滚动到sip:deposit@wcom.com

3.2 Retrievals
3.2 检索
3.2.1 Request to Retrieve from a particular mailbox
3.2.1 请求从特定邮箱检索
3.2.1.1 Trusted SIP source
3.2.1.1 可信SIP源

A request to retrieve the contents of a particular mailbox (sip:sub-rjs-retrieve@vm.wcom.com) coming from a trusted source could be honored without further authentication checks. A trusted source is one with which the voice mail service has secure communications, and to which it is willing to delegate authentication. This could be the service's protecting proxy for example.

检索特定邮箱内容的请求(sip:sub-rjs)-retrieve@vm.wcom.com)来自可信来源的信息无需进一步的身份验证检查就可以得到尊重。可信源是指语音邮件服务与之进行安全通信,并愿意向其委派身份验证的源。例如,这可能是服务的保护代理。

3.2.1.2 Authenticated SIP source
3.2.1.2 已验证的SIP源

A service, or its protecting proxy, could choose to honor a retrieve request for a particular mailbox (sip:sub-rjs-retrieve@vm.wcom.com) based on SIP authentication. If SIP level authentication failed, the service or proxy could be configured to send the call to the in-band pin prompting URI (sip:sub-rjs-retrieve-inpin@vm.wcom.com).

服务或其保护代理可以选择接受特定邮箱的检索请求(sip:sub-rjs)-retrieve@vm.wcom.com)基于SIP认证。如果SIP级身份验证失败,则可以将服务或代理配置为将呼叫发送到带内pin提示URI(SIP:sub-rjs)-inpin@vm.wcom.com).

3.2.1.3 Unauthenticated SIP source
3.2.1.3 未经验证的SIP源

A service, or its protecting proxy, receiving a retrieve request for a particular mailbox (sip:sub-rjs-retrieve@vm.wcom.com) with no other method of authenticating the requestor could send the request to the in-band pin prompting URI (sip:sub-rjs-retrieve-inpin@vm.wcom.com).

接收特定邮箱(sip:sub-rjs)检索请求的服务或其保护代理-retrieve@vm.wcom.com)在没有其他身份验证方法的情况下,请求者可以将请求发送到带内pin提示URI(sip:sub-rjs)-inpin@vm.wcom.com).

3.2.1.4 PSTN source
3.2.1.4 PSTN源

This scenario assumes that the service provider's network has been configured such that a PSTN number could be dialed explicitly for retrieving messages from a particular mailbox. Such services currently exist, but are not common. In such a network, the gateway's proxy would map the call to the in-band pin prompting URI (sip:sub-rjs-retrieve-inpin@vm.wcom.com).

此场景假定服务提供商的网络已配置为可以显式拨打PSTN号码以从特定邮箱检索邮件。此类服务目前存在,但并不普遍。在这样的网络中,网关的代理将调用映射到带内pin提示URI(sip:sub-rjs)-inpin@vm.wcom.com).

3.2.2 Request to Retrieve, mailbox to be determined
3.2.2 请求检索,邮箱待定
3.2.2.1 SIP source
3.2.2.1 SIP源

As in the Request to Deposit scenario, when a service receives a request for the top level retrieve URI it would most likely need to use in-band IVR techniques to determine the target mailbox and authenticate the caller.

与存款请求场景一样,当服务收到顶级检索URI的请求时,它很可能需要使用带内IVR技术来确定目标邮箱并验证呼叫者。

3.2.2.2 Arbitrary PSTN source
3.2.2.2 任意PSTN源

This scenario assumes there is a single PSTN number that subscribers dial to access the voice mail service to retrieve messages. This is the most common access method provided by current voice mail services.

此场景假定用户拨打一个PSTN号码来访问语音邮件服务以检索消息。这是当前语音邮件服务提供的最常见的访问方法。

The gateway's proxy would map a call to the top level PSTN number to the top level retrieve in-band prompting URI (sip:retrieve-in@vm.wcom.com). Once the system identifies the target mailbox, the call would be transferred to the appropriate in-band pin prompting URI (sip:sub-rjs-retrieve-inpin@vm.wcom.com).

网关的代理会将对顶级PSTN号码的呼叫映射到顶级带内检索提示URI(sip:retrieve)-in@vm.wcom.com). 一旦系统识别出目标邮箱,呼叫将被转移到相应的带内pin提示URI(sip:sub-rjs)-inpin@vm.wcom.com).

3.2.2.3 Recognized PSTN source
3.2.2.3 可识别PSTN源

This scenario also assumes there is a single PSTN number that subscribers dial to access the voice mail service to retrieve messages.

此场景还假设用户拨打一个PSTN号码来访问语音邮件服务以检索消息。

The gateway's proxy would recognize the calling party number as a subscriber, and map the call to the subscriber's in-band prompting URI (sip:sub-rjs-retrieve-inpin@vm.wcom.com)

网关的代理将主叫方号码识别为订户,并将呼叫映射到订户的带内提示URI(sip:sub-rjs)-inpin@vm.wcom.com)

4. Voice Mail Call Flow Examples
4. 语音邮件呼叫流示例

The following section describes some example call flows for a hypothetical voice mail service, with the host name of vm.wcom.com. All the call flows assume that a proxy protects the voice mail service and that a trust relationship exists between the voice mail service and the proxy.

以下部分描述了一个假设的语音邮件服务的一些示例调用流,主机名为vm.wcom.com。所有调用流都假定代理保护语音邮件服务,并且语音邮件服务和代理之间存在信任关系。

4.1 Generic Scenario
4.1 一般情景
4.1.1 Direct call to the voice mail system
4.1.1 直接呼叫语音邮件系统

User A calls the voice mail system directly. The voice mail system invokes the top-level menu, which might prompt the caller for an extension or the first few letters of a name.

用户A直接呼叫语音邮件系统。语音邮件系统调用顶级菜单,该菜单可能会提示呼叫者输入分机或姓名的前几个字母。

            User A              Proxy               VM Service
              |                   |                       |
              |  INVITE F1        |                       |
              |------------------>|                       |
              |                   |  INVITE F2            |
              | (100 Trying) F3   |---------------------->|
              |<------------------|                       |
              |                   |  180 Ringing F4       |
              |  180 Ringing F5   |<----------------------|
              |<------------------|                       |
              |                   |  200 OK F6            |
              |  200 OK F6        |<----------------------|
              |<------------------|                       |
              |                   |                       |
              |  ACK F8           |                       |
              |------------------>|  ACK F9               |
              |                   |---------------------->|
              |                   |                       |
              |      RTP Established- Play top level menu |
              |<-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m->|
              |                   |                       |
              |  BYE F10          |                       |
              |------------------>|  BYE F11              |
              |                   |---------------------->|
              |                   |                       |
              |                   |  200 OK F12           |
              |                   |<----------------------|
              |  200 OK F13       |                       |
              |<------------------|                       |
              |                   |                       |
        
            User A              Proxy               VM Service
              |                   |                       |
              |  INVITE F1        |                       |
              |------------------>|                       |
              |                   |  INVITE F2            |
              | (100 Trying) F3   |---------------------->|
              |<------------------|                       |
              |                   |  180 Ringing F4       |
              |  180 Ringing F5   |<----------------------|
              |<------------------|                       |
              |                   |  200 OK F6            |
              |  200 OK F6        |<----------------------|
              |<------------------|                       |
              |                   |                       |
              |  ACK F8           |                       |
              |------------------>|  ACK F9               |
              |                   |---------------------->|
              |                   |                       |
              |      RTP Established- Play top level menu |
              |<-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m->|
              |                   |                       |
              |  BYE F10          |                       |
              |------------------>|  BYE F11              |
              |                   |---------------------->|
              |                   |                       |
              |                   |  200 OK F12           |
              |                   |<----------------------|
              |  200 OK F13       |                       |
              |<------------------|                       |
              |                   |                       |
        

Flow Id Comments

流Id注释

    INVITE F1     INVITE sip:VoiceMail@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Proxy-Authorization:Digest username="UserA",
                  realm="MCI WorldCom SIP",
                  nonce="ea9c8e88df84f1cc4e341ae6cbe5a359", opaque="",
                  uri="sip:VoiceMail@wcom.com", response=<appropriately
                  calculated hash goes here>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
    INVITE F1     INVITE sip:VoiceMail@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Proxy-Authorization:Digest username="UserA",
                  realm="MCI WorldCom SIP",
                  nonce="ea9c8e88df84f1cc4e341ae6cbe5a359", opaque="",
                  uri="sip:VoiceMail@wcom.com", response=<appropriately
                  calculated hash goes here>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
                  v=0
                  o=UserA 2890844526 2890844526 IN IP4 client.here.com
                  s=Session SDP
                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  v=0
                  o=UserA 2890844526 2890844526 IN IP4 client.here.com
                  s=Session SDP
                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  /*Client for A prepares to receive data on port 49170
                  from the network. */
        
                  /*Client for A prepares to receive data on port 49170
                  from the network. */
        
    INVITE F2     INVITE sip:top@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060; branch=1
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:VoiceMail@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
    INVITE F2     INVITE sip:top@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060; branch=1
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:VoiceMail@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
                  v=0
                  o=UserA 2890844526 2890844526 IN IP4 client.here.com
                  s=Session SDP
                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  v=0
                  o=UserA 2890844526 2890844526 IN IP4 client.here.com
                  s=Session SDP
                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
    (100 Trying   SIP/2.0 100 Trying
    F3            Via: SIP/2.0/UDP here.com:5060
    Proxy->A)     From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Content-Length: 0
        
    (100 Trying   SIP/2.0 100 Trying
    F3            Via: SIP/2.0/UDP here.com:5060
    Proxy->A)     From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Content-Length: 0
        
    180 Ringing   SIP/2.0 180 Ringing
    F4            Via: SIP/2.0/UDP wcom.com:5060; branch=1
    VM->Proxy     Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Content-Length: 0
        
    180 Ringing   SIP/2.0 180 Ringing
    F4            Via: SIP/2.0/UDP wcom.com:5060; branch=1
    VM->Proxy     Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Content-Length: 0
        
    180 Ringing   SIP/2.0 180 Ringing
    F5            Via: SIP/2.0/UDP here.com:5060
    Proxy->A      From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Content-Length: 0
        
    180 Ringing   SIP/2.0 180 Ringing
    F5            Via: SIP/2.0/UDP here.com:5060
    Proxy->A      From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Content-Length: 0
        
    200 OK F6     SIP/2.0 200 OK
    VM->Proxy     Via: SIP/2.0/UDP wcom.com:5060; branch=1
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:VoiceMail@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: VoiceMailSystem <sip:top@vm.wcom.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
    200 OK F6     SIP/2.0 200 OK
    VM->Proxy     Via: SIP/2.0/UDP wcom.com:5060; branch=1
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:VoiceMail@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: VoiceMailSystem <sip:top@vm.wcom.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
                  v=0
                  o=UserB 2890844527 2890844527 IN IP4 vm.wcom.com
                  s=Session SDP
                  c=IN IP4 110.111.112.114
                  t=0 0
                  m=audio 3456 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  v=0
                  o=UserB 2890844527 2890844527 IN IP4 vm.wcom.com
                  s=Session SDP
                  c=IN IP4 110.111.112.114
                  t=0 0
                  m=audio 3456 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
    200 OK F7     SIP/2.0 200 OK
    Proxy->A      Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:VoiceMail@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact VoiceMailSystem <sip:top@vm.wcom.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
    200 OK F7     SIP/2.0 200 OK
    Proxy->A      Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:VoiceMail@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact VoiceMailSystem <sip:top@vm.wcom.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
                  v=0
                  o=UserB 2890844527 2890844527 IN IP4 vm.wcom.com
                  s=Session SDP
                  c=IN IP4 110.111.112.114
                  t=0 0
                  m=audio 3456 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  v=0
                  o=UserB 2890844527 2890844527 IN IP4 vm.wcom.com
                  s=Session SDP
                  c=IN IP4 110.111.112.114
                  t=0 0
                  m=audio 3456 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
    ACK F8        ACK sip:VoiceMail@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  Route:<sip:top@vm.wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 ACK
                  Content-Length: 0
        
    ACK F8        ACK sip:VoiceMail@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  Route:<sip:top@vm.wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 ACK
                  Content-Length: 0
        
    ACK F9        ACK sip:top@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>; tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 ACK
                  Content-Length: 0
        
    ACK F9        ACK sip:top@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>; tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 ACK
                  Content-Length: 0
        
                  /* RTP streams are established between A and VM.  VM
                  system starts IVR dialog for top level menu */
        
                  /* RTP streams are established between A and VM.  VM
                  system starts IVR dialog for top level menu */
        
                  /* User A Hangs Up with VM system.  Alternatively, the
                  VM system could initiate the BYE*/
        
                  /* User A Hangs Up with VM system.  Alternatively, the
                  VM system could initiate the BYE*/
        
    BYE F10       BYE sip:VoiceMail@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  Route:<sip: top@vm.wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    BYE F10       BYE sip:VoiceMail@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  Route:<sip: top@vm.wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    BYE F11       BYE sip: top@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    BYE F11       BYE sip: top@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    200 OK F12    SIP/2.0 200 OK
    VM->Proxy     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
        
    200 OK F12    SIP/2.0 200 OK
    VM->Proxy     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
        

CSeq: 2 BYE Content-Length: 0

CSeq:2字节内容长度:0

    200 OK F13    SIP/2.0 200 OK
    Proxy->A      Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq:  2 BYE
                  Content-Length: 0
        
    200 OK F13    SIP/2.0 200 OK
    Proxy->A      Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq:  2 BYE
                  Content-Length: 0
        
4.2 Message Deposit Scenarios
4.2 邮件存放场景
4.2.1 Call to known subscriber forwarded on no answer
4.2.1 对已知用户的呼叫在无应答时转发

User A attempts to call UserB, who does not answer. The call is forwarded to UserB's mailbox, and the voice mail system plays UserB's outgoing message for a ring-no-answer. The flow assumes that the URL of "sip:UserB-dep-fna@vm.wcom.com maps" to the desired behavior for depositing a message on a forward-no-answer.

用户A试图呼叫用户B,但用户B没有应答。呼叫被转发到用户B的邮箱,语音邮件系统播放用户B的传出消息,以获得响铃无应答。该流假定“sip:UserB dep”的URL-fna@vm.wcom.com映射到将消息存放在转发无应答上所需的行为。

      User A            Proxy              User B         VM System
        |                 |                  |                |
        |  INVITE F1      |                  |                |
        |---------------->|  INVITE F2       |                |
        |                 |----------------->|                |
        | (100 Trying) F3 |                  |                |
        |<----------------| 180 Ringing F4   |                |
        |                 |<-----------------|                |
        |  180 Ringing F5 |                  |                |
        |<----------------| (Request Timeout)|                |
        |                 |                  |                |
        |                 | Cancel F6        |                |
        |                 |----------------->|                |
        |                 |                  |                |
        |                 | 200 OK F7        |                |
        |                 |<-----------------|                |
        |                 |                  |                |
        |                 |         INVITE F8                 |
        |                 |---------------------------------->|
        |                 |                  |                |
        |                 |         200 OK F9|                |
        |  200 OK F10     |<----------------------------------|
        |<----------------|                  |                |
        |                 |                  |                |
        |  ACK F11        |                  |                |
        |---------------->|         ACK F12  |                |
        |                 |---------------------------------->|
        |                 |                  |                |
        |    RTP Established Both Ways-Deposit Msg for B      |
        |<-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m->|
        |                 |                  |                |
        |  BYE F13        |                  |                |
        |---------------->|         BYE F14  |                |
        |                 |---------------------------------->|
        |                 |                  |                |
        |                 |         OK F15   |                |
        |  OK F16         |<----------------------------------|
        |<----------------|                  |                |
        |                 |                  |                |
        
      User A            Proxy              User B         VM System
        |                 |                  |                |
        |  INVITE F1      |                  |                |
        |---------------->|  INVITE F2       |                |
        |                 |----------------->|                |
        | (100 Trying) F3 |                  |                |
        |<----------------| 180 Ringing F4   |                |
        |                 |<-----------------|                |
        |  180 Ringing F5 |                  |                |
        |<----------------| (Request Timeout)|                |
        |                 |                  |                |
        |                 | Cancel F6        |                |
        |                 |----------------->|                |
        |                 |                  |                |
        |                 | 200 OK F7        |                |
        |                 |<-----------------|                |
        |                 |                  |                |
        |                 |         INVITE F8                 |
        |                 |---------------------------------->|
        |                 |                  |                |
        |                 |         200 OK F9|                |
        |  200 OK F10     |<----------------------------------|
        |<----------------|                  |                |
        |                 |                  |                |
        |  ACK F11        |                  |                |
        |---------------->|         ACK F12  |                |
        |                 |---------------------------------->|
        |                 |                  |                |
        |    RTP Established Both Ways-Deposit Msg for B      |
        |<-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m->|
        |                 |                  |                |
        |  BYE F13        |                  |                |
        |---------------->|         BYE F14  |                |
        |                 |---------------------------------->|
        |                 |                  |                |
        |                 |         OK F15   |                |
        |  OK F16         |<----------------------------------|
        |<----------------|                  |                |
        |                 |                  |                |
        

Flow Id Comments

流Id注释

    INVITE F1     INVITE sip:UserB@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>
                  Call-Id: 12345600@here.com
        
    INVITE F1     INVITE sip:UserB@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>
                  Call-Id: 12345600@here.com
        
                  CSeq: 1 INVITE
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Proxy-Authorization:Digest username="UserA",
                  realm="MCI WorldCom SIP",
                  nonce="ea9c8e88df84f1cec4341ae6cbe5a359", opaque="",
                  uri="sip:UserB@wcom.com", response=<appropriately
                  calculated hash goes here>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
                  CSeq: 1 INVITE
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Proxy-Authorization:Digest username="UserA",
                  realm="MCI WorldCom SIP",
                  nonce="ea9c8e88df84f1cec4341ae6cbe5a359", opaque="",
                  uri="sip:UserB@wcom.com", response=<appropriately
                  calculated hash goes here>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
                  v=0
                  o=UserA 2890844526 2890844526 IN IP4 client.here.com
                  s=Session SDP
                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  v=0
                  o=UserA 2890844526 2890844526 IN IP4 client.here.com
                  s=Session SDP
                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  /*Client for A prepares to receive data on port 49170
                  from the network. */
        
                  /*Client for A prepares to receive data on port 49170
                  from the network. */
        
    INVITE F2     INVITE sip:UserB1@somewhere.wcom.com SIP/2.0
    Proxy->B1     Via: SIP/2.0/UDP wcom.com:5060; branch=1
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:UserB@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
    INVITE F2     INVITE sip:UserB1@somewhere.wcom.com SIP/2.0
    Proxy->B1     Via: SIP/2.0/UDP wcom.com:5060; branch=1
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:UserB@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
                  v=0
                  o=UserA 2890844526 2890844526 IN IP4 client.here.com
                  s=Session SDP
                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  v=0
                  o=UserA 2890844526 2890844526 IN IP4 client.here.com
                  s=Session SDP
                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
    (100 Trying   SIP/2.0 100 Trying
    F3            Via: SIP/2.0/UDP here.com:5060
    Proxy->A)     From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Content-Length: 0
        
    (100 Trying   SIP/2.0 100 Trying
    F3            Via: SIP/2.0/UDP here.com:5060
    Proxy->A)     From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Content-Length: 0
        
    180 Ringing   SIP/2.0 180 Ringing
    F4            Via: SIP/2.0/UDP wcom.com:5060; branch=1
    B1->Proxy     Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Content-Length: 0
        
    180 Ringing   SIP/2.0 180 Ringing
    F4            Via: SIP/2.0/UDP wcom.com:5060; branch=1
    B1->Proxy     Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Content-Length: 0
        
    180 Ringing   SIP/2.0 180 Ringing
    F5            Via: SIP/2.0/UDP here.com:5060
    Proxy->A      From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Content-Length: 0
        
    180 Ringing   SIP/2.0 180 Ringing
    F5            Via: SIP/2.0/UDP here.com:5060
    Proxy->A      From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Content-Length: 0
        
                  /* B1 rings for 9 seconds, this duration is a
                  configurable parameter in the Proxy Server.  Proxy
                  sends Cancel and proceeds down the list of routes,
                  eventually hitting the voice mail URI for forward no
                  answer */
        
                  /* B1 rings for 9 seconds, this duration is a
                  configurable parameter in the Proxy Server.  Proxy
                  sends Cancel and proceeds down the list of routes,
                  eventually hitting the voice mail URI for forward no
                  answer */
        
    CANCEL F6     CANCEL sip:UserB1@wcom.com SIP/2.0
    Proxy->B1     Via: SIP/2.0/UDP wcom.com:5060; branch=1
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 CANCEL
                  Content-Length: 0
        
    CANCEL F6     CANCEL sip:UserB1@wcom.com SIP/2.0
    Proxy->B1     Via: SIP/2.0/UDP wcom.com:5060; branch=1
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 CANCEL
                  Content-Length: 0
        
    200 OK F7     SIP/2.0 200 OK
    B1->Proxy     Via: SIP/2.0/UDP wcom.com:5060; branch=1
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 CANCEL
                  Content-Length: 0
        
    200 OK F7     SIP/2.0 200 OK
    B1->Proxy     Via: SIP/2.0/UDP wcom.com:5060; branch=1
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 CANCEL
                  Content-Length: 0
        
    INVITE F8     INVITE sip:UserB-dep-fna@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060;branch=2
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:UserB@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
        
    INVITE F8     INVITE sip:UserB-dep-fna@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060;branch=2
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:UserB@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
        
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
                  v=0
                  o=UserA 2890844526 2890844526 IN IP4 client.here.com
                  s=Session SDP
                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  v=0
                  o=UserA 2890844526 2890844526 IN IP4 client.here.com
                  s=Session SDP
                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
    200 OK F9     SIP/2.0 200 OK
    VM->Proxy     Via: SIP/2.0/UDP wcom.com:5060; branch=2
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:UserB@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=123456
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheLittleGuyVoiceMail <sip:UserB-dep-
                  fna@vm.wcom.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
    200 OK F9     SIP/2.0 200 OK
    VM->Proxy     Via: SIP/2.0/UDP wcom.com:5060; branch=2
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:UserB@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=123456
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheLittleGuyVoiceMail <sip:UserB-dep-
                  fna@vm.wcom.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
                  v=0
                  o=UserB 2890844527 2890844527 IN IP4 vm.wcom.com
                  s=Session SDP
                  c=IN IP4 110.111.112.114
                  t=0 0
                  m=audio 3456 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  v=0
                  o=UserB 2890844527 2890844527 IN IP4 vm.wcom.com
                  s=Session SDP
                  c=IN IP4 110.111.112.114
                  t=0 0
                  m=audio 3456 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
    200 OK F10    SIP/2.0 200 OK
    Proxy->A      Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:UserB@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=123456
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheLittleGuyVoiceMail <sip:UserB-dep-
                  fna@vm.wcom.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
    200 OK F10    SIP/2.0 200 OK
    Proxy->A      Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:UserB@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=123456
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheLittleGuyVoiceMail <sip:UserB-dep-
                  fna@vm.wcom.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        

v=0 o=UserB 2890844527 2890844527 IN IP4 vm.wcom.com

v=0 o=IP4 vm.wcom.com中的用户B 2890844527 2890844527

                  s=Session SDP
                  c=IN IP4 110.111.112.114
                  t=0 0
                  m=audio 3456 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  s=Session SDP
                  c=IN IP4 110.111.112.114
                  t=0 0
                  m=audio 3456 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
    ACK F11       ACK sip:UserB@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  Route:<sip: UserB-dep-fna@vm.wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=123456
                  Call-Id: 12345600@here.com
                  CSeq: 1 ACK
                  Content-Length: 0
        
    ACK F11       ACK sip:UserB@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  Route:<sip: UserB-dep-fna@vm.wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=123456
                  Call-Id: 12345600@here.com
                  CSeq: 1 ACK
                  Content-Length: 0
        
    ACK F12       ACK sip:UserB-dep-fna@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=123456
                  Call-Id: 12345600@here.com
                  CSeq: 1 ACK
                  Content-Length: 0
        
    ACK F12       ACK sip:UserB-dep-fna@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=123456
                  Call-Id: 12345600@here.com
                  CSeq: 1 ACK
                  Content-Length: 0
        
                  /* RTP streams are established between A and B2.  VM
                  system starts IVR dialog for message-deposit on no-
                  answer for UserB */
        
                  /* RTP streams are established between A and B2.  VM
                  system starts IVR dialog for message-deposit on no-
                  answer for UserB */
        
                  /* User A Hangs Up with VM system.  Alternatively, the
                  VM system could initiate the BYE*/
        
                  /* User A Hangs Up with VM system.  Alternatively, the
                  VM system could initiate the BYE*/
        
    BYE F13       BYE sip:UserB@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  Route:<sip: UserB-dep-fna@vm.wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=123456
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    BYE F13       BYE sip:UserB@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  Route:<sip: UserB-dep-fna@vm.wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=123456
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    BYE F14       BYE sip: UserB-dep-fna@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=123456
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    BYE F14       BYE sip: UserB-dep-fna@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=123456
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    200 OK F15    SIP/2.0 200 OK
    VM->Proxy     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=123456
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    200 OK F15    SIP/2.0 200 OK
    VM->Proxy     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=123456
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    200 OK F16    SIP/2.0 200 OK
    Proxy->A      Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=123456
                  Call-Id: 12345600@here.com
                  CSeq:  2 BYE
                  Content-Length: 0
        
    200 OK F16    SIP/2.0 200 OK
    Proxy->A      Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=123456
                  Call-Id: 12345600@here.com
                  CSeq:  2 BYE
                  Content-Length: 0
        
4.2.2 Call to known subscriber forwarded on busy
4.2.2 在忙时转接到已知用户的呼叫

User A attempts to call UserB, who is busy. The call is forwarded to UserB's mailbox, and the voice mail system plays UserB's outgoing message for a busy. This flow assumes that "sip:UserB-dep-fb@vm.wcom.com" maps to UserB's mailbox and the behavior of "deposit message on busy."

用户A尝试呼叫正在忙的用户B。呼叫被转发到用户B的邮箱,语音邮件系统会播放用户B在繁忙时间发出的消息。此流假定“sip:UserB dep-fb@vm.wcom.com映射到UserB的邮箱和“在忙时存放邮件”的行为

      User A            Proxy              User B         VM System
        |                 |                  |                |
        |  INVITE F1      |                  |                |
        |---------------->|  INVITE F2       |                |
        |                 |----------------->|                |
        | (100 Trying) F3 |                  |                |
        |<----------------| 486 Busy Here F4 |                |
        |                 |<-----------------|                |
        |                 |                  |                |
        |                 |  ACK F5          |                |
        |                 |----------------->|                |
        |                 |                  |                |
        |                 |         INVITE F6                 |
        |                 |---------------------------------->|
        |                 |                  |                |
        |                 |         200 OK F7|                |
        |  200 OK F8      |<----------------------------------|
        |<----------------|                  |                |
        |                 |                  |                |
        |  ACK F9         |                  |                |
        |---------------->|         ACK F10  |                |
        |                 |---------------------------------->|
        |                 |                  |                |
        |    RTP Established Both Ways-Deposit Msg for B      |
        |<-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m->|
        |                 |                  |                |
        |  BYE F11        |                  |                |
        |---------------->|         BYE F12  |                |
        |                 |---------------------------------->|
        |                 |                  |                |
        |                 |         OK F13   |                |
        |  OK F14         |<----------------------------------|
        |<----------------|                  |                |
        |                 |                  |                |
        
      User A            Proxy              User B         VM System
        |                 |                  |                |
        |  INVITE F1      |                  |                |
        |---------------->|  INVITE F2       |                |
        |                 |----------------->|                |
        | (100 Trying) F3 |                  |                |
        |<----------------| 486 Busy Here F4 |                |
        |                 |<-----------------|                |
        |                 |                  |                |
        |                 |  ACK F5          |                |
        |                 |----------------->|                |
        |                 |                  |                |
        |                 |         INVITE F6                 |
        |                 |---------------------------------->|
        |                 |                  |                |
        |                 |         200 OK F7|                |
        |  200 OK F8      |<----------------------------------|
        |<----------------|                  |                |
        |                 |                  |                |
        |  ACK F9         |                  |                |
        |---------------->|         ACK F10  |                |
        |                 |---------------------------------->|
        |                 |                  |                |
        |    RTP Established Both Ways-Deposit Msg for B      |
        |<-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m->|
        |                 |                  |                |
        |  BYE F11        |                  |                |
        |---------------->|         BYE F12  |                |
        |                 |---------------------------------->|
        |                 |                  |                |
        |                 |         OK F13   |                |
        |  OK F14         |<----------------------------------|
        |<----------------|                  |                |
        |                 |                  |                |
        

Flow Id Comments

流Id注释

    INVITE F1     INVITE sip:UserB@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Proxy-Authorization:Digest username="UserA",
                  realm="MCI WorldCom SIP",
                  nonce="ea9c8e88df84f1cec4341ae6cbe5a359", opaque="",
                  uri="sip:UserB@wcom.com", response=<appropriately
        
    INVITE F1     INVITE sip:UserB@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Proxy-Authorization:Digest username="UserA",
                  realm="MCI WorldCom SIP",
                  nonce="ea9c8e88df84f1cec4341ae6cbe5a359", opaque="",
                  uri="sip:UserB@wcom.com", response=<appropriately
        
                  calculated hash goes here>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
                  calculated hash goes here>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
                  v=0
                  o=UserA 2890844526 2890844526 IN IP4 client.here.com
                  s=Session SDP
                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  v=0
                  o=UserA 2890844526 2890844526 IN IP4 client.here.com
                  s=Session SDP
                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  /*Client for A prepares to receive data on port 49170
                  from the network. */
        
                  /*Client for A prepares to receive data on port 49170
                  from the network. */
        
    INVITE F2     INVITE sip:UserB1@somewhere.wcom.com SIP/2.0
    Proxy->B1     Via: SIP/2.0/UDP wcom.com:5060; branch=1
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:UserB@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
    INVITE F2     INVITE sip:UserB1@somewhere.wcom.com SIP/2.0
    Proxy->B1     Via: SIP/2.0/UDP wcom.com:5060; branch=1
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:UserB@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
                  v=0
                  o=UserA 2890844526 2890844526 IN IP4 client.here.com
                  s=Session SDP
                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  v=0
                  o=UserA 2890844526 2890844526 IN IP4 client.here.com
                  s=Session SDP
                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
    (100 Trying   SIP/2.0 100 Trying
    F3            Via: SIP/2.0/UDP here.com:5060
    Proxy->A)     From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Content-Length: 0
        
    (100 Trying   SIP/2.0 100 Trying
    F3            Via: SIP/2.0/UDP here.com:5060
    Proxy->A)     From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Content-Length: 0
        
    486 Busy      SIP/2.0 486 Busy Here
    Here F4       Via: SIP/2.0/UDP wcom.com:5060;branch=1
    B1->Proxy     Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=123456
        
    486 Busy      SIP/2.0 486 Busy Here
    Here F4       Via: SIP/2.0/UDP wcom.com:5060;branch=1
    B1->Proxy     Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=123456
        

Call-Id: 12345600@here.com CSeq: 1 INVITE Content-Length: 0

呼叫Id:12345600@here.comCSeq:1邀请内容长度:0

    ACK F5        ACK sip: UserB1@wcom.com SIP/2.0
    Proxy->B      Via: SIP/2.0/UDP wcom.com:5060; branch=1
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=123456
                  Call-Id: 12345600@here.com
                  CSeq: 1 ACK
                  Content-Length: 0
        
    ACK F5        ACK sip: UserB1@wcom.com SIP/2.0
    Proxy->B      Via: SIP/2.0/UDP wcom.com:5060; branch=1
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=123456
                  Call-Id: 12345600@here.com
                  CSeq: 1 ACK
                  Content-Length: 0
        
    INVITE F6     INVITE sip:UserB-dep-fb@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060;branch=2
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:UserB@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
    INVITE F6     INVITE sip:UserB-dep-fb@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060;branch=2
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:UserB@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
                  v=0
                  o=UserA 2890844526 2890844526 IN IP4 client.here.com
                  s=Session SDP
                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  v=0
                  o=UserA 2890844526 2890844526 IN IP4 client.here.com
                  s=Session SDP
                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
    200 OK F7     SIP/2.0 200 OK
    VM->Proxy     Via: SIP/2.0/UDP wcom.com:5060; branch=2
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:UserB@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheLittleGuyVoiceMail <sip:UserB-dep-
                  fb@vm.wcom.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
    200 OK F7     SIP/2.0 200 OK
    VM->Proxy     Via: SIP/2.0/UDP wcom.com:5060; branch=2
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:UserB@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheLittleGuyVoiceMail <sip:UserB-dep-
                  fb@vm.wcom.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        

v=0 o=UserB 2890844527 2890844527 IN IP4 vm.wcom.com s=Session SDP

v=0 o=IP4 vm.wcom.com中的用户B 2890844527 2890844527 s=Session SDP

                  c=IN IP4 110.111.112.114
                  t=0 0
                  m=audio 3456 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  c=IN IP4 110.111.112.114
                  t=0 0
                  m=audio 3456 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
    200 OK F8     SIP/2.0 200 OK
    Proxy->A      Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:UserB@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact TheLittleGuyVoiceMail <sip:UserB-dep-
                  fb@vm.wcom.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
    200 OK F8     SIP/2.0 200 OK
    Proxy->A      Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:UserB@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact TheLittleGuyVoiceMail <sip:UserB-dep-
                  fb@vm.wcom.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
                  v=0
                  o=UserB 2890844527 2890844527 IN IP4 vm.wcom.com
                  s=Session SDP
                  c=IN IP4 110.111.112.114
                  t=0 0
                  m=audio 3456 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  v=0
                  o=UserB 2890844527 2890844527 IN IP4 vm.wcom.com
                  s=Session SDP
                  c=IN IP4 110.111.112.114
                  t=0 0
                  m=audio 3456 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
    ACK F9        ACK sip:UserB@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  Route:<sip:UserB-dep-fb@vm.wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 ACK
                  Content-Length: 0
        
    ACK F9        ACK sip:UserB@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  Route:<sip:UserB-dep-fb@vm.wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 ACK
                  Content-Length: 0
        
    ACK F10       ACK sip:UserB-dep-fb@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 ACK
                  Content-Length: 0
        
    ACK F10       ACK sip:UserB-dep-fb@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 ACK
                  Content-Length: 0
        
                  /* RTP streams are established between A and B2.  VM
                  system starts IVR dialog for message-deposit on busy
                  for UserB */
        
                  /* RTP streams are established between A and B2.  VM
                  system starts IVR dialog for message-deposit on busy
                  for UserB */
        
                  /* User A Hangs Up with VM system.  Alternatively, the
                  VM system could initiate the BYE*/
        
                  /* User A Hangs Up with VM system.  Alternatively, the
                  VM system could initiate the BYE*/
        
    BYE F11       BYE sip:UserB@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  Route: <sip:UserB-dep-fnb@vm.wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    BYE F11       BYE sip:UserB@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  Route: <sip:UserB-dep-fnb@vm.wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    BYE F12       BYE sip: UserB-dep-fnb@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    BYE F12       BYE sip: UserB-dep-fnb@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    200 OK F13    SIP/2.0 200 OK
    VM->Proxy     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    200 OK F13    SIP/2.0 200 OK
    VM->Proxy     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    200 OK F14    SIP/2.0 200 OK
    Proxy->A      Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq:  2 BYE
                  Content-Length: 0
        
    200 OK F14    SIP/2.0 200 OK
    Proxy->A      Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuy <sip:UserB@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq:  2 BYE
                  Content-Length: 0
        
4.2.3 Direct call to a subscriber's mailbox
4.2.3 直接呼叫用户邮箱

User A calls UserB's mailbox directly. This flow assumes that "sip:UserB-dep@vm.wcom.com" maps to UserB's mailbox and the behavior of "generic message deposit"

用户A直接调用用户B的邮箱。此流假定“sip:UserB-dep@vm.wcom.com映射到UserB的邮箱和“一般邮件存放”的行为

            User A              Proxy                VM Service
              |                   |                       |
              |  INVITE F1        |                       |
              |------------------>|                       |
              |                   |  INVITE F2            |
              | (100 Trying) F3   |---------------------->|
              |<------------------|                       |
              |                   |  200 OK F4            |
              |  200 OK F5        |<----------------------|
              |<------------------|                       |
              |                   |                       |
              |  ACK F6           |                       |
              |------------------>|  ACK F7               |
              |                   |---------------------->|
              |                   |                       |
              |      RTP Both Ways - Deposit Msg for B    |
              |<-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m->|
              |                   |                       |
              |  BYE F8           |                       |
              |------------------>|  BYE F9               |
              |                   |---------------------->|
              |                   |                       |
              |                   |  200 OK F10           |
              |                   |<----------------------|
              |  200 OK F11       |                       |
              |<------------------|                       |
              |                   |                       |
        
            User A              Proxy                VM Service
              |                   |                       |
              |  INVITE F1        |                       |
              |------------------>|                       |
              |                   |  INVITE F2            |
              | (100 Trying) F3   |---------------------->|
              |<------------------|                       |
              |                   |  200 OK F4            |
              |  200 OK F5        |<----------------------|
              |<------------------|                       |
              |                   |                       |
              |  ACK F6           |                       |
              |------------------>|  ACK F7               |
              |                   |---------------------->|
              |                   |                       |
              |      RTP Both Ways - Deposit Msg for B    |
              |<-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m->|
              |                   |                       |
              |  BYE F8           |                       |
              |------------------>|  BYE F9               |
              |                   |---------------------->|
              |                   |                       |
              |                   |  200 OK F10           |
              |                   |<----------------------|
              |  200 OK F11       |                       |
              |<------------------|                       |
              |                   |                       |
        

Flow Id Comments

流Id注释

    INVITE F1     INVITE sip:UserB-VM@vm.wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuyVoiceMail <sip:UserB-VM@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Proxy-Authorization:Digest username="UserA",
                  realm="MCI WorldCom SIP",
                  nonce="ea9c8e88df84f1cec4341ae6cbe5a359", opaque="",
                  uri="sip:UserB-VM@wcom.com", response=<appropriately
                  calculated hash goes here>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
    INVITE F1     INVITE sip:UserB-VM@vm.wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuyVoiceMail <sip:UserB-VM@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Proxy-Authorization:Digest username="UserA",
                  realm="MCI WorldCom SIP",
                  nonce="ea9c8e88df84f1cec4341ae6cbe5a359", opaque="",
                  uri="sip:UserB-VM@wcom.com", response=<appropriately
                  calculated hash goes here>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        

v=0 o=UserA 2890844526 2890844526 IN IP4 client.here.com s=Session SDP

v=0 o=IP4 client.here.com中的用户A 2890844526 2890844526 s=Session SDP

                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  /*Client for A prepares to receive data on port 49170
                  from the network. */
        
                  /*Client for A prepares to receive data on port 49170
                  from the network. */
        
    INVITE F2     INVITE sip:UserB-dep@vm.wcom.com SIP/2.0
    Proxy->B1     Via: SIP/2.0/UDP wcom.com:5060; branch=1
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:UserB-VM@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuyVoiceMail <sip:UserB-VM@vm.wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
    INVITE F2     INVITE sip:UserB-dep@vm.wcom.com SIP/2.0
    Proxy->B1     Via: SIP/2.0/UDP wcom.com:5060; branch=1
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:UserB-VM@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuyVoiceMail <sip:UserB-VM@vm.wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
                  v=0
                  o=UserA 2890844526 2890844526 IN IP4 client.here.com
                  s=Session SDP
                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  v=0
                  o=UserA 2890844526 2890844526 IN IP4 client.here.com
                  s=Session SDP
                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
    (100 Trying   SIP/2.0 100 Trying
    F3            Via: SIP/2.0/UDP here.com:5060
    Proxy->A)     From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuyVoiceMail <sip:UserB-VM@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Content-Length: 0
        
    (100 Trying   SIP/2.0 100 Trying
    F3            Via: SIP/2.0/UDP here.com:5060
    Proxy->A)     From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuyVoiceMail <sip:UserB-VM@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Content-Length: 0
        
    200 OK F4     SIP/2.0 200 OK
    VM->Proxy     Via: SIP/2.0/UDP wcom.com:5060; branch=1
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:UserB-VM@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuyVoiceMail <sip:UserB-
                  VM@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheLittleGuyVoiceMail <sip:UserB-
                  dep@vm.wcom.com>
                  Content-Type: application/sdp
        
    200 OK F4     SIP/2.0 200 OK
    VM->Proxy     Via: SIP/2.0/UDP wcom.com:5060; branch=1
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:UserB-VM@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuyVoiceMail <sip:UserB-
                  VM@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheLittleGuyVoiceMail <sip:UserB-
                  dep@vm.wcom.com>
                  Content-Type: application/sdp
        
                  Content-Length: <appropriate value>
                  v=0
                  o=UserB 2890844527 2890844527 IN IP4 vm.wcom.com
                  s=Session SDP
                  c=IN IP4 110.111.112.114
                  t=0 0
                  m=audio 3456 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  Content-Length: <appropriate value>
                  v=0
                  o=UserB 2890844527 2890844527 IN IP4 vm.wcom.com
                  s=Session SDP
                  c=IN IP4 110.111.112.114
                  t=0 0
                  m=audio 3456 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
    200 OK F5     SIP/2.0 200 OK
    Proxy->A      Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:UserB-VM@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuyVoiceMail <sip:UserB-
                  VM@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact TheLittleGuyVoiceMail <sip:UserB-
                  dep@vm.wcom.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
    200 OK F5     SIP/2.0 200 OK
    Proxy->A      Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:UserB-VM@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuyVoiceMail <sip:UserB-
                  VM@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact TheLittleGuyVoiceMail <sip:UserB-
                  dep@vm.wcom.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
                  v=0
                  o=UserB 2890844527 2890844527 IN IP4 vm.wcom.com
                  s=Session SDP
                  c=IN IP4 110.111.112.114
                  t=0 0
                  m=audio 3456 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  v=0
                  o=UserB 2890844527 2890844527 IN IP4 vm.wcom.com
                  s=Session SDP
                  c=IN IP4 110.111.112.114
                  t=0 0
                  m=audio 3456 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
    ACK F6        ACK sip:UserB-VM@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  Route:<sip:UserB-dep@vm.wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuyVoiceMail <sip:UserB-
                  VM@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 ACK
                  Content-Length: 0
        
    ACK F6        ACK sip:UserB-VM@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  Route:<sip:UserB-dep@vm.wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuyVoiceMail <sip:UserB-
                  VM@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 ACK
                  Content-Length: 0
        
    ACK F7        ACK sip:UserB-dep@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuyVoiceMail <sip:UserB-
                  VM@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 ACK
        
    ACK F7        ACK sip:UserB-dep@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuyVoiceMail <sip:UserB-
                  VM@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 ACK
        
                  Content-Length: 0
                  /* RTP streams are established between A and VM.  VM
                  system starts IVR dialog for generic message-deposit
                  for UserB */
        
                  Content-Length: 0
                  /* RTP streams are established between A and VM.  VM
                  system starts IVR dialog for generic message-deposit
                  for UserB */
        
                  /* User A Hangs Up with VM system.  Alternatively, the
                  VM system could initiate the BYE*/
        
                  /* User A Hangs Up with VM system.  Alternatively, the
                  VM system could initiate the BYE*/
        
    BYE F8        BYE sip:UserB-VM@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  Route:<sip:UserB-dep@vm.wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuyVoiceMail <sip:UserB-
                  VM@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    BYE F8        BYE sip:UserB-VM@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  Route:<sip:UserB-dep@vm.wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuyVoiceMail <sip:UserB-
                  VM@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    BYE F9        BYE sip: UserB-dep@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuyVoiceMail <sip:UserB-
                  VM@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    BYE F9        BYE sip: UserB-dep@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuyVoiceMail <sip:UserB-
                  VM@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    200 OK F10    SIP/2.0 200 OK
    VM->Proxy     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuyVoiceMail <sip:UserB-
                  VM@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    200 OK F10    SIP/2.0 200 OK
    VM->Proxy     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuyVoiceMail <sip:UserB-
                  VM@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    200 OK F11    SIP/2.0 200 OK
    Proxy->A      Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuyVoiceMail <sip:UserB-
                  VM@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq:  2 BYE
                  Content-Length: 0
        
    200 OK F11    SIP/2.0 200 OK
    Proxy->A      Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: TheLittleGuyVoiceMail <sip:UserB-
                  VM@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq:  2 BYE
                  Content-Length: 0
        
4.3 Message Retrieval Scenarios
4.3 消息检索场景
4.3.1 Call to retrieve messages believed to be from a known subscriber
4.3.1 调用以检索据信来自已知订户的消息

Some user uses a SIP client on UserA's desk to call the voice mail system to retrieve messages. The SIP client has authenticated itself to the proxy using credentials assigned to the device. The proxy can make a weak assumption that the caller is the device owner. The URI of "sip:UserA-retrieve@vm.wcom.com" maps to UserA's mailbox and the behavior of "retrieve messages after prompting for and verifying PIN." The VM System trusts the proxy, and will not accept calls from an untrusted source. The proxy will not allow direct calls to UserA-retrieve@vm.wcom.com. The proxy will forward calls placed to VoiceMail@wcom.com to UserA-retrieve@vm.wcom.com only for calls placed from a client device assigned to UserA.

一些用户使用UserA桌面上的SIP客户端呼叫语音邮件系统来检索消息。SIP客户端已使用分配给该设备的凭据向代理进行身份验证。代理可以做出一个较弱的假设,即调用方是设备所有者。“sip:UserA”的URI-retrieve@vm.wcom.com映射到UserA的邮箱和“提示并验证PIN后检索邮件”的行为。VM系统信任代理,不会接受来自不受信任来源的呼叫。代理将不允许直接调用UserA-retrieve@vm.wcom.com. 代理将把呼叫转发给VoiceMail@wcom.com给用户-retrieve@vm.wcom.com仅适用于从分配给UserA的客户端设备进行的呼叫。

            User A              Proxy                VM Service
              |                   |                       |
              |  INVITE F1        |                       |
              |------------------>|                       |
              |                   |  INVITE F2            |
              | (100 Trying) F3   |---------------------->|
              |<------------------|                       |
              |                   |  200 OK F4            |
              |  200 OK F5        |<----------------------|
              |<------------------|                       |
              |                   |                       |
              |  ACK F6           |                       |
              |------------------>|  ACK F7               |
              |                   |---------------------->|
              |                   |                       |
              |      RTP Both Ways - VM prompts for PIN
              |<-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m->|
              |                   |                       |
              |  BYE F8           |                       |
              |------------------>|  BYE F9               |
              |                   |---------------------->|
              |                   |                       |
              |                   |  200 OK F10           |
              |                   |<----------------------|
              |  200 OK F11       |                       |
              |<------------------|                       |
              |                   |                       |
        
            User A              Proxy                VM Service
              |                   |                       |
              |  INVITE F1        |                       |
              |------------------>|                       |
              |                   |  INVITE F2            |
              | (100 Trying) F3   |---------------------->|
              |<------------------|                       |
              |                   |  200 OK F4            |
              |  200 OK F5        |<----------------------|
              |<------------------|                       |
              |                   |                       |
              |  ACK F6           |                       |
              |------------------>|  ACK F7               |
              |                   |---------------------->|
              |                   |                       |
              |      RTP Both Ways - VM prompts for PIN
              |<-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m->|
              |                   |                       |
              |  BYE F8           |                       |
              |------------------>|  BYE F9               |
              |                   |---------------------->|
              |                   |                       |
              |                   |  200 OK F10           |
              |                   |<----------------------|
              |  200 OK F11       |                       |
              |<------------------|                       |
              |                   |                       |
        

Flow Id Comments

流Id注释

    INVITE F1     INVITE sip:VoiceMail@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Proxy-Authorization:Digest username="UserAPhone",
                  realm="MCI WorldCom SIP",
                  nonce="ea9c8e88df84f1cec4341ae6cbe5a359", opaque="",
                  uri="sip:VoiceMail@wcom.com", response=<appropriately
                  calculated hash goes here>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
    INVITE F1     INVITE sip:VoiceMail@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Proxy-Authorization:Digest username="UserAPhone",
                  realm="MCI WorldCom SIP",
                  nonce="ea9c8e88df84f1cec4341ae6cbe5a359", opaque="",
                  uri="sip:VoiceMail@wcom.com", response=<appropriately
                  calculated hash goes here>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
                  v=0
                  o=UserA 2890844526 2890844526 IN IP4 client.here.com
                  s=Session SDP
                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  v=0
                  o=UserA 2890844526 2890844526 IN IP4 client.here.com
                  s=Session SDP
                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  /*Client for A prepares to receive data on port 49170
                  from the network. */
        
                  /*Client for A prepares to receive data on port 49170
                  from the network. */
        
    INVITE F2     INVITE sip:UserA-retrieve@vm.wcom.com SIP/2.0
    Proxy->B1     Via: SIP/2.0/UDP wcom.com:5060; branch=1
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:VoiceMail@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
    INVITE F2     INVITE sip:UserA-retrieve@vm.wcom.com SIP/2.0
    Proxy->B1     Via: SIP/2.0/UDP wcom.com:5060; branch=1
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:VoiceMail@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
                  v=0
                  o=UserA 2890844526 2890844526 IN IP4 client.here.com
                  s=Session SDP
                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  v=0
                  o=UserA 2890844526 2890844526 IN IP4 client.here.com
                  s=Session SDP
                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
    (100 Trying   SIP/2.0 100 Trying
    F3            Via: SIP/2.0/UDP here.com:5060
    Proxy->A)     From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Content-Length: 0
        
    (100 Trying   SIP/2.0 100 Trying
    F3            Via: SIP/2.0/UDP here.com:5060
    Proxy->A)     From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Content-Length: 0
        
    200 OK F4     SIP/2.0 200 OK
    VM->Proxy     Via: SIP/2.0/UDP wcom.com:5060; branch=1
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:VoiceMail@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: VoiceMailSystem <sip:UserA-
                  retrieve@vm.wcom.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
    200 OK F4     SIP/2.0 200 OK
    VM->Proxy     Via: SIP/2.0/UDP wcom.com:5060; branch=1
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:VoiceMail@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: VoiceMailSystem <sip:UserA-
                  retrieve@vm.wcom.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
                  v=0
                  o=UserB 2890844527 2890844527 IN IP4 vm.wcom.com
                  s=Session SDP
                  c=IN IP4 110.111.112.114
                  t=0 0
                  m=audio 3456 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  v=0
                  o=UserB 2890844527 2890844527 IN IP4 vm.wcom.com
                  s=Session SDP
                  c=IN IP4 110.111.112.114
                  t=0 0
                  m=audio 3456 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
    200 OK F5     SIP/2.0 200 OK
    Proxy->A      Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:VoiceMail@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact VoiceMailSystem <sip: UserA-
                  retrieve@vm.wcom.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
    200 OK F5     SIP/2.0 200 OK
    Proxy->A      Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:VoiceMail@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact VoiceMailSystem <sip: UserA-
                  retrieve@vm.wcom.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
                  v=0
                  o=UserB 2890844527 2890844527 IN IP4 vm.wcom.com
                  s=Session SDP
                  c=IN IP4 110.111.112.114
                  t=0 0
                  m=audio 3456 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  v=0
                  o=UserB 2890844527 2890844527 IN IP4 vm.wcom.com
                  s=Session SDP
                  c=IN IP4 110.111.112.114
                  t=0 0
                  m=audio 3456 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
    ACK F6        ACK sip:VoiceMail@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  Route:<sip:UserA-retrieve@vm.wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 ACK
                  Content-Length: 0
        
    ACK F6        ACK sip:VoiceMail@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  Route:<sip:UserA-retrieve@vm.wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 ACK
                  Content-Length: 0
        
    ACK F7        ACK sip:UserA-retrieve@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>; tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 ACK
                  Content-Length: 0
        
    ACK F7        ACK sip:UserA-retrieve@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>; tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 ACK
                  Content-Length: 0
        
                  /* RTP streams are established between A and VM.  VM
                  determines that the call is likely from UserA, and
                  starts a message retrieval session, prompting for
                  PIN*/
        
                  /* RTP streams are established between A and VM.  VM
                  determines that the call is likely from UserA, and
                  starts a message retrieval session, prompting for
                  PIN*/
        
                  /* User A Hangs Up with VM system.  Alternatively, the
                  VM system could initiate the BYE*/
        
                  /* User A Hangs Up with VM system.  Alternatively, the
                  VM system could initiate the BYE*/
        
    BYE F8        BYE sip: VoiceMail@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  Route:<sip:UserA-retrieve@vm.wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    BYE F8        BYE sip: VoiceMail@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  Route:<sip:UserA-retrieve@vm.wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    BYE F9        BYE sip: UserA-retrieve@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    BYE F9        BYE sip: UserA-retrieve@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    200 OK F10    SIP/2.0 200 OK
    VM->Proxy     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
        
    200 OK F10    SIP/2.0 200 OK
    VM->Proxy     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
        
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    200 OK F11    SIP/2.0 200 OK
    Proxy->A      Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq:  2 BYE
                  Content-Length: 0
        
    200 OK F11    SIP/2.0 200 OK
    Proxy->A      Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq:  2 BYE
                  Content-Length: 0
        
4.3.2 Call to retrieve messages from an authenticated subscriber
4.3.2 调用以从经过身份验证的订阅者检索消息

UserA to call the voice mail system to retrieve messages. Assumptions: The caller is authenticated using UserA's credentials. "sip:UserA-retrieve-auth@vm.wcom.com" maps to UserA's mailbox and the behavior of "retrieve messages." The voice mail service trusts the proxy not to forward any calls to that URI unless the call is authenticated to be from UserA.

UserA呼叫语音邮件系统以检索邮件。假设:调用方使用UserA的凭据进行身份验证。“sip:UserA检索-auth@vm.wcom.com映射到UserA的邮箱和“检索邮件”的行为。语音邮件服务信任代理不会将任何呼叫转发到该URI,除非该呼叫经过身份验证为来自UserA。

Given these assumptions, The VM service may choose not require a PIN for calls to this URI.

根据这些假设,VM服务可能会选择不需要PIN来调用此URI。

            User A              Proxy                VM Service
              |                   |                       |
              |  INVITE F1        |                       |
              |------------------>|                       |
              |                   |  INVITE F2            |
              | (100 Trying) F3   |---------------------->|
              |<------------------|                       |
              |                   |  200 OK F4            |
              |  200 OK F5        |<----------------------|
              |<------------------|                       |
              |                   |                       |
              |  ACK F6           |                       |
              |------------------>|  ACK F7               |
              |                   |---------------------->|
              |                   |                       |
              |      RTP Both Ways - Deposit Msg for B    |
              |<-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m->|
              |                   |                       |
              |  BYE F8           |                       |
              |------------------>|  BYE F9               |
              |                   |---------------------->|
              |                   |                       |
              |                   |  200 OK F10           |
              |                   |<----------------------|
              |  200 OK F11       |                       |
              |<------------------|                       |
              |                   |                       |
        
            User A              Proxy                VM Service
              |                   |                       |
              |  INVITE F1        |                       |
              |------------------>|                       |
              |                   |  INVITE F2            |
              | (100 Trying) F3   |---------------------->|
              |<------------------|                       |
              |                   |  200 OK F4            |
              |  200 OK F5        |<----------------------|
              |<------------------|                       |
              |                   |                       |
              |  ACK F6           |                       |
              |------------------>|  ACK F7               |
              |                   |---------------------->|
              |                   |                       |
              |      RTP Both Ways - Deposit Msg for B    |
              |<-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m-m->|
              |                   |                       |
              |  BYE F8           |                       |
              |------------------>|  BYE F9               |
              |                   |---------------------->|
              |                   |                       |
              |                   |  200 OK F10           |
              |                   |<----------------------|
              |  200 OK F11       |                       |
              |<------------------|                       |
              |                   |                       |
        

Flow Id Comments

流Id注释

    INVITE F1     INVITE sip:VoiceMail@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Proxy-Authorization:Digest username="UserA",
                  realm="MCI WorldCom SIP",
                  nonce="ea9c8e88df84f1cec4341ae6cbe5a359", opaque="",
                  uri="sip:VoiceMail@wcom.com", response=<appropriately
                  calculated hash goes here>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
    INVITE F1     INVITE sip:VoiceMail@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Proxy-Authorization:Digest username="UserA",
                  realm="MCI WorldCom SIP",
                  nonce="ea9c8e88df84f1cec4341ae6cbe5a359", opaque="",
                  uri="sip:VoiceMail@wcom.com", response=<appropriately
                  calculated hash goes here>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        

v=0 o=UserA 2890844526 2890844526 IN IP4 client.here.com s=Session SDP

v=0 o=IP4 client.here.com中的用户A 2890844526 2890844526 s=Session SDP

                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  /*Client for A prepares to receive data on port 49170
                  from the network. */
        
                  /*Client for A prepares to receive data on port 49170
                  from the network. */
        
    INVITE F2     INVITE sip:UserA-retrieve-auth@vm.wcom.com SIP/2.0
    Proxy->B1     Via: SIP/2.0/UDP wcom.com:5060; branch=1
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:VoiceMail@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
    INVITE F2     INVITE sip:UserA-retrieve-auth@vm.wcom.com SIP/2.0
    Proxy->B1     Via: SIP/2.0/UDP wcom.com:5060; branch=1
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:VoiceMail@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: TheBigGuy <sip:UserA@here.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
                  v=0
                  o=UserA 2890844526 2890844526 IN IP4 client.here.com
                  s=Session SDP
                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  v=0
                  o=UserA 2890844526 2890844526 IN IP4 client.here.com
                  s=Session SDP
                  c=IN IP4 100.101.102.103
                  t=0 0
                  m=audio 49170 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
    (100 Trying   SIP/2.0 100 Trying
    F3            Via: SIP/2.0/UDP here.com:5060
    Proxy->A)     From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Content-Length: 0
        
    (100 Trying   SIP/2.0 100 Trying
    F3            Via: SIP/2.0/UDP here.com:5060
    Proxy->A)     From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Content-Length: 0
        
    200 OK F4     SIP/2.0 200 OK
    VM->Proxy     Via: SIP/2.0/UDP wcom.com:5060; branch=1
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:VoiceMail@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: VoiceMailSystem <sip:UserA-retrieve-
                  auth@vm.wcom.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
    200 OK F4     SIP/2.0 200 OK
    VM->Proxy     Via: SIP/2.0/UDP wcom.com:5060; branch=1
                  Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:VoiceMail@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact: VoiceMailSystem <sip:UserA-retrieve-
                  auth@vm.wcom.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
                  v=0
                  o=UserB 2890844527 2890844527 IN IP4 vm.wcom.com
                  s=Session SDP
                  c=IN IP4 110.111.112.114
                  t=0 0
                  m=audio 3456 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  v=0
                  o=UserB 2890844527 2890844527 IN IP4 vm.wcom.com
                  s=Session SDP
                  c=IN IP4 110.111.112.114
                  t=0 0
                  m=audio 3456 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
    200 OK F5     SIP/2.0 200 OK
    Proxy->A      Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:VoiceMail@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact VoiceMailSystem <sip: UserA-retrieve-
                  auth@vm.wcom.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
    200 OK F5     SIP/2.0 200 OK
    Proxy->A      Via: SIP/2.0/UDP here.com:5060
                  Record-Route: <sip:VoiceMail@wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 INVITE
                  Contact VoiceMailSystem <sip: UserA-retrieve-
                  auth@vm.wcom.com>
                  Content-Type: application/sdp
                  Content-Length: <appropriate value>
        
                  v=0
                  o=UserB 2890844527 2890844527 IN IP4 vm.wcom.com
                  s=Session SDP
                  c=IN IP4 110.111.112.114
                  t=0 0
                  m=audio 3456 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
                  v=0
                  o=UserB 2890844527 2890844527 IN IP4 vm.wcom.com
                  s=Session SDP
                  c=IN IP4 110.111.112.114
                  t=0 0
                  m=audio 3456 RTP/AVP 0
                  a=rtpmap:0 PCMU/8000
        
    ACK F6        ACK sip:VoiceMail@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  Route: <sip:UserA-retrieve-auth@vm.wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 ACK
                  Content-Length: 0
        
    ACK F6        ACK sip:VoiceMail@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  Route: <sip:UserA-retrieve-auth@vm.wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 ACK
                  Content-Length: 0
        
    ACK F7        ACK sip:UserA-retrieve-auth@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>; tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 ACK
                  Content-Length: 0
        
    ACK F7        ACK sip:UserA-retrieve-auth@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>; tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 1 ACK
                  Content-Length: 0
        
                  /* RTP streams are established between A and VM.  VM
                  determines that the call is likely from UserA, and
                  starts a message retrieval session.  Since the proxy
                  has already authenticated the identity of UserA, the
                  VM does not need to prompt for PIN. */
        
                  /* RTP streams are established between A and VM.  VM
                  determines that the call is likely from UserA, and
                  starts a message retrieval session.  Since the proxy
                  has already authenticated the identity of UserA, the
                  VM does not need to prompt for PIN. */
        
                  /* User A Hangs Up with VM system.  Alternatively, the
                  VM system could initiate the BYE*/
        
                  /* User A Hangs Up with VM system.  Alternatively, the
                  VM system could initiate the BYE*/
        
    BYE F8        BYE sip:VoiceMail@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  Route:<sip:UserA-retrieve-auth@vm.wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    BYE F8        BYE sip:VoiceMail@wcom.com SIP/2.0
    A->Proxy      Via: SIP/2.0/UDP here.com:5060
                  Route:<sip:UserA-retrieve-auth@vm.wcom.com>
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    BYE F9        BYE sip: UserA-retrieve-auth@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    BYE F9        BYE sip: UserA-retrieve-auth@vm.wcom.com SIP/2.0
    Proxy->VM     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    200 OK F10    SIP/2.0 200 OK
    VM->Proxy     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    200 OK F10    SIP/2.0 200 OK
    VM->Proxy     Via: SIP/2.0/UDP wcom.com:5060
                  Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq: 2 BYE
                  Content-Length: 0
        
    200 OK F11    SIP/2.0 200 OK
    Proxy->A      Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq:  2 BYE
                  Content-Length: 0
        
    200 OK F11    SIP/2.0 200 OK
    Proxy->A      Via: SIP/2.0/UDP here.com:5060
                  From: TheBigGuy <sip:UserA@here.com>
                  To: VoiceMail <sip:VoiceMail@wcom.com>;tag=3145678
                  Call-Id: 12345600@here.com
                  CSeq:  2 BYE
                  Content-Length: 0
        
5. Security Considerations
5. 安全考虑

This document discusses a usage of SIP/2.0 as defined by RFC 2543[1]. It introduces no additions, modifications, or restrictions to the protocol defined therein. Any implementation of the concepts in this document is subject to the issues discussed there.

本文档讨论RFC 2543[1]定义的SIP/2.0的用法。它没有对其中定义的协议进行任何添加、修改或限制。本文件中概念的任何实施均以此处讨论的问题为准。

6. Acknowledgments
6. 致谢

The authors would like to thank Chris Cunningham, Steve Donovan, Alan Johnston, Henry Sinnreich, Kevin Summers, John Truetken, and Dean Willis for their discussion of and contribution to this work.

作者要感谢克里斯·坎宁安、史蒂夫·多诺万、艾伦·约翰斯顿、亨利·辛里奇、凯文·萨默斯、约翰·特鲁特肯和迪安·威利斯对这项工作的讨论和贡献。

References

工具书类

[1] Handley, M., Schulzrinne, H., Schooler, E. and J. Rosenberg, "SIP: Session Initiation Protocol", RFC 2543, March 1999.

[1] Handley,M.,Schulzrinne,H.,Schooler,E.和J.Rosenberg,“SIP:会话启动协议”,RFC 25431999年3月。

Authors' Addresses

作者地址

Ben Campbell dynamicsoft 5100 Tennyson Parkway Suite 1200 Plano, TX 75024

德克萨斯州普莱诺市坦尼森大道1200号本坎贝尔动力软件5100套房,邮编75024

   EMail: bcampbell@dynamicsoft.com
        
   EMail: bcampbell@dynamicsoft.com
        

Robert J. Sparks dynamicsoft 5100 Tennyson Parkway Suite 1200 Plano, TX 75024

Robert J.Sparks dynamicsoft 5100田纳西州普莱诺市坦尼生大道1200号套房,邮编75024

   EMail: rsparks@dynamicsoft.com
        
   EMail: rsparks@dynamicsoft.com
        

Full Copyright Statement

完整版权声明

Copyright (C) The Internet Society (2001). All Rights Reserved.

版权所有(C)互联网协会(2001年)。版权所有。

This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to the Internet Society or other Internet organizations, except as needed for the purpose of developing Internet standards in which case the procedures for copyrights defined in the Internet Standards process must be followed, or as required to translate it into languages other than English.

本文件及其译本可复制并提供给他人,对其进行评论或解释或协助其实施的衍生作品可全部或部分编制、复制、出版和分发,不受任何限制,前提是上述版权声明和本段包含在所有此类副本和衍生作品中。但是,不得以任何方式修改本文件本身,例如删除版权通知或对互联网协会或其他互联网组织的引用,除非出于制定互联网标准的需要,在这种情况下,必须遵循互联网标准过程中定义的版权程序,或根据需要将其翻译成英语以外的其他语言。

The limited permissions granted above are perpetual and will not be revoked by the Internet Society or its successors or assigns.

上述授予的有限许可是永久性的,互联网协会或其继承人或受让人不会撤销。

This document and the information contained herein is provided on an "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

本文件和其中包含的信息是按“原样”提供的,互联网协会和互联网工程任务组否认所有明示或暗示的保证,包括但不限于任何保证,即使用本文中的信息不会侵犯任何权利,或对适销性或特定用途适用性的任何默示保证。

Acknowledgement

确认

Funding for the RFC Editor function is currently provided by the Internet Society.

RFC编辑功能的资金目前由互联网协会提供。