Network Working Group A. Johnston Request for Comments: 3666 MCI BCP: 76 S. Donovan Category: Best Current Practice R. Sparks C. Cunningham dynamicsoft K. Summers Sonus December 2003
Network Working Group A. Johnston Request for Comments: 3666 MCI BCP: 76 S. Donovan Category: Best Current Practice R. Sparks C. Cunningham dynamicsoft K. Summers Sonus December 2003
Session Initiation Protocol (SIP) Public Switched Telephone Network (PSTN) Call Flows
会话发起协议(SIP)公共交换电话网(PSTN)呼叫流
Status of this Memo
本备忘录的状况
This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements. Distribution of this memo is unlimited.
本文件规定了互联网社区的最佳现行做法,并要求进行讨论和提出改进建议。本备忘录的分发不受限制。
Copyright Notice
版权公告
Copyright (C) The Internet Society (2003). All Rights Reserved.
版权所有(C)互联网协会(2003年)。版权所有。
Abstract
摘要
This document contains best current practice examples of Session Initiation Protocol (SIP) call flows showing interworking with the Public Switched Telephone Network (PSTN). Elements in these call flows include SIP User Agents, SIP Proxy Servers, and PSTN Gateways. Scenarios include SIP to PSTN, PSTN to SIP, and PSTN to PSTN via SIP. PSTN telephony protocols are illustrated using ISDN (Integrated Services Digital Network), ISUP (ISDN User Part), and FGB (Feature Group B) circuit associated signaling. PSTN calls are illustrated using global telephone numbers from the PSTN and private extensions served on by a PBX (Private Branch Exchange). Call flow diagrams and message details are shown.
本文档包含会话启动协议(SIP)呼叫流的最佳实践示例,显示与公共交换电话网(PSTN)的互通。这些呼叫流中的元素包括SIP用户代理、SIP代理服务器和PSTN网关。场景包括SIP到PSTN、PSTN到SIP以及通过SIP从PSTN到PSTN。PSTN电话协议使用ISDN(综合业务数字网)、ISUP(ISDN用户部分)和FGB(功能组B)电路相关信令进行说明。PSTN呼叫使用来自PSTN的全局电话号码和PBX(专用分支交换机)提供的专用分机进行说明。显示了呼叫流程图和消息详细信息。
Table of Contents
目录
1. Overview..................................................... 2 1.1. General Assumptions.................................... 3 1.2. Legend for Message Flows............................... 4 1.3. SIP Protocol Assumptions............................... 5 2. SIP to PSTN Dialing.......................................... 6 2.1. Successful SIP to ISUP PSTN call....................... 7 2.2. Successful SIP to ISDN PBX call........................ 15 2.3. Successful SIP to ISUP PSTN call with overflow......... 23 2.4. Session established using ENUM Query................... 32 2.5. Unsuccessful SIP to PSTN call: Treatment from PSTN..... 38 2.6. Unsuccessful SIP to PSTN: REL w/Cause from PSTN........ 45 2.7. Unsuccessful SIP to PSTN: ANM Timeout.................. 49 3. PSTN to SIP Dialing.......................................... 54 3.1. Successful PSTN to SIP call............................ 55 3.2. Successful PSTN to SIP call, Fast Answer............... 62 3.3. Successful PBX to SIP call............................. 68 3.4. Unsuccessful PSTN to SIP REL, SIP error mapped to REL.. 74 3.5. Unsuccessful PSTN to SIP REL, SIP busy mapped to REL... 76 3.6. Unsuccessful PSTN->SIP, SIP error interworking to tones 80 3.7. Unsuccessful PSTN->SIP, ACM timeout.................... 84 3.8. Unsuccessful PSTN->SIP, ACM timeout, stateless Proxy... 88 3.9. Unsuccessful PSTN->SIP, Caller Abandonment............. 91 4. PSTN to PSTN Dialing via SIP Network......................... 96 4.1. Successful ISUP PSTN to ISUP PSTN call................. 97 4.2. Successful FGB PBX to ISDN PBX call with overflow...... 105 5. Security Considerations...................................... 113 6. References................................................... 115 6.1. Normative References................................... 115 6.2. Informative References................................. 115 7. Acknowledgments.............................................. 116 8. Intellectual Property Statement.............................. 116 9. Authors' Addresses........................................... 117 10. Full Copyright Statement..................................... 118
1. Overview..................................................... 2 1.1. General Assumptions.................................... 3 1.2. Legend for Message Flows............................... 4 1.3. SIP Protocol Assumptions............................... 5 2. SIP to PSTN Dialing.......................................... 6 2.1. Successful SIP to ISUP PSTN call....................... 7 2.2. Successful SIP to ISDN PBX call........................ 15 2.3. Successful SIP to ISUP PSTN call with overflow......... 23 2.4. Session established using ENUM Query................... 32 2.5. Unsuccessful SIP to PSTN call: Treatment from PSTN..... 38 2.6. Unsuccessful SIP to PSTN: REL w/Cause from PSTN........ 45 2.7. Unsuccessful SIP to PSTN: ANM Timeout.................. 49 3. PSTN to SIP Dialing.......................................... 54 3.1. Successful PSTN to SIP call............................ 55 3.2. Successful PSTN to SIP call, Fast Answer............... 62 3.3. Successful PBX to SIP call............................. 68 3.4. Unsuccessful PSTN to SIP REL, SIP error mapped to REL.. 74 3.5. Unsuccessful PSTN to SIP REL, SIP busy mapped to REL... 76 3.6. Unsuccessful PSTN->SIP, SIP error interworking to tones 80 3.7. Unsuccessful PSTN->SIP, ACM timeout.................... 84 3.8. Unsuccessful PSTN->SIP, ACM timeout, stateless Proxy... 88 3.9. Unsuccessful PSTN->SIP, Caller Abandonment............. 91 4. PSTN to PSTN Dialing via SIP Network......................... 96 4.1. Successful ISUP PSTN to ISUP PSTN call................. 97 4.2. Successful FGB PBX to ISDN PBX call with overflow...... 105 5. Security Considerations...................................... 113 6. References................................................... 115 6.1. Normative References................................... 115 6.2. Informative References................................. 115 7. Acknowledgments.............................................. 116 8. Intellectual Property Statement.............................. 116 9. Authors' Addresses........................................... 117 10. Full Copyright Statement..................................... 118
The call flows shown in this document were developed in the design of a SIP IP communications network. They represent an example of a minimum set of functionality.
本文档中显示的呼叫流是在SIP IP通信网络的设计中开发的。它们代表了一组最小功能的示例。
It is the hope of the authors that this document will be useful for SIP implementers, designers, and protocol researchers alike and will help further the goal of a standard implementation of RFC 3261 [2]. These flows represent carefully checked and working group reviewed scenarios of the most common SIP/PSTN interworking examples as a companion to the specifications.
作者希望本文档对SIP实施者、设计者和协议研究人员都有用,并有助于进一步实现RFC 3261的标准实现目标[2]。这些流程代表了经过仔细检查和工作组审查的最常见SIP/PSTN互通示例场景,作为规范的配套。
These call flows are based on the current version 2.0 of SIP in RFC 3261 [2] with SDP usage described in RFC 3264 [3]. Other RFCs also comprise the SIP standard but are not used in this set of basic call flows. The SIP/ISUP mapping is based on RFC 3398 [4].
这些调用流基于RFC 3261[2]中当前版本2.0的SIP,使用RFC 3264[3]中描述的SDP。其他RFC也包括SIP标准,但不在这组基本呼叫流中使用。SIP/ISUP映射基于RFC 3398[4]。
Various PSTN signaling protocols are illustrated in this document: ISDN (Integrated Services Digital Network), ISUP (ISDN User Part) and FGB (Feature Group B) circuit associated signaling. This document shows mainly ANSI ISUP due to its practical origins. However, as used in this document, the usage is virtually identical to the ITU-T International ISUP used as the reference in [4].
本文件说明了各种PSTN信令协议:ISDN(综合业务数字网)、ISUP(ISDN用户部分)和FGB(功能组B)电路相关信令。本文档主要展示了ANSI ISUP的实际起源。然而,正如在本文件中所使用的,其用法实际上与[4]中用作参考的ITU-T国际ISUP相同。
Basic SIP call flow examples are contained in a companion document, RFC 3665 [10].
基本SIP呼叫流示例包含在附带文档RFC 3665[10]中。
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14, RFC 2119 [1].
本文件中的关键词“必须”、“不得”、“要求”、“应”、“不应”、“应”、“不应”、“建议”、“可”和“可选”应按照BCP 14、RFC 2119[1]中的描述进行解释。
A number of architecture, network, and protocol assumptions underlie the call flows in this document. Note that these assumptions are not requirements. They are outlined in this section so that they may be taken into consideration and to aid in the understanding of the call flow examples.
本文档中的调用流基于许多体系结构、网络和协议假设。请注意,这些假设不是要求。本节对它们进行了概述,以便考虑它们,并帮助理解调用流示例。
The authentication of SIP User Agents in these example call flows is performed using HTTP Digest as defined in [3] and [5].
这些示例调用流中SIP用户代理的身份验证使用[3]和[5]中定义的HTTP摘要执行。
Some Proxy Servers in these call flows insert Record-Route headers into requests to ensure that they are in the signaling path for future message exchanges.
这些调用流中的一些代理服务器将记录路由头插入到请求中,以确保它们位于未来消息交换的信令路径中。
These flows show TLS, TCP, and UDP for transport. SCTP could also be used. See the discussion in RFC 3261 [2] for details on the transport issues for SIP.
这些流显示用于传输的TLS、TCP和UDP。也可以使用SCTP。有关SIP传输问题的详细信息,请参阅RFC 3261[2]中的讨论。
The SIP Proxy Server has access to a Location Service and other databases. Information present in the Request-URI and the context (From header) is sufficient to determine to which proxy or gateway the message should be routed. In most cases, a primary and secondary route will be determined in case of a Proxy or Gateway failure downstream.
SIP代理服务器可以访问位置服务和其他数据库。请求URI和上下文(来自标头)中的信息足以确定消息应路由到哪个代理或网关。在大多数情况下,当下游出现代理或网关故障时,将确定主路由和辅助路由。
Gateways provide tones (ringing, busy, etc) and announcements to the PSTN side based on SIP response messages, or pass along audio in-band tones (ringing, busy tone, etc.) in an early media stream to the SIP side.
网关根据SIP响应消息向PSTN侧提供铃声(铃声、忙音等)和通知,或将早期媒体流中的带内音频铃声(铃声、忙音等)传递给SIP侧。
The interactions between the Proxy and Gateway can be summarized as follows:
代理和网关之间的交互可以总结如下:
- The SIP Proxy Server performs digit analysis and lookup and locates the correct gateway.
- SIP代理服务器执行数字分析和查找,并找到正确的网关。
- The SIP Proxy Server performs gateway location based on primary and secondary routing.
- SIP代理服务器根据主路由和辅助路由执行网关定位。
Telephone numbers are usually represented as SIP URIs. Note that an alternative is the use of the tel URI [6].
电话号码通常表示为SIPURI。请注意,另一种方法是使用teluri[6]。
This document shows typical examples of SIP/ISUP interworking. Although in the spirit of the SIP-T framework [7], these examples do not represent a complete implementation of the framework. The examples here represent more of a minimal set of examples for very basic SIP to ISUP interworking, rather than the more complex goal of ISUP transparency. In particular, there are NO examples of encapsulated ISUP in this document. If present, these messages would show S/MIME encryption due to the sensitive nature of this information, as discussed in the SIP-T Framework security considerations section. (Note - RFC 3204 [8] contains an example of an INVITE with encapsulated ISUP.) See the Security Considerations section for a more detailed discussion on the security of these call flows.
本文档展示了SIP/ISUP互通的典型示例。尽管本着SIP-T框架[7]的精神,这些示例并不代表该框架的完整实现。这里的示例更多地代表了非常基本的SIP到ISUP互通的一组最小示例,而不是ISUP透明度的更复杂目标。特别是,本文档中没有封装ISUP的示例。如果存在,这些消息将显示S/MIME加密,这是由于这些信息的敏感性质,如SIP-T框架安全注意事项部分所述。(注意-RFC 3204[8]包含一个封装ISUP的INVITE示例。)有关这些调用流的安全性的更详细讨论,请参阅安全注意事项部分。
In ISUP, the Calling Party Number is abbreviated as CgPN and the Called Party Number is abbreviated as CdPN. Other abbreviations include Numbering Plan Indicator (NPI) and Nature of Address (NOA).
在ISUP中,主叫方号码缩写为CgPN,被叫方号码缩写为CdPN。其他缩写包括编号计划指示器(NPI)和地址性质(NOA)。
Dashed lines (---) represent signaling messages that are mandatory to the call scenario. These messages can be SIP or PSTN signaling. The arrow indicates the direction of message flow.
Dashed lines (---) represent signaling messages that are mandatory to the call scenario. These messages can be SIP or PSTN signaling. The arrow indicates the direction of message flow.
Double dashed lines (===) represent media paths between network elements.
双虚线(==)表示网络元素之间的媒体路径。
Messages with parentheses around their name represent optional messages.
名称周围带有括号的消息表示可选消息。
Messages are identified in the Figures as F1, F2, etc. This references the message details in the list that follows the Figure. Comments in the message details are shown in the following form:
消息在图中标识为F1、F2等。这参考了图后列表中的消息详细信息。消息详细信息中的注释如下表所示:
/* Comments. */
/* Comments. */
This document does not prescribe the flows precisely as they are shown, but rather the flows illustrate the principles for best practice. They are best practices usages (orderings, syntax, selection of features for the purpose, handling of error) of SIP methods, headers and parameters. IMPORTANT: The exact flows here must not be copied as is by an implementer due to specific incorrect characteristics that were introduced into the document for convenience and are listed below. To sum up, the SIP/PSTN call flows represent well-reviewed examples of SIP usage, which are best common practice according to IETF consensus.
本文件并未严格规定流程,而是说明了最佳实践的原则。它们是SIP方法、头和参数的最佳实践用法(顺序、语法、功能选择、错误处理)。重要提示:由于为方便起见在文档中引入了特定的不正确特征,因此实施者不得复制此处的确切流程,如下所示。综上所述,SIP/PSTN呼叫流代表了经过充分审查的SIP使用示例,根据IETF共识,这些示例是最佳通用实践。
For simplicity in reading and editing the document, there are a number of differences between some of the examples and actual SIP messages. For example, the SIP Digest responses are not actual MD5 encodings. Call-IDs are often repeated, and CSeq counts often begin at 1. Header fields are usually shown in the same order. Usually only the minimum required header field set is shown, others that would normally be present, such as Accept, Supported, Allow, etc. are not shown.
为便于阅读和编辑文档,一些示例与实际的SIP消息之间存在许多差异。例如,SIP摘要响应不是实际的MD5编码。呼叫ID经常重复,CSeq计数通常从1开始。标题字段通常以相同的顺序显示。通常只显示所需的最小标题字段集,而不显示通常存在的其他字段,如接受、支持、允许等。
Actors:
演员:
Element Display Name URI IP Address ------- ------------ --- ----------
Element Display Name URI IP Address ------- ------------ --- ----------
User Agent Alice sip:alice@a.example.com 192.0.2.101 User Agent Bob sip:bob@b.example.com 192.0.2.200 Proxy Server sip:ss1.a.example.com 192.0.2.111 User Agent (Gateway) sip:gw1.a.example.com 192.0.2.201 User Agent (Gateway) sip:gw2.a.example.com 192.0.2.202 User Agent (Gateway) sip:gw3.a.example.com 192.0.2.203 User Agent (Gateway) sip:ngw1.a.example.com 192.0.2.103 User Agent (Gateway) sip:ngw2.a.example.com 192.0.2.102
User Agent Alice sip:alice@a.example.com 192.0.2.101 User Agent Bob sip:bob@b.example.com 192.0.2.200 Proxy Server sip:ss1.a.example.com 192.0.2.111 User Agent (Gateway) sip:gw1.a.example.com 192.0.2.201 User Agent (Gateway) sip:gw2.a.example.com 192.0.2.202 User Agent (Gateway) sip:gw3.a.example.com 192.0.2.203 User Agent (Gateway) sip:ngw1.a.example.com 192.0.2.103 User Agent (Gateway) sip:ngw2.a.example.com 192.0.2.102
Note that NGW 1 and NGW 2 also have device URIs (Contacts) of sip:ngw1@a.example.com and sip:ngw2@a.example.com which resolve to the Proxy Server sip:ss1.wcom.com using DNS SRV records.
请注意,NGW 1和NGW 2还具有sip的设备URI(联系人):ngw1@a.example.com及sip:ngw2@a.example.com使用DNS SRV记录解析到代理服务器sip:ss1.wcom.com。
In the following scenarios, Alice (sip:alice@a.example.com) is a SIP phone or other SIP-enabled device. Bob is reachable via the PSTN at global telephone number +19725552222. Alice places a call to Bob through a Proxy Server, Proxy 1, and a Network Gateway. In other scenarios, Alice places calls to Carol, who is served via a PBX (Private Branch Exchange) and is identified by a private extension 444-3333, or global number +1-918-555-3333. Note that Alice uses his/her global telephone number +1-314-555-1111 in the From header in the INVITE messages. This then gives the Gateway the option of using this header to populate the calling party identification field in subsequent signaling. Left open is the issue of how the Gateway can determine the accuracy of the telephone number which is necessary before passing it as a valid calling party number in the PSTN.
在以下场景中,Alice(sip:alice@a.example.com)是SIP电话或其他启用SIP的设备。可通过PSTN通过全球电话号码+19725552222联系到Bob。Alice通过代理服务器、代理1和网络网关给Bob打电话。在其他情况下,Alice会打电话给Carol,Carol通过PBX(专用分支交换机)获得服务,由专用分机444-3333或全球号码+1-918-555-3333识别。请注意,Alice在邀请消息的“发件人”标题中使用其全球电话号码+1-314-555-1111。然后,网关可以选择使用此报头在后续信令中填充主叫方标识字段。留下来的问题是网关如何确定电话号码的准确性,这在将其作为PSTN中的有效呼叫方号码传递之前是必要的。
In these scenarios, Alice is a SIP phone or other SIP-enabled device. Alice places a call to Bob in the PSTN or Carol on a PBX through a Proxy Server and a Gateway.
在这些场景中,Alice是SIP电话或其他支持SIP的设备。Alice通过代理服务器和网关给PSTN中的Bob或PBX上的Carol打电话。
In the failure scenarios, the call does not complete. In some cases however, a media stream is still setup. This is due to the fact that some failures in dialing to the PSTN result in in-band tones (busy, reorder tones or announcements - "The number you have dialed has changed. The new number is..."). The 183 Session Progress response containing SDP media information is used to setup this early media path so that the caller Alice knows the final disposition of the call.
在故障场景中,调用不会完成。然而,在某些情况下,仍然设置媒体流。这是因为拨打PSTN时出现一些故障,导致带内铃声(忙音、重排铃声或公告-“您拨打的号码已更改。新号码是…”)。包含SDP媒体信息的183会话进度响应用于设置此早期媒体路径,以便调用者Alice知道呼叫的最终处置。
The media stream is either terminated by the caller after the tone or announcement has been heard and understood, or by the Gateway after a timer expires.
媒体流要么在听到并理解铃声或公告后由呼叫者终止,要么在计时器过期后由网关终止。
In other failure scenarios, a SS7 Release with Cause Code is mapped to a SIP response. In these scenarios, the early media path is not used, but the actual failure code is conveyed to the caller by the SIP User Agent Client.
在其他故障场景中,带有原因代码的SS7版本映射到SIP响应。在这些场景中,不使用早期媒体路径,但实际的故障代码由SIP用户代理客户端传递给调用者。
Alice Proxy 1 NGW 1 Switch B | | | | | INVITE F1 | | | |--------------->| | | | 100 F2 | | | |<---------------| INVITE F3 | | | |--------------->| | | | 100 F4 | | | |<---------------| IAM F5 | | | |--------------->| | | | ACM F6 | | | 183 F7 |<---------------| | 183 F8 |<---------------| | |<---------------| | | | Both Way RTP Media | One Way Voice | |<===============================>|<===============| | | | ANM F9 | | | 200 F10 |<---------------| | 200 F11 |<---------------| | |<---------------| | | | ACK F12 | | | |--------------->| ACK F13 | | | |--------------->| | | Both Way RTP Media | Both Way Voice | |<===============================>|<==============>| | BYE F14 | | | |--------------->| BYE F15 | | | |--------------->| | | | 200 F16 | | | 200 F17 |<---------------| REL F18 | |<---------------| |--------------->| | | | RLC F19 | | | |<---------------| | | | |
Alice Proxy 1 NGW 1 Switch B | | | | | INVITE F1 | | | |--------------->| | | | 100 F2 | | | |<---------------| INVITE F3 | | | |--------------->| | | | 100 F4 | | | |<---------------| IAM F5 | | | |--------------->| | | | ACM F6 | | | 183 F7 |<---------------| | 183 F8 |<---------------| | |<---------------| | | | Both Way RTP Media | One Way Voice | |<===============================>|<===============| | | | ANM F9 | | | 200 F10 |<---------------| | 200 F11 |<---------------| | |<---------------| | | | ACK F12 | | | |--------------->| ACK F13 | | | |--------------->| | | Both Way RTP Media | Both Way Voice | |<===============================>|<==============>| | BYE F14 | | | |--------------->| BYE F15 | | | |--------------->| | | | 200 F16 | | | 200 F17 |<---------------| REL F18 | |<---------------| |--------------->| | | | RLC F19 | | | |<---------------| | | | |
Alice dials the globalized E.164 number +19725552222 to reach Bob. Note that A might have only dialed the last 7 digits, or some other dialing plan. It is assumed that the SIP User Agent Client converts the digits into a global number and puts them into a SIP URI. Note that tel URIs could be used instead of SIP URIs.
Alice拨打全球化的E.164号码+19725552222与Bob联系。请注意,A可能只拨打了最后7位,或其他拨号计划。假设SIP用户代理客户端将数字转换为全局数字,并将其放入SIP URI中。注意,可以使用tel-uri代替SIP-uri。
Alice could use either their SIP address (sip:alice@a.example.com) or SIP telephone number (sip:+13145551111@ss1.a.example.com;user=phone) in the From header. In this example, the telephone number is included, and it is shown as being passed as calling party identification through the Network Gateway (NGW 1) to Bob (F5). Note
Alice could use either their SIP address (sip:alice@a.example.com) or SIP telephone number (sip:+13145551111@ss1.a.example.com;user=phone) in the From header. In this example, the telephone number is included, and it is shown as being passed as calling party identification through the Network Gateway (NGW 1) to Bob (F5). Note
that for this number to be passed into the SS7 network, it would have to be somehow verified for accuracy.
要将该数字传递到SS7网络,必须以某种方式验证其准确性。
In this scenario, Bob answers the call, then Alice disconnects the call. Signaling between NGW 1 and Bob's telephone switch is ANSI ISUP. For the details of SIP to ISUP mapping, refer to [4].
在这个场景中,Bob接听电话,然后Alice断开电话。NGW 1和Bob电话交换机之间的信令为ANSI ISUP。有关SIP到ISUP映射的详细信息,请参阅[4]。
In this flow, notice that the Contact returned by NGW 1 in messages F7-11 is sip:ngw1@a.example.com. This is because NGW 1 only accepts SIP messages that come through Proxy 1 - any direct signaling will be ignored. Since this Contact URI may be used outside of this dialog and must be routable (Section 8.1.1.8 in RFC 3261 [2]) the Contact URI for NGW 1 must resolve to Proxy 1. This Contact URI resolves via DNS to Proxy 1 (sip:ss1.a.example.com) which then resolves it to sip:ngw1.a.example.com which is the address of NGW 1.
在此流程中,请注意,消息F7-11中NGW 1返回的联系人是sip:ngw1@a.example.com. 这是因为NGW1只接受通过代理1发送的SIP消息-任何直接信令都将被忽略。由于此联系人URI可在此对话框之外使用,并且必须是可路由的(RFC 3261[2]中的第8.1.1.8节),因此NGW 1的联系人URI必须解析为代理1。此联系人URI通过DNS解析为代理1(sip:ss1.a.example.com),然后代理1将其解析为sip:ngw1.a.example.com,这是NGW 1的地址。
This flow shows TCP transport.
此流显示TCP传输。
Message Details
消息详细信息
F1 INVITE Alice -> Proxy 1
F1邀请Alice->Proxy 1
INVITE sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 Max-Forwards: 70 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:alice@client.a.example.com;transport=tcp> Proxy-Authorization: Digest username="alice", realm="a.example.com", nonce="dc3a5ab25302aa931904ba7d88fa1cf5", opaque="", uri="sip:+19725552222@ss1.a.example.com;user=phone", response="ccdca50cb091d587421457305d097458c" Content-Type: application/sdp Content-Length: 154
INVITE sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 Max-Forwards: 70 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:alice@client.a.example.com;transport=tcp> Proxy-Authorization: Digest username="alice", realm="a.example.com", nonce="dc3a5ab25302aa931904ba7d88fa1cf5", opaque="", uri="sip:+19725552222@ss1.a.example.com;user=phone", response="ccdca50cb091d587421457305d097458c" Content-Type: application/sdp Content-Length: 154
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F2 100 Trying Proxy 1 -> Alice
F2100正在尝试代理1->Alice
SIP/2.0 100 Trying Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Content-Length: 0
SIP/2.0 100 Trying Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Content-Length: 0
/* Proxy 1 uses a Location Service function to determine the gateway for terminating this call. The call is forwarded to NGW 1. Client for A prepares to receive data on port 49172 from the network.*/
/* Proxy 1 uses a Location Service function to determine the gateway for terminating this call. The call is forwarded to NGW 1. Client for A prepares to receive data on port 49172 from the network.*/
F3 INVITE Proxy 1 -> NGW 1
F3邀请代理1->NGW 1
INVITE sip:+19725552222@ngw1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:alice@client.a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 154
INVITE sip:+19725552222@ngw1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:alice@client.a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 154
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F4 100 Trying NGW 1 -> Proxy 1
F4 100正在尝试NGW 1->Proxy 1
SIP/2.0 100 Trying Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1
SIP/2.0 100 Trying Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Content-Length: 0
;received=192.0.2.111 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Content-Length: 0
F5 IAM NGW 1 -> Bob
F5 IAM NGW 1->Bob
IAM CdPN=972-555-2222,NPI=E.164,NOA=National CgPN=314-555-1111,NPI=E.164,NOA=National
IAM CdPN=972-555-2222,NPI=E.164,NOA=National CgPN=314-555-1111,NPI=E.164,NOA=National
F6 ACM Bob -> NGW 1
F6 ACM Bob->NGW 1
ACM
ACM
F7 183 Session Progress NGW 1 -> Proxy 1
F7 183会话进度NGW 1->Proxy 1
SIP/2.0 183 Session Progress Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 146
SIP/2.0 183 Session Progress Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 146
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
/* NGW 1 sends PSTN audio (ringing) in the RTP path to A */
/* NGW 1 sends PSTN audio (ringing) in the RTP path to A */
F8 183 Session Progress Proxy 1 -> Alice
F8 183会话进度代理1->Alice
SIP/2.0 183 Session Progress Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 146
SIP/2.0 183 Session Progress Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 146
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F9 ANM Bob -> NGW 1
F9 ANM Bob->NGW 1
ANM
安姆
F10 200 OK NGW 1 -> Proxy 1
F10 200正常NGW 1->代理1
SIP/2.0 200 OK Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp
SIP/2.0 200 OK Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp
Content-Length: 146
内容长度:146
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 gw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 gw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F11 200 OK Proxy 1 -> Alice
F11 200 OK Proxy 1->Alice
SIP/2.0 200 OK Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 146
SIP/2.0 200 OK Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 146
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F12 ACK Alice -> Proxy 1
F12确认->代理1
ACK sip:ngw1@a.example.com SIP/2.0 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 Max-Forwards: 70 Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 ACK
ACK sip:ngw1@a.example.com SIP/2.0 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 Max-Forwards: 70 Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 ACK
Content-Length: 0
内容长度:0
F13 ACK Proxy 1 -> NGW 1
F13确认代理1->NGW 1
ACK sip:ngw1@a.example.com SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 ACK Content-Length: 0
ACK sip:ngw1@a.example.com SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 ACK Content-Length: 0
/* Alice Hangs Up with Bob. */
/* Alice Hangs Up with Bob. */
F14 BYE Alice -> Proxy 1
F14再见Alice->Proxy 1
BYE sip:ngw1@a.example.com SIP/2.0 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 Max-Forwards: 70 Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 BYE Content-Length: 0
BYE sip:ngw1@a.example.com SIP/2.0 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 Max-Forwards: 70 Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 BYE Content-Length: 0
F15 BYE Proxy 1 -> NGW 1
F15 BYE Proxy 1->NGW 1
BYE sip:ngw1@a.example.com SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com
BYE sip:ngw1@a.example.com SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com
CSeq: 2 BYE Content-Length: 0
CSeq:2字节内容长度:0
F16 200 OK NGW 1 -> Proxy 1
F16 200正常NGW 1->代理1
SIP/2.0 200 OK Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 BYE Content-Length: 0
SIP/2.0 200 OK Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 BYE Content-Length: 0
F17 200 OK Proxy 1 -> A
F17 200正常代理1->A
SIP/2.0 200 OK Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 BYE Content-Length: 0
SIP/2.0 200 OK Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 BYE Content-Length: 0
F18 REL NGW 1 -> B
F18相对NGW 1->B
REL CauseCode=16 Normal
REL CauseCode=16正常值
F19 RLC B -> NGW 1
F19 RLC B->NGW 1
RLC
RLC
Alice Proxy 1 GW 1 PBX C | | | | | INVITE F1 | | | |--------------->| | | | 100 F2 | | | |<---------------| INVITE F3 | | | |--------------->| | | | 100 F4 | | | |<---------------| SETUP F5 | | | |--------------->| | | | CALL PROC F6 | | | |<---------------| | | | PROGress F7 | | | 180 F8 |<---------------| | 180 F9 |<---------------| | |<---------------| | | | | | One Way Voice | | | |<===============| | | | CONNect F10 | | | |<---------------| | | | CONNect ACK F11| | | 200 F12 |--------------->| | 200 F13 |<---------------| | |<---------------| | | | ACK F14 | | | |--------------->| ACK F15 | | | |--------------->| | | Both Way RTP Media | Both Way Voice | |<===============================>|<==============>| | BYE F16 | | | |--------------->| BYE F17 | | | |--------------->| | | | 200 F18 | | | 200 F19 |<---------------| DISConnect F20 | |<---------------| |--------------->| | | | RELease F21 | | | |<---------------| | | | RELease COM F22| | | |--------------->| | | | |
Alice Proxy 1 GW 1 PBX C | | | | | INVITE F1 | | | |--------------->| | | | 100 F2 | | | |<---------------| INVITE F3 | | | |--------------->| | | | 100 F4 | | | |<---------------| SETUP F5 | | | |--------------->| | | | CALL PROC F6 | | | |<---------------| | | | PROGress F7 | | | 180 F8 |<---------------| | 180 F9 |<---------------| | |<---------------| | | | | | One Way Voice | | | |<===============| | | | CONNect F10 | | | |<---------------| | | | CONNect ACK F11| | | 200 F12 |--------------->| | 200 F13 |<---------------| | |<---------------| | | | ACK F14 | | | |--------------->| ACK F15 | | | |--------------->| | | Both Way RTP Media | Both Way Voice | |<===============================>|<==============>| | BYE F16 | | | |--------------->| BYE F17 | | | |--------------->| | | | 200 F18 | | | 200 F19 |<---------------| DISConnect F20 | |<---------------| |--------------->| | | | RELease F21 | | | |<---------------| | | | RELease COM F22| | | |--------------->| | | | |
Alice is a SIP device while Carol is connected via a Gateway (GW 1) to a PBX. The PBX connection is via a ISDN trunk group. Alice dials Carol's telephone number (918-555-3333) which is globalized and put into a SIP URI.
Alice是SIP设备,而Carol通过网关(GW 1)连接到PBX。PBX连接通过ISDN中继组进行。Alice拨打Carol的电话号码(918-555-3333),该号码是全球化的,并输入到SIPURI中。
The host portion of the Request-URI in the INVITE F3 is used to identify the context (customer, trunk group, or line) in which the private number 444-3333 is valid. Otherwise, this INVITE message could get forwarded by GW 1 and the context of the digits could become lost and the call unroutable.
INVITE F3中请求URI的主机部分用于标识私有号码444-3333有效的上下文(客户、中继组或线路)。否则,此INVITE消息可能会被GW 1转发,数字的上下文可能会丢失,呼叫无法中断。
Proxy 1 looks up the telephone number and locates the gateway that serves Carol. Carol is identified by its extension (444-3333) in the Request-URI sent to GW 1.
代理1查找电话号码并找到为Carol服务的网关。Carol通过发送给GW 1的请求URI中的扩展名(444-3333)进行标识。
Note that the Contact URI for GW 1, as used in messages F8, F9, F12, and F13, is sips:4443333@gw1.a.example.com, which resolves directly to the gateway.
请注意,消息F8、F9、F12和F13中使用的GW 1的联系人URI为sips:4443333@gw1.a.example.com,它直接解析到网关。
This flow shows the use of Secure SIP (sips) URIs.
此流程显示了安全SIP(sips)URI的使用。
Message Details
消息详细信息
F1 INVITE Alice -> Proxy 1
F1邀请Alice->Proxy 1
INVITE sips:+19185553333@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TLS client.a.example.com:5061;branch=z9hG4bK74bf9 Max-Forwards: 70 From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Contact: <sips:alice@client.a.example.com> Proxy-Authorization: Digest username="alice", realm="a.example.com", nonce="qo0dc3a5ab22aa931904badfa1cf5j9h", opaque="", uri="sips:+19185553333@ss1.a.example.com;user=phone", response="6c792f5c9fa360358b93c7fb826bf550" Content-Type: application/sdp Content-Length: 154
INVITE sips:+19185553333@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TLS client.a.example.com:5061;branch=z9hG4bK74bf9 Max-Forwards: 70 From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Contact: <sips:alice@client.a.example.com> Proxy-Authorization: Digest username="alice", realm="a.example.com", nonce="qo0dc3a5ab22aa931904badfa1cf5j9h", opaque="", uri="sips:+19185553333@ss1.a.example.com;user=phone", response="6c792f5c9fa360358b93c7fb826bf550" Content-Type: application/sdp Content-Length: 154
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F2 100 Trying Proxy 1 -> Alice
F2100正在尝试代理1->Alice
SIP/2.0 100 Trying
SIP/2.0 100
Via: SIP/2.0/TLS client.a.example.com:5061;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Content-Length: 0
Via: SIP/2.0/TLS client.a.example.com:5061;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Content-Length: 0
F3 INVITE Proxy 1 -> GW 1
F3邀请代理1->GW 1
INVITE sips:4443333@gw1.a.example.com SIP/2.0 Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TLS client.a.example.com:5061;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 Record-Route: <sips:ss1.a.example.com;lr> From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Contact: <sips:alice@client.a.example.com> Content-Type: application/sdp Content-Length: 154
INVITE sips:4443333@gw1.a.example.com SIP/2.0 Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TLS client.a.example.com:5061;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 Record-Route: <sips:ss1.a.example.com;lr> From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Contact: <sips:alice@client.a.example.com> Content-Type: application/sdp Content-Length: 154
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F4 100 Trying GW -> Proxy 1
F4 100正在尝试GW->Proxy 1
SIP/2.0 100 Trying Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Content-Length: 0
SIP/2.0 100 Trying Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Content-Length: 0
F5 SETUP GW 1 -> Carol
F5设置GW 1->Carol
Protocol discriminator=Q.931 Message type=SETUP Bearer capability: Information transfer capability=0 (Speech) or 16 (3.1 kHz audio) Channel identification=Preferred or exclusive B-channel Progress indicator=1 (Call is not end-to-end ISDN;further call progress information may be available inband) Called party number: Type of number unknown Digits=444-3333
协议鉴别器=Q.931消息类型=设置承载能力:信息传输能力=0(语音)或16(3.1 kHz音频)信道标识=首选或专用B信道进度指示器=1(呼叫不是端到端ISDN;更多呼叫进度信息可能在带内可用)被叫方号码:号码类型未知数字=444-3333
F6 CALL PROCeeding Carol-> GW 1
F6呼叫程序->GW 1
Protocol discriminator=Q.931 Message type=CALL PROC Channel identification=Exclusive B-channel
协议鉴别器=Q.931消息类型=呼叫过程通道标识=专用B通道
F7 PROGress Carol-> GW 1
F7进度表->GW 1
Protocol discriminator=Q.931 Message type=PROG Progress indicator=1 (Call is not end-to-end ISDN;further call progress information may be available inband)
协议鉴别器=Q.931消息类型=PROG Progress indicator=1(呼叫不是端到端ISDN;更多呼叫进度信息可能在带内可用)
F8 180 Ringing GW 1 -> Proxy 1
F8 180振铃GW 1->代理服务器1
SIP/2.0 180 Ringing Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TLS client.a.example.com:5061;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sips:ss1.a.example.com;lr> From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Contact: <sips:4443333@gw1.a.example.com> Content-Length: 0
SIP/2.0 180 Ringing Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TLS client.a.example.com:5061;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sips:ss1.a.example.com;lr> From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Contact: <sips:4443333@gw1.a.example.com> Content-Length: 0
F9 180 Ringing Proxy 1 -> Alice
F9 180振铃代理1->Alice
SIP/2.0 180 Ringing Via: SIP/2.0/TLS client.a.example.com:5061;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sips:ss1.a.example.com;lr> From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Contact: <sips:4443333@gw1.a.example.com> Content-Length: 0
SIP/2.0 180 Ringing Via: SIP/2.0/TLS client.a.example.com:5061;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sips:ss1.a.example.com;lr> From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Contact: <sips:4443333@gw1.a.example.com> Content-Length: 0
F10 CONNect Carol-> GW 1
F10连接电缆->GW 1
Protocol discriminator=Q.931 Message type=CONN
协议鉴别器=Q.931消息类型=CONN
F11 CONNect ACK GW 1 -> Carol
F11连接确认GW 1->Carol
Protocol discriminator=Q.931 Message type=CONN ACK
协议鉴别器=Q.931消息类型=连接确认
F12 200 OK GW 1 -> Proxy 1
F12 200正常GW 1->代理1
SIP/2.0 200 OK Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TLS client.a.example.com:5061;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sips:ss1.a.example.com;lr> From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Contact: <sips:4443333@gw1.a.example.com> Content-Type: application/sdp Content-Length: 144
SIP/2.0 200 OK Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TLS client.a.example.com:5061;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sips:ss1.a.example.com;lr> From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Contact: <sips:4443333@gw1.a.example.com> Content-Type: application/sdp Content-Length: 144
v=0 o=GW 2890844527 2890844527 IN IP4 gw1.a.example.com
v=0 o=IP4 gw1.a.example.com中的GW 2890844527 2890844527
s=- c=IN IP4 gw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
s=- c=IN IP4 gw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F13 200 OK Proxy 1 -> Alice
F13 200 OK Proxy 1->Alice
SIP/2.0 200 OK Via: SIP/2.0/TLS client.a.example.com:5061;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sips:ss1.a.example.com;lr> From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Contact: <sips:4443333@gw1.a.example.com> Content-Type: application/sdp Content-Length: 144
SIP/2.0 200 OK Via: SIP/2.0/TLS client.a.example.com:5061;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sips:ss1.a.example.com;lr> From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Contact: <sips:4443333@gw1.a.example.com> Content-Type: application/sdp Content-Length: 144
v=0 o=GW 2890844527 2890844527 IN IP4 gw1.a.example.com s=- c=IN IP4 gw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 gw1.a.example.com s=- c=IN IP4 gw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F14 ACK Alice -> Proxy 1
F14确认->代理1
ACK sips:4443333@gw1.a.example.com SIP/2.0 Via: SIP/2.0/TLS client.a.example.com:5061;branch=z9hG4bK74bf9 Max-Forwards: 70 Route: <sips:ss1.a.example.com;lr> From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 ACK Content-Length: 0
ACK sips:4443333@gw1.a.example.com SIP/2.0 Via: SIP/2.0/TLS client.a.example.com:5061;branch=z9hG4bK74bf9 Max-Forwards: 70 Route: <sips:ss1.a.example.com;lr> From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 ACK Content-Length: 0
F15 ACK Proxy 1 -> GW 1
F15确认代理1->GW 1
ACK sips:4443333@gw1.a.example.com SIP/2.0 Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TLS client.a.example.com:5061;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 ACK Content-Length: 0
ACK sips:4443333@gw1.a.example.com SIP/2.0 Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TLS client.a.example.com:5061;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 ACK Content-Length: 0
/* Alice Hangs Up with Bob. */
/* Alice Hangs Up with Bob. */
F16 BYE Alice -> Proxy 1
F16再见Alice->Proxy 1
BYE sips:4443333@gw1.a.example.com SIP/2.0 Via: SIP/2.0/TLS client.a.example.com:5061;branch=z9hG4bK74bf9 Max-Forwards: 70 Route: <sips:ss1.a.example.com;lr> From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 3 BYE Content-Length: 0
BYE sips:4443333@gw1.a.example.com SIP/2.0 Via: SIP/2.0/TLS client.a.example.com:5061;branch=z9hG4bK74bf9 Max-Forwards: 70 Route: <sips:ss1.a.example.com;lr> From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 3 BYE Content-Length: 0
F17 BYE Proxy 1 -> GW 1
F17代理服务器1->GW 1
BYE sips:4443333@gw1.a.example.com SIP/2.0 Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TLS client.a.example.com:5061;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 3 BYE Content-Length: 0
BYE sips:4443333@gw1.a.example.com SIP/2.0 Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TLS client.a.example.com:5061;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 3 BYE Content-Length: 0
F18 200 OK GW 1 -> Proxy 1
F18 200正常GW 1->代理1
SIP/2.0 200 OK Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TLS client.a.example.com:5061;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 3 BYE Content-Length: 0
SIP/2.0 200 OK Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TLS client.a.example.com:5061;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 3 BYE Content-Length: 0
F19 200 OK Proxy 1 -> A
F19 200正常代理1->A
SIP/2.0 200 OK Via: SIP/2.0/TLS client.a.example.com:5061;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 3 BYE Content-Length: 0
SIP/2.0 200 OK Via: SIP/2.0/TLS client.a.example.com:5061;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sips:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Carol <sips:+19185553333@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 3 BYE Content-Length: 0
F20 DISConnect GW 1 -> Carol
断开GW 1->Carol
Protocol discriminator=Q.931 Message type=DISC Cause=16 (Normal clearing)
协议鉴别器=Q.931消息类型=磁盘原因=16(正常清除)
F21 RELease Carol-> GW 1
F21释放卡萝尔->GW 1
Protocol discriminator=Q.931 Message type=REL
协议鉴别器=Q.931消息类型=REL
F22 RELease COMplete GW 1 -> Carol
发布完整的GW 1->Carol
Protocol discriminator=Q.931 Message type=REL COM
协议鉴别器=Q.931消息类型=REL COM
Alice Proxy 1 NGW 1 NGW 2 Switch B | | | | | | INVITE F1 | | | | |------------->| | | | | | INVITE F2 | | | | 100 F3 |------------->| | | |<-------------| 503 F4 | | | | |<-------------| | | | | ACK F5 | | | | |------------->| | | | | INVITE F6 | | | |---------------------------->| IAM F7 | | | |------------->| | | | ACM F8 | | | 183 F9 |<-------------| | 183 F10 |<----------------------------| | |<-------------| | | | Two Way RTP Media | One Way Voice| |<==========================================>|<=============| | | | ANM F11 | | | 200 F12 |<-------------| | 200 F13 |<----------------------------| | |<-------------| | | | ACK F14 | | | |------------->| ACK F15 | | | |---------------------------->| | | Both Way RTP Media |Both Way Voice| |<==========================================>|<============>| | BYE F16 | | | |------------->| BYE F17 | | | |---------------------------->| | | | 200 F18 | | | 200 F19 |<----------------------------| REL F20 | |<-------------| |------------->| | | | RLC F21 | | | |<-------------| | | | |
Alice Proxy 1 NGW 1 NGW 2 Switch B | | | | | | INVITE F1 | | | | |------------->| | | | | | INVITE F2 | | | | 100 F3 |------------->| | | |<-------------| 503 F4 | | | | |<-------------| | | | | ACK F5 | | | | |------------->| | | | | INVITE F6 | | | |---------------------------->| IAM F7 | | | |------------->| | | | ACM F8 | | | 183 F9 |<-------------| | 183 F10 |<----------------------------| | |<-------------| | | | Two Way RTP Media | One Way Voice| |<==========================================>|<=============| | | | ANM F11 | | | 200 F12 |<-------------| | 200 F13 |<----------------------------| | |<-------------| | | | ACK F14 | | | |------------->| ACK F15 | | | |---------------------------->| | | Both Way RTP Media |Both Way Voice| |<==========================================>|<============>| | BYE F16 | | | |------------->| BYE F17 | | | |---------------------------->| | | | 200 F18 | | | 200 F19 |<----------------------------| REL F20 | |<-------------| |------------->| | | | RLC F21 | | | |<-------------| | | | |
Alice calls Bob through Proxy 1. Proxy 1 tries to route to a Network Gateway NGW 1. NGW 1 is not available and responds with a 503 Service Unavailable (F4). The call is then routed to Network Gateway NGW 2. Bob answers the call. The call is terminated when Alice disconnects the call. NGW 2 and Bob's telephone switch use ANSI ISUP signaling.
Alice通过代理1呼叫Bob。代理1尝试路由到网络网关NGW 1。NGW 1不可用,响应503服务不可用(F4)。然后将呼叫路由到网络网关NGW 2。鲍勃接电话。Alice断开呼叫时,呼叫终止。NGW2和Bob的电话交换机使用ANSI ISUP信令。
NGW 2 also only accepts SIP messages that come through Proxy 1, so the Contact URI sip:ngw2@a.example.com is used in this flow.
NGW 2也只接受通过代理1发送的SIP消息,因此联系人URI SIP:ngw2@a.example.com在该流中使用。
This flow shows UDP transport.
此流显示UDP传输。
Message Details
消息详细信息
F1 INVITE Alice -> Proxy 1
F1邀请Alice->Proxy 1
INVITE sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 Max-Forwards: 70 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:alice@client.a.example.com> Proxy-Authorization: Digest username="alice", realm="a.example.com", nonce="b59311c3ba05b401cf80b2a2c5ac51b0", opaque="", uri="sip:+19725552222@ss1.a.example.com;user=phone", response="ba6ab44923fa2614b28e3e3957789ab0" Content-Type: application/sdp Content-Length: 154
INVITE sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 Max-Forwards: 70 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:alice@client.a.example.com> Proxy-Authorization: Digest username="alice", realm="a.example.com", nonce="b59311c3ba05b401cf80b2a2c5ac51b0", opaque="", uri="sip:+19725552222@ss1.a.example.com;user=phone", response="ba6ab44923fa2614b28e3e3957789ab0" Content-Type: application/sdp Content-Length: 154
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
/* Proxy 1 uses a Location Service function to determine where B is located. Proxy 1 receives a primary route NGW 1 and a secondary route NGW 2. NGW 1 is tried first */
/* Proxy 1 uses a Location Service function to determine where B is located. Proxy 1 receives a primary route NGW 1 and a secondary route NGW 2. NGW 1 is tried first */
F2 INVITE Proxy 1 -> NGW 1
F2邀请代理1->NGW 1
INVITE sip:+19725552222@ngw1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl
INVITE sip:+19725552222@ngw1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl
To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:alice@client.a.example.com> Content-Type: application/sdp Content-Length: 154
To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:alice@client.a.example.com> Content-Type: application/sdp Content-Length: 154
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F3 100 Trying Proxy 1 -> Alice
F3 100正在尝试代理1->Alice
SIP/2.0 100 Trying Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Content-Length: 0
SIP/2.0 100 Trying Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Content-Length: 0
F4 503 Service Unavailable NGW 1 -> Proxy 1
F4 503服务不可用NGW 1->Proxy 1
SIP/2.0 503 Service Unavailable Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=123456789 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Content-Length: 0
SIP/2.0 503 Service Unavailable Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=123456789 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Content-Length: 0
F5 ACK Proxy 1 -> NGW 1
F5确认代理1->NGW 1
ACK sip:ngw1@a.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Max-Forwards: 70 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com>;user=phone> ;tag=123456789 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 ACK Content-Length: 0
ACK sip:ngw1@a.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Max-Forwards: 70 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com>;user=phone> ;tag=123456789 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 ACK Content-Length: 0
/* Proxy 1 now tries secondary route to NGW 2 */
/* Proxy 1 now tries secondary route to NGW 2 */
F6 INVITE Proxy 1 -> NGW 2
F6邀请代理1->NGW 2
INVITE sip:+19725552222@ngw2.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:alice@client.a.example.com> Content-Type: application/sdp Content-Length: 154
INVITE sip:+19725552222@ngw2.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:alice@client.a.example.com> Content-Type: application/sdp Content-Length: 154
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F7 IAM NGW 2 -> Bob
F7 IAM NGW 2->Bob
IAM CdPN=972-555-2222,NPI=E.164,NOA=National CgPN=314-555-1111,NPI=E.164,NOA=National
IAM CdPN=972-555-2222,NPI=E.164,NOA=National CgPN=314-555-1111,NPI=E.164,NOA=National
F8 ACM Bob -> NGW 2
F8 ACM Bob->NGW 2
ACM
ACM
F9 183 Session Progress NGW 2 -> Proxy 1
F9 183会话进度NGW 2->代理服务器1
SIP/2.0 183 Session Progress Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2 ;received=192.0.2.111 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:ngw2@a.example.com> Content-Type: application/sdp Content-Length: 146
SIP/2.0 183 Session Progress Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2 ;received=192.0.2.111 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:ngw2@a.example.com> Content-Type: application/sdp Content-Length: 146
v=0 o=GW 2890844527 2890844527 IN IP4 ngw2.a.example.com s=- c=IN IP4 ngw2.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 ngw2.a.example.com s=- c=IN IP4 ngw2.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
/* RTP packets are sent by GW to A for audio (e.g. ring tone) */
/* RTP packets are sent by GW to A for audio (e.g. ring tone) */
F10 183 Session Progress Proxy 1 -> Alice
F10 183会话进度代理1->Alice
SIP/2.0 183 Session Progress Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:ngw2@a.example.com> Content-Type: application/sdp
SIP/2.0 183 Session Progress Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:ngw2@a.example.com> Content-Type: application/sdp
Content-Length: 146
内容长度:146
v=0 o=GW 2890844527 2890844527 IN IP4 ngw2.a.example.com s=- c=IN IP4 ngw2.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 ngw2.a.example.com s=- c=IN IP4 ngw2.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F11 ANM Bob -> NGW 2
F11 ANM Bob->NGW 2
ANM
安姆
F12 200 OK NGW 2 -> Proxy 1
F12 200正常NGW 2->代理服务器1
SIP/2.0 200 OK Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2 ;received=192.0.2.111 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:ngw2@a.example.com> Content-Type: application/sdp Content-Length: 146
SIP/2.0 200 OK Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2 ;received=192.0.2.111 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:ngw2@a.example.com> Content-Type: application/sdp Content-Length: 146
v=0 o=GW 2890844527 2890844527 IN IP4 ngw2.a.example.com s=- c=IN IP4 ngw2.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 ngw2.a.example.com s=- c=IN IP4 ngw2.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F13 200 OK Proxy 1 -> Alice
F13 200 OK Proxy 1->Alice
SIP/2.0 200 OK Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101
SIP/2.0 200 OK Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101
Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:ngw2@a.example.com> Content-Type: application/sdp Content-Length: 146
Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:ngw2@a.example.com> Content-Type: application/sdp Content-Length: 146
v=0 o=GW 2890844527 2890844527 IN IP4 ngw2.a.example.com s=- c=IN IP4 ngw2.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 ngw2.a.example.com s=- c=IN IP4 ngw2.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F14 ACK Alice -> Proxy 1
F14确认->代理1
ACK sip:ngw2@a.example.com SIP/2.0 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 Max-Forwards: 70 Route: <ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 ACK Content-Length: 0
ACK sip:ngw2@a.example.com SIP/2.0 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 Max-Forwards: 70 Route: <ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 ACK Content-Length: 0
F15 ACK Proxy 1 -> NGW 2
F15确认代理1->NGW 2
ACK sip:ngw2@a.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 ACK
ACK sip:ngw2@a.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 ACK
Content-Length: 0
内容长度:0
/* RTP streams are established between A and B(via the GW) */
/* RTP streams are established between A and B(via the GW) */
/* Alice Hangs Up with Bob. */
/* Alice Hangs Up with Bob. */
F16 BYE Alice -> Proxy 1
F16再见Alice->Proxy 1
BYE sip:ngw2@a.example.com SIP/2.0 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 Max-Forwards: 70 Route: <ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 BYE Content-Length: 0
BYE sip:ngw2@a.example.com SIP/2.0 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 Max-Forwards: 70 Route: <ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 BYE Content-Length: 0
F17 BYE Proxy 1 -> NGW 2
F17 BYE Proxy 1->NGW 2
BYE sip:ngw2@a.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 BYE Content-Length: 0
BYE sip:ngw2@a.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 BYE Content-Length: 0
F18 200 OK NGW 2 -> Proxy 1
F18 200正常NGW 2->代理服务器1
SIP/2.0 200 OK Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2 ;received=192.0.2.111 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone>
SIP/2.0 200 OK Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2 ;received=192.0.2.111 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone>
;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 BYE Content-Length: 0
;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 BYE Content-Length: 0
F19 200 OK Proxy 1 -> Alice
F19 200 OK Proxy 1->Alice
SIP/2.0 200 OK Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 BYE Content-Length: 0
SIP/2.0 200 OK Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 BYE Content-Length: 0
F20 REL NGW 2 -> B
F20相对NGW 2->B
REL CauseCode=16 Normal
REL CauseCode=16正常值
F21 RLC B -> NGW 2
F21 RLC B->NGW 2
RLC
RLC
Alice DNS Server Proxy 3 Bob | | | | | ENUM Query F1 | | | |--------------->| | | | Response F2 | | | |<---------------| | | | INVITE F3 | | |-------------------------------->| INVITE F4 | | 100 F5 |--------------->| |<--------------------------------| 180 F6 | | 180 F7 |<---------------| |<--------------------------------| | | | 200 F8 | | 200 F9 |<---------------| |<--------------------------------| | | ACK F10 | | |-------------------------------->| ACK F11 | | |--------------->| | Both Way RTP Media | |<================================================>| | | BYE F12 | | BYE F13 |<---------------| |<--------------------------------| | | 200 F14 | | |-------------------------------->| 200 F15 | | |--------------->| | | |
Alice DNS Server Proxy 3 Bob | | | | | ENUM Query F1 | | | |--------------->| | | | Response F2 | | | |<---------------| | | | INVITE F3 | | |-------------------------------->| INVITE F4 | | 100 F5 |--------------->| |<--------------------------------| 180 F6 | | 180 F7 |<---------------| |<--------------------------------| | | | 200 F8 | | 200 F9 |<---------------| |<--------------------------------| | | ACK F10 | | |-------------------------------->| ACK F11 | | |--------------->| | Both Way RTP Media | |<================================================>| | | BYE F12 | | BYE F13 |<---------------| |<--------------------------------| | | 200 F14 | | |-------------------------------->| 200 F15 | | |--------------->| | | |
In this scenario, Alice places a call to Bob by dialing Bob's telephone number (9725552222). Alice's UA converts the phone number to an E.164 number (+19725552222), and performs an ENUM query [9] on the E.164 number (2.2.2.2.5.5.5.2.7.9.1.e164.arpa), which returns a NAPTR record containing a SIP AOR URI for Bob (sip:+19725552222@b.example.com). As a result, Alice's UA sends an INVITE and the call completes over IP bypassing the PSTN.
在这个场景中,Alice通过拨打Bob的电话号码(9725552222)给Bob打电话。Alice的UA将电话号码转换为E.164号码(+19725552222),并对E.164号码(2.2.2.5.5.5.2.7.9.1.e164.arpa)执行枚举查询[9],返回包含Bob的SIP AOR URI的NAPTR记录(SIP:+19725552222@b.example.com). 结果,Alice的UA发送一个INVITE,呼叫通过IP绕过PSTN完成。
The call is terminated when Bob sends a BYE message.
当Bob发送BYE消息时,呼叫终止。
Message Details
消息详细信息
F1 ENUM Query Alice -> DNS Server
F1枚举查询Alice->DNS服务器
2.2.2.2.5.5.5.2.7.9.1.e164.arpa
2.2.2.2.5.5.5.2.7.9.1.e164.arpa
F2 ENUM NAPTR Set DNS Server -> Alice
F2枚举NAPTR设置DNS服务器->Alice
$ORIGIN 2.2.2.2.5.5.5.2.7.9.1.e164.arpa. IN NAPTR 100 10 "u" "sip+E2U" "!^.*$!sip:+19725552222@b.example.com!".
$ORIGIN 2.2.2.5.5.5.2.7.9.1.e164.arpa。在NAPTR 100 10“u”sip+E2U“!^.*$!sip中:+19725552222@b.example.com!".
F3 INVITE Alice -> Proxy 3
F3邀请Alice->Proxy 3
INVITE sip:+19725552222@b.example.com SIP/2.0 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 Max-Forwards: 70 From: <sip:+13145551111@a.example.com>;tag=9fxced76sl To: <tel:+19725552222> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Contact: <sip:+13145551111@client.a.example.com> Content-Type: application/sdp Content-Length: 154
INVITE sip:+19725552222@b.example.com SIP/2.0 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 Max-Forwards: 70 From: <sip:+13145551111@a.example.com>;tag=9fxced76sl To: <tel:+19725552222> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Contact: <sip:+13145551111@client.a.example.com> Content-Type: application/sdp Content-Length: 154
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F4 INVITE Proxy 3 -> Bob
F4邀请代理3->Bob
INVITE sip:+19725552222@client.b.example.com SIP/2.0 Via: SIP/2.0/UDP ss3.b.example.com:5060;branch=z9hG4bK721e418c4.1 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 Record-Route: <sip:ss3.b.example.com;lr> From: <sip:+13145551111@a.example.com>;tag=9fxced76sl To: <tel:+19725552222> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Contact: <sip:+13145551111@client.a.example.com> Content-Type: application/sdp Content-Length: 154
INVITE sip:+19725552222@client.b.example.com SIP/2.0 Via: SIP/2.0/UDP ss3.b.example.com:5060;branch=z9hG4bK721e418c4.1 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 Record-Route: <sip:ss3.b.example.com;lr> From: <sip:+13145551111@a.example.com>;tag=9fxced76sl To: <tel:+19725552222> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Contact: <sip:+13145551111@client.a.example.com> Content-Type: application/sdp Content-Length: 154
v=0 o=UserA 2890844526 2890844526 IN IP4 client.a.example.com s=-
v=0 o=IP4 client.a.example.com中的用户a 2890844526 2890844526=-
c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F5 100 Trying Proxy 3 -> Alice
F5 100正在尝试代理3->Alice
SIP/2.0 100 Trying Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: <sip:+13145551111@a.example.com>;tag=9fxced76sl To: <tel:+19725552222> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Content-Length: 0
SIP/2.0 100 Trying Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: <sip:+13145551111@a.example.com>;tag=9fxced76sl To: <tel:+19725552222> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Content-Length: 0
F6 180 Ringing B -> Proxy 3
F6 180振铃B->代理3
SIP/2.0 180 Ringing Via: SIP/2.0/UDP ss3.b.example.com:5060;branch=z9hG4bK721e418c4.1 ;received=192.0.2.233 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss3.b.example.com;lr> From: <sip:+13145551111@a.example.com>;tag=9fxced76sl To: <tel:+19725552222>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Contact: <sip:+19725552222@client.b.example.com> Content-Length: 0
SIP/2.0 180 Ringing Via: SIP/2.0/UDP ss3.b.example.com:5060;branch=z9hG4bK721e418c4.1 ;received=192.0.2.233 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss3.b.example.com;lr> From: <sip:+13145551111@a.example.com>;tag=9fxced76sl To: <tel:+19725552222>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Contact: <sip:+19725552222@client.b.example.com> Content-Length: 0
F7 180 Ringing Proxy 3 -> Alice
F7 180振铃代理3->Alice
SIP/2.0 180 Ringing Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss3.b.example.com;lr> From: <sip:+13145551111@a.example.com>;tag=9fxced76sl To: <tel:+19725552222>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Contact: <sip:+19725552222@client.b.example.com> Content-Length: 0
SIP/2.0 180 Ringing Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss3.b.example.com;lr> From: <sip:+13145551111@a.example.com>;tag=9fxced76sl To: <tel:+19725552222>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Contact: <sip:+19725552222@client.b.example.com> Content-Length: 0
F8 200 OK Bob -> Proxy 3
F8 200 OK Bob->Proxy 3
SIP/2.0 200 OK Via: SIP/2.0/UDP ss3.b.example.com:5060;branch=z9hG4bK721e418c4.1 ;received=192.0.2.233 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss3.b.example.com;lr> From: <sip:+13145551111@a.example.com>;tag=9fxced76sl To: <tel:+19725552222>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Contact: <sip:+19725552222@client.b.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 151
SIP/2.0 200 OK Via: SIP/2.0/UDP ss3.b.example.com:5060;branch=z9hG4bK721e418c4.1 ;received=192.0.2.233 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss3.b.example.com;lr> From: <sip:+13145551111@a.example.com>;tag=9fxced76sl To: <tel:+19725552222>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Contact: <sip:+19725552222@client.b.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 151
v=0 o=bob 2890844527 2890844527 IN IP4 client.b.example.com s=- c=IN IP4 client.b.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=bob 2890844527 2890844527 IN IP4 client.b.example.com s=- c=IN IP4 client.b.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F9 200 OK Proxy -> Alice
F9 200 OK Proxy->Alice
SIP/2.0 200 OK Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss3.b.example.com;lr> From: <sip:+13145551111@a.example.com>;tag=9fxced76sl To: <tel:+19725552222>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Contact: <sip:+19725552222@client.b.example.com> Content-Type: application/sdp Content-Length: 151
SIP/2.0 200 OK Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss3.b.example.com;lr> From: <sip:+13145551111@a.example.com>;tag=9fxced76sl To: <tel:+19725552222>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 INVITE Contact: <sip:+19725552222@client.b.example.com> Content-Type: application/sdp Content-Length: 151
v=0 o=bob 2890844527 2890844527 IN IP4 client.b.example.com s=- c=IN IP4 192.0.2.100 t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=bob 2890844527 2890844527 IN IP4 client.b.example.com s=- c=IN IP4 192.0.2.100 t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F10 ACK Alice -> Proxy 3
F10确认->代理3
ACK sip:+19725552222@client.b.example.com SIP/2.0 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bq9 Max-Forwards: 70 Route: <sip:ss3.b.example.com;lr> From: <sip:+13145551111@a.example.com>;tag=9fxced76sl To: <tel:+19725552222>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 ACK Content-Length: 0
ACK sip:+19725552222@client.b.example.com SIP/2.0 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bq9 Max-Forwards: 70 Route: <sip:ss3.b.example.com;lr> From: <sip:+13145551111@a.example.com>;tag=9fxced76sl To: <tel:+19725552222>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 ACK Content-Length: 0
F11 ACK Proxy 3 -> Bob
F11确认代理3->Bob
ACK sip:+19725552222@client.b.example.com SIP/2.0 Via: SIP/2.0/UDP ss3.b.example.com:5060;branch=z9hG4bK721e418c4.1 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bq9 ;received=192.0.2.101 Max-Forwards: 69 From: <sip:+13145551111@a.example.com>;tag=9fxced76sl To: <tel:+19725552222>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 ACK Content-Type: application/sdp Content-Length: 0
ACK sip:+19725552222@client.b.example.com SIP/2.0 Via: SIP/2.0/UDP ss3.b.example.com:5060;branch=z9hG4bK721e418c4.1 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bq9 ;received=192.0.2.101 Max-Forwards: 69 From: <sip:+13145551111@a.example.com>;tag=9fxced76sl To: <tel:+19725552222>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 2 ACK Content-Type: application/sdp Content-Length: 0
/* RTP streams are established between A and B*/
/* RTP streams are established between A and B*/
/* User B Hangs Up with User A. */
/* User B Hangs Up with User A. */
F12 BYE Bob -> Proxy 3
F12再见Bob->Proxy 3
BYE sip:+13145551111@client.a.example.com SIP/2.0 Via: SIP/2.0/UDP client.b.example.com:5060;branch=z9hG4bKfgaw2 Max-Forwards: 70 Route: <sip:ss3.b.example.com;lr> From: <tel:+19725552222>;tag=314159 To: <sip:+13145551111@a.example.com>;tag=9fxced76sl Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 BYE Content-Length: 0
BYE sip:+13145551111@client.a.example.com SIP/2.0 Via: SIP/2.0/UDP client.b.example.com:5060;branch=z9hG4bKfgaw2 Max-Forwards: 70 Route: <sip:ss3.b.example.com;lr> From: <tel:+19725552222>;tag=314159 To: <sip:+13145551111@a.example.com>;tag=9fxced76sl Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 BYE Content-Length: 0
F13 BYE Proxy 3 -> Alice
F13拜拜代理3->Alice
BYE sip:+13145551111@client.a.example.com SIP/2.0
BYE sip:+13145551111@client.a.example.com SIP/2.0
Via: SIP/2.0/UDP ss3.b.example.com:5060;branch=z9hG4bK721e418c4.1 ;received=192.0.2.100 Via: SIP/2.0/UDP client.b.example.com:5060;branch=z9hG4bKfgaw2 Max-Forwards: 69 From: <tel:+19725552222>;tag=314159 To: <sip:+13145551111@a.example.com>;tag=9fxced76sl Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 BYE Content-Length: 0
Via: SIP/2.0/UDP ss3.b.example.com:5060;branch=z9hG4bK721e418c4.1 ;received=192.0.2.100 Via: SIP/2.0/UDP client.b.example.com:5060;branch=z9hG4bKfgaw2 Max-Forwards: 69 From: <tel:+19725552222>;tag=314159 To: <sip:+13145551111@a.example.com>;tag=9fxced76sl Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 BYE Content-Length: 0
F14 200 OK Alice -> Proxy 3
F14 200 OK Alice->Proxy 3
SIP/2.0 200 OK Via: SIP/2.0/UDP ss3.b.example.com:5060;branch=z9hG4bK721e418c4.1 ;received=192.0.2.233 Via: SIP/2.0/UDP client.b.example.com:5060;branch=z9hG4bKfgaw2 ;received=192.0.2.100 From: <tel:+19725552222>;tag=314159 To: <sip:+13145551111@a.example.com>;tag=9fxced76sl Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 BYE Content-Length: 0
SIP/2.0 200 OK Via: SIP/2.0/UDP ss3.b.example.com:5060;branch=z9hG4bK721e418c4.1 ;received=192.0.2.233 Via: SIP/2.0/UDP client.b.example.com:5060;branch=z9hG4bKfgaw2 ;received=192.0.2.100 From: <tel:+19725552222>;tag=314159 To: <sip:+13145551111@a.example.com>;tag=9fxced76sl Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 BYE Content-Length: 0
F15 200 OK Proxy 3 -> Bob
F15 200 OK Proxy 3->Bob
SIP/2.0 200 OK Via: SIP/2.0/UDP client.b.example.com:5060;branch=z9hG4bKfgaw2 ;received=192.0.2.100 From: <tel:+19725552222>;tag=314159 To: <sip:+13145551111@a.example.com>;tag=9fxced76sl Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 BYE Content-Length: 0
SIP/2.0 200 OK Via: SIP/2.0/UDP client.b.example.com:5060;branch=z9hG4bKfgaw2 ;received=192.0.2.100 From: <tel:+19725552222>;tag=314159 To: <sip:+13145551111@a.example.com>;tag=9fxced76sl Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 BYE Content-Length: 0
Alice Proxy 1 NGW 1 Bob | | | | | INVITE F1 | | | |--------------->| | | | 100 F2 | | | |<---------------| INVITE F3 | | | |--------------->| | | | 100 F4 | | | |<---------------| IAM F5 | | | |--------------->| | | | ACM F6 | | | 183 F7 |<---------------| | 183 F8 |<---------------| | |<---------------| | | | Two Way RTP Media | One Way Voice | |<===============================>|<===============| | Treatment Applied | |<=================================================| | CANCEL F9 | | | |--------------->| | | | 200 F10 | | | |<---------------| CANCEL F11 | | | |--------------->| | | | 200 F12 | | | |<---------------| REL F13 | | | |--------------->| | | | RLC F14 | | | 487 F15 |<---------------| | |<---------------| | | | ACK F16 | | | 487 F17 |--------------->| | |<---------------| | | | ACK F18 | | | |--------------->| | | | | | |
Alice Proxy 1 NGW 1 Bob | | | | | INVITE F1 | | | |--------------->| | | | 100 F2 | | | |<---------------| INVITE F3 | | | |--------------->| | | | 100 F4 | | | |<---------------| IAM F5 | | | |--------------->| | | | ACM F6 | | | 183 F7 |<---------------| | 183 F8 |<---------------| | |<---------------| | | | Two Way RTP Media | One Way Voice | |<===============================>|<===============| | Treatment Applied | |<=================================================| | CANCEL F9 | | | |--------------->| | | | 200 F10 | | | |<---------------| CANCEL F11 | | | |--------------->| | | | 200 F12 | | | |<---------------| REL F13 | | | |--------------->| | | | RLC F14 | | | 487 F15 |<---------------| | |<---------------| | | | ACK F16 | | | 487 F17 |--------------->| | |<---------------| | | | ACK F18 | | | |--------------->| | | | | | |
Alice calls Bob in the PSTN through a proxy server Proxy 1 and a Network Gateway NGW 1. The call is rejected by the PSTN with an in-band treatment (tone or recording) played. Alice hears the treatment and then hangs up, which results in a CANCEL (F9) being sent to terminate the call. (A BYE is not sent since no final response was ever received by Alice.)
Alice通过代理服务器proxy 1和网络网关NGW 1在PSTN中呼叫Bob。PSTN拒绝呼叫,并播放带内处理(音调或录音)。Alice听到治疗后挂断电话,结果发送了取消(F9)以终止呼叫。(由于Alice从未收到最终回复,因此未发送再见。)
Message Details
消息详细信息
F1 INVITE Alice -> Proxy 1
F1邀请Alice->Proxy 1
INVITE sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 Max-Forwards: 70 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:alice@client.a.example.com> Proxy-Authorization: Digest username="alice", realm="a.example.com", nonce="01cf8311c3b0b2a2c5ac51bb59a05b40", opaque="", uri="sip:+19725552222@ss1.a.example.com;user=phone", response="e178fbe430e6680a1690261af8831f40" Content-Type: application/sdp Content-Length: 154
INVITE sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 Max-Forwards: 70 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:alice@client.a.example.com> Proxy-Authorization: Digest username="alice", realm="a.example.com", nonce="01cf8311c3b0b2a2c5ac51bb59a05b40", opaque="", uri="sip:+19725552222@ss1.a.example.com;user=phone", response="e178fbe430e6680a1690261af8831f40" Content-Type: application/sdp Content-Length: 154
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F2 100 Trying Proxy 1 -> A
F2 100正在尝试代理1->A
SIP/2.0 100 Trying Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Content-Length: 0
SIP/2.0 100 Trying Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Content-Length: 0
/* Proxy 1 uses a Location Service function to determine where B is located. Based upon location analysis the call is forwarded to NGW 1. Client for A prepares to receive data on port 49172 from the network. */
/* Proxy 1 uses a Location Service function to determine where B is located. Based upon location analysis the call is forwarded to NGW 1. Client for A prepares to receive data on port 49172 from the network. */
F3 INVITE Proxy 1 -> NGW 1
F3邀请代理1->NGW 1
INVITE sip:+19725552222@ngw1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:alice@client.a.example.com> Content-Type: application/sdp Content-Length: 154
INVITE sip:+19725552222@ngw1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:alice@client.a.example.com> Content-Type: application/sdp Content-Length: 154
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F4 100 Trying NGW 1 -> Proxy 1
F4 100正在尝试NGW 1->Proxy 1
SIP/2.0 100 Trying Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Content-Length: 0
SIP/2.0 100 Trying Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Content-Length: 0
F5 IAM NGW 1 -> Bob
F5 IAM NGW 1->Bob
IAM CdPN=972-555-2222,NPI=E.164,NOA=National CgPN=314-555-1111,NPI=E.164,NOA=National
IAM CdPN=972-555-2222,NPI=E.164,NOA=National CgPN=314-555-1111,NPI=E.164,NOA=National
F6 ACM Bob -> NGW 1
F6 ACM Bob->NGW 1
ACM
ACM
F7 183 Session Progress NGW 1 -> Proxy 1
F7 183会话进度NGW 1->Proxy 1
SIP/2.0 183 Session Progress Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com> Content-Type: application/sdp Content-Length: 146
SIP/2.0 183 Session Progress Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com> Content-Type: application/sdp Content-Length: 146
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F8 183 Session Progress Proxy 1 -> Alice
F8 183会话进度代理1->Alice
SIP/2.0 183 Session Progress Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com> Content-Type: application/sdp Content-Length: 146
SIP/2.0 183 Session Progress Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com> Content-Type: application/sdp Content-Length: 146
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
/* Caller hears the recorded announcement, then hangs up */
/* Caller hears the recorded announcement, then hangs up */
F9 CANCEL Alice -> Proxy 1
F9取消Alice->Proxy 1
CANCEL sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 Max-Forwards: 70 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 CANCEL Content-Length: 0
CANCEL sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 Max-Forwards: 70 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 CANCEL Content-Length: 0
F10 200 OK Proxy 1 -> A
F10 200正常代理1->A
SIP/2.0 200 OK Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 CANCEL Content-Length: 0
SIP/2.0 200 OK Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 CANCEL Content-Length: 0
F11 CANCEL Proxy 1 -> NGW 1
F11取消代理1->NGW 1
CANCEL sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Max-Forwards: 70 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 CANCEL Content-Length: 0
CANCEL sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Max-Forwards: 70 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 CANCEL Content-Length: 0
F12 200 OK NGW 1 -> Proxy 1
F12 200正常NGW 1->代理1
SIP/2.0 200 OK Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 CANCEL Content-Length: 0
SIP/2.0 200 OK Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 CANCEL Content-Length: 0
F13 REL NGW 1 -> B
F13相对NGW 1->B
REL CauseCode=18 No user responding
REL CauseCode=18无用户响应
F14 RLC B -> NGW 1
F14 RLC B->NGW 1
RLC
RLC
F15 487 Request Terminated NGW 1 -> Proxy 1
F15 487请求终止NGW 1->代理1
SIP/2.0 487 Request Terminated Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Content-Length: 0
SIP/2.0 487 Request Terminated Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Content-Length: 0
F16 ACK Proxy 1 -> NGW 1
F16确认代理1->NGW 1
ACK sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Max-Forwards: 70 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone>
ACK sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Max-Forwards: 70 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone>
;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 ACK Content-Length: 0
;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 ACK Content-Length: 0
F17 487 Request Terminated Proxy 1 -> A
F17 487请求终止代理1->A
SIP/2.0 487 Request Terminated Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Content-Length: 0
SIP/2.0 487 Request Terminated Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Content-Length: 0
F18 ACK Alice -> Proxy 1
F18确认->代理1
ACK sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 Max-Forwards: 70 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 ACK Content-Length: 0
ACK sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP client.a.example.com:5060;branch=z9hG4bK74bf9 Max-Forwards: 70 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 ACK Content-Length: 0
Alice Proxy 1 NGW 1 Switch B | | | | | INVITE F1 | | | |--------------->| | | | 100 F2 | | | |<---------------| INVITE F3 | | | |--------------->| | | | 100 F4 | | | |<---------------| IAM F5 | | | |--------------->| | | | REL(1) F6 | | | |<---------------| | | | RLC F7 | | | 404 F8 |--------------->| | |<---------------| | | | ACK F9 | | | |--------------->| | | 404 F10 | | | |<---------------| | | | ACK F11 | | | |--------------->| | | | | | |
Alice Proxy 1 NGW 1 Switch B | | | | | INVITE F1 | | | |--------------->| | | | 100 F2 | | | |<---------------| INVITE F3 | | | |--------------->| | | | 100 F4 | | | |<---------------| IAM F5 | | | |--------------->| | | | REL(1) F6 | | | |<---------------| | | | RLC F7 | | | 404 F8 |--------------->| | |<---------------| | | | ACK F9 | | | |--------------->| | | 404 F10 | | | |<---------------| | | | ACK F11 | | | |--------------->| | | | | | |
Alice calls PSTN Bob through a Proxy Server Proxy 1 and a Network Gateway NGW 1. The call is rejected by the PSTN with a ANSI ISUP Release message REL containing a specific Cause code. This cause value (1) is mapped by the Gateway to a SIP 404 Address Incomplete response which is proxied back to Alice. For more details of ISUP cause value to SIP response mapping, refer to [4].
Alice通过代理服务器Proxy 1和网络网关NGW 1呼叫PSTN Bob。电话被PSTN拒绝,带有包含特定原因代码的ANSI ISUP REL释放消息。该原因值(1)由网关映射到SIP 404地址不完整响应,该响应被代理回Alice。有关ISUP原因值到SIP响应映射的更多详细信息,请参阅[4]。
Message Details
消息详细信息
F1 INVITE Alice -> Proxy 1
F1邀请Alice->Proxy 1
INVITE sip:+44-1234@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 Max-Forwards: 70 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+44-1234@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:alice@client.a.example.com;transport=tcp> Proxy-Authorization: Digest username="alice", realm="a.example.com", nonce="j1c3b0b01cf832da2c5ac51bb59a05b40", opaque="", uri="sip:+44-1234@ss1.a.example.com;user=phone",
邀请sip:+44-1234@ss1.a.example.com;user=phone SIP/2.0 Via:SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9最大转发:70发件人:Alice<sip:+13145551111@ss1.a.example.com;用户=电话>;tag=9fxced76sl到:Bob<sip:+44-1234@ss1.a.example.com;用户=电话>呼叫ID:2xTb9vxSit55XU7p8@a.example.comCSeq:1邀请联系人:<sip:alice@client.a.example.com;transport=tcp>代理授权:摘要用户名=“alice”,realm=“a.example.com”,nonce=“j1c3b0b01cf832da2c5ac51bb59a05b40”,不透明=“uri=”sip:+44-1234@ss1.a.example.com;用户=电话“,
response="a451358d46b55512863efe1dccaa2f42" Content-Type: application/sdp Content-Length: 154
response="a451358d46b55512863efe1dccaa2f42" Content-Type: application/sdp Content-Length: 154
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F2 100 Trying Proxy 1 -> A
F2 100正在尝试代理1->A
SIP/2.0 100 Trying Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+44-1234@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Content-Length: 0
SIP/2.0 100 Trying Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+44-1234@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Content-Length: 0
/* Proxy 1 uses a Location Service function to determine where B is located. Based upon location analysis the call is forwarded to NGW1. Client for A prepares to receive data on port 49172 from the network. */
/* Proxy 1 uses a Location Service function to determine where B is located. Based upon location analysis the call is forwarded to NGW1. Client for A prepares to receive data on port 49172 from the network. */
F3 INVITE Proxy 1 -> NGW 1
F3邀请代理1->NGW 1
INVITE sip:+44-1234@ngw1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+44-1234@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:alice@client.a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 154
INVITE sip:+44-1234@ngw1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+44-1234@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:alice@client.a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 154
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F4 100 Trying NGW 1 -> Proxy 1
F4 100正在尝试NGW 1->Proxy 1
SIP/2.0 100 Trying Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+44-1234@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Content-Length: 0
SIP/2.0 100 Trying Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+44-1234@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Content-Length: 0
F5 IAM NGW 1 -> Bob
F5 IAM NGW 1->Bob
IAM CdPN=44-1234,NPI=E.164,NOA=International CgPN=314-555-1111,NPI=E.164,NOA=National
IAM CdPN=44-1234,NPI=E.164,NOA=International CgPN=314-555-1111,NPI=E.164,NOA=National
F6 REL Bob -> NGW 1
F6 REL Bob->NGW 1
REL CauseValue=1 Unallocated number
REL CauseValue=1个未分配的数字
F7 RLC NGW 1 -> Bob
F7 RLC NGW 1->Bob
RLC
RLC
/* Network Gateway maps CauseValue=1 to the SIP message 404 Not Found */
/* Network Gateway maps CauseValue=1 to the SIP message 404 Not Found */
F8 404 Not Found NGW 1 -> Proxy 1
F8 404未找到NGW 1->代理1
SIP/2.0 404 Not Found Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+44-1234@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Error-Info: <sip:not-found-ann@ann.a.example.com> Content-Length: 0
SIP/2.0 404 Not Found Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+44-1234@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Error-Info: <sip:not-found-ann@ann.a.example.com> Content-Length: 0
F9 ACK Proxy 1 -> NGW 1
F9确认代理1->NGW 1
ACK sip:+44-1234@ngw1.a.example.com;user=phone SIP/2.0 Max-Forwards: 70 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+44-1234@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 ACK Content-Length: 0
ACK sip:+44-1234@ngw1.a.example.com;user=phone SIP/2.0 Max-Forwards: 70 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+44-1234@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 ACK Content-Length: 0
F10 404 Not Found Proxy 1 -> Alice
F10 404未找到代理1->Alice
SIP/2.0 404 Not Found Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+44-1234@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Error-Info: <sip:not-found-ann@ann.a.example.com> Content-Length: 0
SIP/2.0 404 Not Found Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+44-1234@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Error-Info: <sip:not-found-ann@ann.a.example.com> Content-Length: 0
F11 ACK Alice -> Proxy 1
F11确认->代理1
ACK sip:+44-1234@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 Max-Forwards: 70
ACK sip:+44-1234@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 Max-Forwards: 70
From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+44-1234@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 ACK Content-Length: 0
From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+44-1234@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 ACK Content-Length: 0
Alice Proxy 1 NGW 1 Switch B | | | | | INVITE F1 | | | |--------------->| | | | 100 F2 | | | |<---------------| INVITE F3 | | | |--------------->| | | | 100 F4 | | | |<---------------| IAM F5 | | | |--------------->| | | | ACM F6 | | | 183 F7 |<---------------| | 183 F8 |<---------------| | |<---------------| | | | | Timer on NGW 1 Expires | | | | | | | | REL F9 | | | |--------------->| | | | RLC F10 | | | 480 F11 |<---------------| | |<---------------| | | | ACK F12 | | | |--------------->| | | 480 F13 | | | |<---------------| | | | ACK F14 | | | |--------------->| | |
Alice Proxy 1 NGW 1 Switch B | | | | | INVITE F1 | | | |--------------->| | | | 100 F2 | | | |<---------------| INVITE F3 | | | |--------------->| | | | 100 F4 | | | |<---------------| IAM F5 | | | |--------------->| | | | ACM F6 | | | 183 F7 |<---------------| | 183 F8 |<---------------| | |<---------------| | | | | Timer on NGW 1 Expires | | | | | | | | REL F9 | | | |--------------->| | | | RLC F10 | | | 480 F11 |<---------------| | |<---------------| | | | ACK F12 | | | |--------------->| | | 480 F13 | | | |<---------------| | | | ACK F14 | | | |--------------->| | |
Alice calls Bob in the PSTN through a proxy server Proxy 1 and Network Gateway NGW 1. The call is released by the Gateway after a timer expires due to no ANswer Message (ANM) being received. The Gateway sends an ISUP Release REL message to the PSTN and a 480 Temporarily Unavailable response to Alice in the SIP network.
Alice通过代理服务器proxy 1和网络网关NGW 1在PSTN中呼叫Bob。由于没有收到应答消息(ANM),在计时器过期后,网关将释放呼叫。网关向PSTN发送ISUP REL消息,并向SIP网络中的Alice发送480暂时不可用的响应。
Message Details
消息详细信息
F1 INVITE Alice -> Proxy 1
F1邀请Alice->Proxy 1
INVITE sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 Max-Forwards: 70 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:alice@client.a.example.com;transport=tcp> Proxy-Authorization: Digest username="alice", realm="a.example.com", nonce="da2c5ac51bb59a05j1c3b0b01cf832b40", opaque="", uri="sip:+19725552222@ss1.a.example.com;user=phone", response="579cb9db184cdc25bf816f37cbc03c7d" Content-Type: application/sdp Content-Length: 154
INVITE sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 Max-Forwards: 70 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:alice@client.a.example.com;transport=tcp> Proxy-Authorization: Digest username="alice", realm="a.example.com", nonce="da2c5ac51bb59a05j1c3b0b01cf832b40", opaque="", uri="sip:+19725552222@ss1.a.example.com;user=phone", response="579cb9db184cdc25bf816f37cbc03c7d" Content-Type: application/sdp Content-Length: 154
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
/* Proxy 1 uses a Location Service function to determine where B is located. Based upon location analysis the call is forwarded to NGW 1. Client for A prepares to receive data on port 49172 from the network.*/
/* Proxy 1 uses a Location Service function to determine where B is located. Based upon location analysis the call is forwarded to NGW 1. Client for A prepares to receive data on port 49172 from the network.*/
F2 100 Trying Proxy 1 -> A
F2 100正在尝试代理1->A
SIP/2.0 100 Trying Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Content-Length: 0
SIP/2.0 100 Trying Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Content-Length: 0
F3 INVITE Proxy 1 -> NGW 1
F3邀请代理1->NGW 1
INVITE sip:+19725552222@ngw1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:alice@client.a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 154
INVITE sip:+19725552222@ngw1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:alice@client.a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 154
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=alice 2890844526 2890844526 IN IP4 client.a.example.com s=- c=IN IP4 client.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F4 100 Trying NGW 1 -> Proxy 1
F4 100正在尝试NGW 1->Proxy 1
SIP/2.0 100 Trying Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Content-Length: 0
SIP/2.0 100 Trying Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Content-Length: 0
F5 IAM NGW 1 -> Bob
F5 IAM NGW 1->Bob
IAM CdPN=972-555-2222,NPI=E.164,NOA=National CgPN=314-555-1111,NPI=E.164,NOA=National
IAM CdPN=972-555-2222,NPI=E.164,NOA=National CgPN=314-555-1111,NPI=E.164,NOA=National
F6 ACM Bob -> NGW 1
F6 ACM Bob->NGW 1
ACM
ACM
F7 183 Session Progress NGW 1 -> Proxy 1
F7 183会话进度NGW 1->Proxy 1
SIP/2.0 183 Session Progress Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 146
SIP/2.0 183 Session Progress Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 146
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F8 183 Session Progress Proxy 1 -> Alice
F8 183会话进度代理1->Alice
SIP/2.0 183 Session Progress Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 146
SIP/2.0 183 Session Progress Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 Record-Route: <sip:ss1.a.example.com;lr> From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 146
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
/* After NGW 1's timer expires, Network Gateway sends REL to ISUP network and 480 to SIP network */
/* After NGW 1's timer expires, Network Gateway sends REL to ISUP network and 480 to SIP network */
F9 REL NGW 1 -> Bob
F9 REL NGW 1->Bob
REL
雷尔
CauseCode=18 No user responding
CauseCode=18无用户响应
F10 RLC Bob -> NGW 1
F10 RLC Bob->NGW 1
RLC
RLC
F11 480 Temporarily Unavailable NGW 1 -> Proxy 1
F11 480暂时不可用NGW 1->Proxy 1
SIP/2.0 480 Temporarily Unavailable Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Error-Info: <sip:temp-unavail-ann@ann.a.example.com> Content-Length: 0
SIP/2.0 480 Temporarily Unavailable Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Error-Info: <sip:temp-unavail-ann@ann.a.example.com> Content-Length: 0
F12 ACK Proxy 1 -> NGW 1
F12确认代理1->NGW 1
ACK sip:ngw1@a.example.com SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Max-Forwards: 70 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl
ACK sip:ngw1@a.example.com SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Max-Forwards: 70 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl
To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 ACK Content-Length: 0
To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 ACK Content-Length: 0
F13 480 Temporarily Unavailable F13 Proxy 1 -> Alice
F13 480暂时不可用F13代理1->Alice
SIP/2.0 480 Temporarily Unavailable Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Error-Info: <sip:temp-unavail-ann@ann.a.example.com> Content-Length: 0
SIP/2.0 480 Temporarily Unavailable Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 ;received=192.0.2.101 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 INVITE Error-Info: <sip:temp-unavail-ann@ann.a.example.com> Content-Length: 0
F14 ACK Alice -> Proxy 1
F14确认->代理1
ACK sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Max-Forwards: 70 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 ACK Content-Length: 0
ACK sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Max-Forwards: 70 Via: SIP/2.0/TCP client.a.example.com:5060;branch=z9hG4bK74bf9 From: Alice <sip:+13145551111@ss1.a.example.com;user=phone> ;tag=9fxced76sl To: Bob <sip:+19725552222@ss1.a.example.com;user=phone> ;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@a.example.com CSeq: 1 ACK Content-Length: 0
In these scenarios, Alice is placing calls from the PSTN to Bob in a SIP network. Alice's telephone switch signals to a Network Gateway (NGW 1) using ANSI ISUP.
在这些场景中,Alice在SIP网络中从PSTN呼叫Bob。Alice的电话交换机使用ANSI ISUP向网络网关(NGW1)发送信号。
Since the called SIP User Agent does not send in-band signaling information, no early media path needs to be established on the IP side. As a result, the 183 Session Progress response is not used. However, NGW 1 will establish a one way speech path prior to call completion, and generate ringing for the PSTN caller. Any tones or
由于被呼叫的SIP用户代理不发送带内信令信息,因此不需要在IP侧建立早期媒体路径。因此,未使用183会话进度响应。然而,ngw1将在呼叫完成之前建立单向语音路径,并为PSTN呼叫者生成振铃。有音调或声音吗
recordings are generated by NGW 1 and played in this speech path. When the call completes successfully, NGW 1 bridges the PSTN speech path with the IP media path.
录音由NGW 1生成并在此语音路径中播放。当呼叫成功完成时,NGW 1将PSTN语音路径与IP媒体路径连接起来。
To reduce the number of messages, only a single proxy server is shown in these flows, which means that the a.example.com proxy server has access to the b.example.com location service.
为了减少消息数量,这些流中只显示一个代理服务器,这意味着a.example.com代理服务器可以访问b.example.com位置服务。
Switch A NGW 1 Proxy 1 Bob | | | | | IAM F1 | | | |--------------->| INVITE F2 | | | |--------------->| INVITE F3 | | | 100 F4 |--------------->| | |<---------------| | | | | 180 F5 | | | 180 F6 |<---------------| | ACM F7 |<---------------| | |<---------------| | | | One Way Voice | | | |<===============| | | | Ringing Tone | | 200 F8 | |<===============| 200 F9 |<---------------| | |<---------------| | | | ACK F10 | | | ANM F12 |--------------->| ACK F11 | |<---------------| |--------------->| | Both Way Voice | Both Way RTP Media | |<==============>|<===============================>| | REL F13 | | | |--------------->| | | | RLC F14 | | | |<---------------| BYE F15 | | | |--------------->| BYE F16 | | | |--------------->| | | | 200 F17 | | | 200 F18 |<---------------| | |<---------------| | | | | |
Switch A NGW 1 Proxy 1 Bob | | | | | IAM F1 | | | |--------------->| INVITE F2 | | | |--------------->| INVITE F3 | | | 100 F4 |--------------->| | |<---------------| | | | | 180 F5 | | | 180 F6 |<---------------| | ACM F7 |<---------------| | |<---------------| | | | One Way Voice | | | |<===============| | | | Ringing Tone | | 200 F8 | |<===============| 200 F9 |<---------------| | |<---------------| | | | ACK F10 | | | ANM F12 |--------------->| ACK F11 | |<---------------| |--------------->| | Both Way Voice | Both Way RTP Media | |<==============>|<===============================>| | REL F13 | | | |--------------->| | | | RLC F14 | | | |<---------------| BYE F15 | | | |--------------->| BYE F16 | | | |--------------->| | | | 200 F17 | | | 200 F18 |<---------------| | |<---------------| | | | | |
In this scenario, Alice from the PSTN calls Bob through a Network Gateway NGW1 and Proxy Server Proxy 1. When Bob answers the call, the media path is setup end-to-end. The call terminates when Alice hangs up the call, with Alice's telephone switch sending an ISUP RELease message that is mapped to a BYE by NGW 1.
在这个场景中,来自PSTN的Alice通过网络网关NGW1和代理服务器Proxy 1呼叫Bob。当Bob接听电话时,媒体路径是端到端设置的。当Alice挂断电话时,呼叫终止,Alice的电话交换机发送一条ISUP释放消息,该消息由NGW 1映射到BYE。
Message Details
消息详细信息
F1 IAM Alice -> NGW 1
F1 IAM Alice->NGW 1
IAM CgPN=314-555-1111,NPI=E.164,NOA=National CdPN=972-555-2222,NPI=E.164,NOA=National
IAM CgPN=314-555-1111,NPI=E.164,NOA=National CdPN=972-555-2222,NPI=E.164,NOA=National
F2 INVITE Alice -> Proxy 1
F2邀请Alice->Proxy 1
INVITE sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com> Content-Type: application/sdp Content-Length: 146
INVITE sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com> Content-Type: application/sdp Content-Length: 146
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
/* Proxy 1 uses a Location Service function to determine where B is located. Based upon location analysis the call is forwarded to NGW 1. NGW 1 prepares to receive data on port 3456 from Alice.*/
/* Proxy 1 uses a Location Service function to determine where B is located. Based upon location analysis the call is forwarded to NGW 1. NGW 1 prepares to receive data on port 3456 from Alice.*/
F3 INVITE Proxy 1 -> Bob
F3邀请代理1->Bob
INVITE sip:bob@client.b.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com> Content-Type: application/sdp Content-Length: 146
INVITE sip:bob@client.b.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com> Content-Type: application/sdp Content-Length: 146
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F4 100 Trying Bob -> Proxy 1
F4 100正在尝试Bob->Proxy 1
SIP/2.0 100 Trying Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Content-Length: 0
SIP/2.0 100 Trying Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Content-Length: 0
F5 180 Ringing Bob -> Proxy 1
F5 180振铃鲍勃->代理1
SIP/2.0 180 Ringing Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals
SIP/2.0 180 Ringing Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals
To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:bob@client.b.example.com> Content-Length: 0
To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:bob@client.b.example.com> Content-Length: 0
F6 180 Ringing Proxy 1 -> NGW 1
F6 180振铃代理服务器1->NGW 1
SIP/2.0 180 Ringing Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:bob@client.b.example.com> Content-Length: 0
SIP/2.0 180 Ringing Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:bob@client.b.example.com> Content-Length: 0
F7 ACM NGW 1 -> Alice
F7 ACM NGW 1->Alice
ACM
ACM
F8 200 OK Bob -> Proxy 1
F8 200 OK Bob->Proxy 1
SIP/2.0 200 OK Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com Contact: <sip:bob@client.b.example.com> CSeq: 1 INVITE Content-Type: application/sdp Content-Length: 151
SIP/2.0 200 OK Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com Contact: <sip:bob@client.b.example.com> CSeq: 1 INVITE Content-Type: application/sdp Content-Length: 151
v=0 o=bob 2890844527 2890844527 IN IP4 client.b.example.com s=- c=IN IP4 client.b.example.com t=0 0 m=audio 3456 RTP/AVP 0
v=0 o=IP4 client.b.example.com中的bob 2890844527 2890844527 s=-c=IP4 client.b.example.com中的t=0 0 m=audio 3456 RTP/AVP 0
a=rtpmap:0 PCMU/8000
a=rtpmap:0 PCMU/8000
F9 200 OK Proxy 1 -> NGW 1
F9 200正常代理1->NGW 1
SIP/2.0 200 OK Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:bob@client.b.example.com> Content-Type: application/sdp Content-Length: 151
SIP/2.0 200 OK Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:bob@client.b.example.com> Content-Type: application/sdp Content-Length: 151
v=0 o=bob 2890844527 2890844527 IN IP4 client.b.example.com s=- c=IN IP4 client.b.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=bob 2890844527 2890844527 IN IP4 client.b.example.com s=- c=IN IP4 client.b.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F10 ACK NGW 1 -> Proxy 1
F10确认NGW 1->代理1
ACK sip:bob@client.b.example.com SIP/2.0 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 ACK Content-Length: 0
ACK sip:bob@client.b.example.com SIP/2.0 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 ACK Content-Length: 0
F11 ACK Proxy 1 -> Bob
F11确认代理1->Bob
ACK sip:bob@client.b.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Max-Forwards: 69 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159
ACK sip:bob@client.b.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Max-Forwards: 69 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159
Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 ACK Content-Length: 0
呼叫ID:4Fde34wkd11wsGFDs3@ngw1.a.example.comCSeq:1确认内容长度:0
F12 ANM Bob -> NGW 1
F12 ANM Bob->NGW 1
ANM
安姆
/* RTP streams are established between A and B (via the GW) */
/* RTP streams are established between A and B (via the GW) */
/* Alice Hangs Up with Bob. */
/* Alice Hangs Up with Bob. */
F13 REL Alice -> NGW 1
F13 REL Alice->NGW 1
REL CauseCode=16 Normal
REL CauseCode=16正常值
F14 RLC NGW 1 -> Alice
F14 RLC NGW 1->Alice
RLC
RLC
F15 BYE NGW 1-> Proxy 1
F15再见NGW 1->Proxy 1
BYE sip:bob@client.b.example.com SIP/2.0 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 2 BYE Content-Length: 0
BYE sip:bob@client.b.example.com SIP/2.0 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 2 BYE Content-Length: 0
F16 BYE Proxy 1 -> Bob
F16拜代理1->Bob
BYE sip:bob@client.b.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Max-Forwards: 69 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com
BYE sip:bob@client.b.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Max-Forwards: 69 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com
CSeq: 2 BYE Content-Length: 0
CSeq:2字节内容长度:0
F17 200 OK Bob -> Proxy 1
F17 200 OK Bob->Proxy 1
SIP/2.0 200 OK Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 2 BYE Content-Length: 0
SIP/2.0 200 OK Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 2 BYE Content-Length: 0
F18 200 OK Proxy 1 -> NGW 1
F18 200正常代理1->NGW 1
SIP/2.0 200 OK Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 2 BYE Content-Length: 0
SIP/2.0 200 OK Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 2 BYE Content-Length: 0
Switch A NGW 1 Proxy 1 Bob | | | | | IAM F1 | | | |--------------->| INVITE F2 | | | |--------------->| INVITE F3 | | | 100 F4 |--------------->| | |<---------------| | | | | 200 F5 | | | 200 F6 |<---------------| | |<---------------| | | | ACK F7 | | | ANM F9 |--------------->| ACK F8 | |<---------------| |--------------->| | Both Way Voice | Both Way RTP Media | |<==============>|<===============================>| | REL F10 | | | |--------------->| | | | RLC F11 | | | |<---------------| BYE F12 | | | |--------------->| BYE F13 | | | |--------------->| | | | 200 F14 | | | 200 F15 |<---------------| | |<---------------| | | | | |
Switch A NGW 1 Proxy 1 Bob | | | | | IAM F1 | | | |--------------->| INVITE F2 | | | |--------------->| INVITE F3 | | | 100 F4 |--------------->| | |<---------------| | | | | 200 F5 | | | 200 F6 |<---------------| | |<---------------| | | | ACK F7 | | | ANM F9 |--------------->| ACK F8 | |<---------------| |--------------->| | Both Way Voice | Both Way RTP Media | |<==============>|<===============================>| | REL F10 | | | |--------------->| | | | RLC F11 | | | |<---------------| BYE F12 | | | |--------------->| BYE F13 | | | |--------------->| | | | 200 F14 | | | 200 F15 |<---------------| | |<---------------| | | | | |
This "fast answer" scenario is similar to 3.1., except that Bob immediately accepts the call, sending a 200 OK (F5) without sending a 180 Ringing response. The Gateway then sends an Answer Message (ANM) without sending an Address Complete Message (ACM). Note that for ETSI and some other ISUP variants, a CONnect message (CON) would be sent instead of the ANM.
此“快速应答”场景与3.1类似,不同之处在于Bob立即接受呼叫,发送200 OK(F5),而不发送180振铃响应。然后,网关发送应答消息(ANM),而不发送地址完整消息(ACM)。请注意,对于ETSI和其他一些ISUP变体,将发送连接消息(CON),而不是ANM。
Message Details
消息详细信息
F1 IAM Alice -> NGW 1
F1 IAM Alice->NGW 1
IAM CgPN=314-555-1111,NPI=E.164,NOA=National CdPN=972-555-2222,NPI=E.164,NOA=National
IAM CgPN=314-555-1111,NPI=E.164,NOA=National CdPN=972-555-2222,NPI=E.164,NOA=National
F2 INVITE NGW 1 -> Proxy 1
F2邀请NGW 1->代理1
INVITE sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2
INVITE sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2
Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 146
Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 146
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
/* Proxy 1 uses a Location Service function to determine where B is located. Based upon location analysis the call is forwarded to User B. Bob prepares to receive data on port 3456 from Alice.*/
/* Proxy 1 uses a Location Service function to determine where B is located. Based upon location analysis the call is forwarded to User B. Bob prepares to receive data on port 3456 from Alice.*/
F3 INVITE Proxy 1 -> Bob
F3邀请代理1->Bob
INVITE bob@b.example.com SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 146
INVITE bob@b.example.com SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 146
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F4 100 Trying Proxy 1 -> NGW 1
F4 100正在尝试代理1->NGW 1
SIP/2.0 100 Trying Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.201 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Content-Length: 0
SIP/2.0 100 Trying Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.201 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Content-Length: 0
F5 200 OK Bob -> Proxy 1
F5 200 OK Bob->Proxy 1
SIP/2.0 200 OK Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:bob@client.b.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 151
SIP/2.0 200 OK Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:bob@client.b.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 151
v=0 o=bob 2890844527 2890844527 IN IP4 client.b.example.com s=- c=IN IP4 client.b.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=bob 2890844527 2890844527 IN IP4 client.b.example.com s=- c=IN IP4 client.b.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F6 200 OK Proxy 1 -> NGW 1
F6 200正常代理1->NGW 1
SIP/2.0 200 OK Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:bob@client.b.example.com;transport=tcp>
SIP/2.0 200 OK Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:bob@client.b.example.com;transport=tcp>
Content-Type: application/sdp Content-Length: 151
Content-Type: application/sdp Content-Length: 151
v=0 o=bob 2890844527 2890844527 IN IP4 client.b.example.com s=- c=IN IP4 client.b.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=bob 2890844527 2890844527 IN IP4 client.b.example.com s=- c=IN IP4 client.b.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F7 ACK NGW 1 -> Proxy 1
F7确认NGW 1->代理1
ACK bob@client.b.example.com SIP/2.0 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 ACK Content-Length: 0
ACK bob@client.b.example.com SIP/2.0 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 ACK Content-Length: 0
F8 ACK Proxy 1 -> Bob
F8确认代理1->Bob
ACK bob@client.b.example.com SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=130.131.132.14 Max-Forwards: 69 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 ACK Content-Length: 0
ACK bob@client.b.example.com SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=130.131.132.14 Max-Forwards: 69 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 ACK Content-Length: 0
F9 ANM Bob -> NGW 1
F9 ANM Bob->NGW 1
ANM
安姆
/* RTP streams are established between A and B (via the GW) */
/* RTP streams are established between A and B (via the GW) */
/* Alice Hangs Up with Bob. */
/* Alice Hangs Up with Bob. */
F10 REL ser Alice -> NGW 1
F10 REL ser Alice->NGW 1
REL CauseCode=16 Normal
REL CauseCode=16正常值
F11 RLC NGW 1 -> Alice
F11 RLC NGW 1->Alice
RLC
RLC
F12 BYE NGW 1 -> Proxy 1
F12再见NGW 1->Proxy 1
BYE sip:bob@client.b.example.com SIP/2.0 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 2 BYE Content-Length: 0
BYE sip:bob@client.b.example.com SIP/2.0 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 2 BYE Content-Length: 0
F13 BYE Proxy 1 -> Bob
F13拜代理1->Bob
BYE sip:bob@client.b.example.com SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Max-Forwards: 69 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 2 BYE Content-Length: 0
BYE sip:bob@client.b.example.com SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Max-Forwards: 69 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 2 BYE Content-Length: 0
F14 200 OK Bob -> Proxy 1
F14 200 OK Bob->Proxy 1
SIP/2.0 200 OK Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com
SIP/2.0 200 OK Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com
CSeq: 2 BYE Content-Length: 0
CSeq:2字节内容长度:0
F15 200 OK Proxy 1 -> NGW 1
F15 200正常代理1->NGW 1
SIP/2.0 200 OK Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 2 BYE Content-Length: 0
SIP/2.0 200 OK Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 2 BYE Content-Length: 0
PBX A GW 1 Proxy 1 Bob | | | | | Seizure | | | |--------------->| | | | Wink | | | |<---------------| | | | MF Digits F1 | | | |--------------->| INVITE F2 | | | |--------------->| INVITE F3 | | | 100 F4 |--------------->| | |<---------------| | | | | 180 F5 | | | 180 F6 |<---------------| | |<---------------| | | One Way Voice | | | |<===============| | | | Ringing Tone | | 200 F7 | |<===============| 200 F8 |<---------------| | |<---------------| | | | ACK F9 | | | Seizure |--------------->| ACK F10 | |<---------------| |--------------->| | Both Way Voice | Both Way RTP Media | |<==============>|<===============================>| | Seizure Removal| | | |--------------->| | | | Seizure Removal| | | |<---------------| BYE F11 | | | |--------------->| BYE F12 | | | |--------------->| | | | 200 F13 | | | 200 F14 |<---------------| | |<---------------| | | | | |
PBX A GW 1 Proxy 1 Bob | | | | | Seizure | | | |--------------->| | | | Wink | | | |<---------------| | | | MF Digits F1 | | | |--------------->| INVITE F2 | | | |--------------->| INVITE F3 | | | 100 F4 |--------------->| | |<---------------| | | | | 180 F5 | | | 180 F6 |<---------------| | |<---------------| | | One Way Voice | | | |<===============| | | | Ringing Tone | | 200 F7 | |<===============| 200 F8 |<---------------| | |<---------------| | | | ACK F9 | | | Seizure |--------------->| ACK F10 | |<---------------| |--------------->| | Both Way Voice | Both Way RTP Media | |<==============>|<===============================>| | Seizure Removal| | | |--------------->| | | | Seizure Removal| | | |<---------------| BYE F11 | | | |--------------->| BYE F12 | | | |--------------->| | | | 200 F13 | | | 200 F14 |<---------------| | |<---------------| | | | | |
In this scenario, Alice dials from PBX A to Bob through GW 1 and Proxy 1. This is an example of a call that appears destined for the PSTN but is instead routed to a SIP Client.
在这个场景中,Alice通过GW 1和代理1从PBX A拨号到Bob。这是一个以PSTN为目的地但路由到SIP客户端的呼叫示例。
Signaling between PBX A and GW 1 is Feature Group B (FGB) circuit associated signaling, in-band Mult-Frequency (MF) outpulsing. After the receipt of the 180 Ringing from Bob, GW 1 generates a ringing tone for Alice.
PBX A和GW 1之间的信令是功能组B(FGB)电路相关信令,带内多频(MF)输出。收到Bob发出的180铃声后,GW 1为Alice生成铃声。
Bob answers the call by sending a 200 OK. The call terminates when Alice hangs up, causing GW1 to send a BYE.
Bob通过发送200 OK来接听电话。当Alice挂断电话时,呼叫终止,导致GW1发送“再见”。
The Gateway can only identify the trunk group that the call came in on; it cannot identify the individual line on PBX A that is placing the call. The SIP URI used to identify the caller is shown in these flows as sip:551313@gw1.a.example.com.
网关只能识别呼叫进入的中继组;它无法识别PBX A上正在进行呼叫的单个线路。用于标识调用方的SIP URI在这些流中显示为SIP:551313@gw1.a.example.com.
Message Details
消息详细信息
PBX Alice -> GW 1
程控交换机Alice->GW 1
Seizure
没收
GW 1 -> PBX A
GW 1->PBX A
Wink
眨眼
F1 MF Digits PBX Alice -> GW 1
F1 MF数字PBX Alice->GW 1
KP 1 972 555 2222 ST
KP 19725552222街
F2 INVITE GW 1 -> Proxy 1
F2邀请GW 1->代理1
INVITE sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 Max-Forwards: 70 From: <sip:551313@gw1.a.example.com;user=phone>;tag=jwdkallkzm To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com CSeq: 1 INVITE Contact: <sip:551313@gw1.a.example.com;user=phone> Content-Type: application/sdp Content-Length: 146
INVITE sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 Max-Forwards: 70 From: <sip:551313@gw1.a.example.com;user=phone>;tag=jwdkallkzm To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com CSeq: 1 INVITE Contact: <sip:551313@gw1.a.example.com;user=phone> Content-Type: application/sdp Content-Length: 146
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 gw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 gw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
/* Proxy 1 uses a Location Service function to determine where the phone number +19725552222 is located. Based upon location analysis the call is forwarded to SIP Bob. */
/* Proxy 1 uses a Location Service function to determine where the phone number +19725552222 is located. Based upon location analysis the call is forwarded to SIP Bob. */
F3 INVITE Proxy 1 -> Bob
F3邀请代理1->Bob
INVITE sip:bob@client.b.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com;user=phone>;tag=jwdkallkzm To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com CSeq: 1 INVITE Contact: <sip:551313@gw1.a.example.com;user=phone> Content-Type: application/sdp Content-Length: 146
INVITE sip:bob@client.b.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com;user=phone>;tag=jwdkallkzm To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com CSeq: 1 INVITE Contact: <sip:551313@gw1.a.example.com;user=phone> Content-Type: application/sdp Content-Length: 146
v=0 o=GW 2890844527 2890844527 IN IP4 gw1.a.example.com s=- c=IN IP4 gw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 gw1.a.example.com s=- c=IN IP4 gw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F4 100 Trying Proxy 1 -> GW 1
F4 100正在尝试代理服务器1->GW 1
SIP/2.0 100 Trying Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.201 From: <sip:551313@gw1.a.example.com;user=phone>;tag=jwdkallkzm To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com CSeq: 1 INVITE Content-Length: 0
SIP/2.0 100 Trying Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.201 From: <sip:551313@gw1.a.example.com;user=phone>;tag=jwdkallkzm To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com CSeq: 1 INVITE Content-Length: 0
F5 180 Ringing Bob -> Proxy 1
F5 180振铃鲍勃->代理1
SIP/2.0 180 Ringing Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.201 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com;user=phone>;tag=jwdkallkzm To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com
SIP/2.0 180 Ringing Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.201 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com;user=phone>;tag=jwdkallkzm To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com
CSeq: 1 INVITE Contact: <sip:bob@client.b.example.com> Content-Length: 0
CSeq: 1 INVITE Contact: <sip:bob@client.b.example.com> Content-Length: 0
F6 180 Ringing Proxy 1 -> GW 1
F6 180振铃代理1->GW 1
SIP/2.0 180 Ringing Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com;user=phone>;tag=jwdkallkzm To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com CSeq: 1 INVITE Contact: <sip:bob@client.b.example.com> Content-Length: 0
SIP/2.0 180 Ringing Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com;user=phone>;tag=jwdkallkzm To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com CSeq: 1 INVITE Contact: <sip:bob@client.b.example.com> Content-Length: 0
/* One way Voice path is established between GW and the PBX for ringing. */
/* One way Voice path is established between GW and the PBX for ringing. */
F7 200 OK Bob -> Proxy 1
F7 200 OK Bob->Proxy 1
SIP/2.0 200 OK Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com;user=phone>;tag=jwdkallkzm To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com Contact: <sip:bob@client.b.example.com> CSeq: 1 INVITE Content-Type: application/sdp Content-Length: 151
SIP/2.0 200 OK Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com;user=phone>;tag=jwdkallkzm To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com Contact: <sip:bob@client.b.example.com> CSeq: 1 INVITE Content-Type: application/sdp Content-Length: 151
v=0 o=bob 2890844527 2890844527 IN IP4 client.b.example.com s=- c=IN IP4 client.b.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=bob 2890844527 2890844527 IN IP4 client.b.example.com s=- c=IN IP4 client.b.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F8 200 OK Proxy 1 -> GW 1
F8 200 OK Proxy 1->GW 1
SIP/2.0 200 OK Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com;user=phone>;tag=jwdkallkzm To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com CSeq: 1 INVITE Contact: <sip:bob@client.b.example.com> Content-Type: application/sdp Content-Length: 151
SIP/2.0 200 OK Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com;user=phone>;tag=jwdkallkzm To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com CSeq: 1 INVITE Contact: <sip:bob@client.b.example.com> Content-Type: application/sdp Content-Length: 151
v=0 o=bob 2890844527 2890844527 IN IP4 client.b.example.com s=- c=IN IP4 client.b.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=bob 2890844527 2890844527 IN IP4 client.b.example.com s=- c=IN IP4 client.b.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F9 ACK GW 1 -> Proxy 1
F9确认GW 1->代理服务器1
ACK sip:bob@client.b.example.com SIP/2.0 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 Max-Forwards: 70 Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com;user=phone>;tag=jwdkallkzm To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com CSeq: 1 ACK Content-Length: 0
ACK sip:bob@client.b.example.com SIP/2.0 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 Max-Forwards: 70 Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com;user=phone>;tag=jwdkallkzm To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com CSeq: 1 ACK Content-Length: 0
F10 ACK Proxy 1 -> Bob
F10确认代理1->Bob
ACK sip:bob@client.b.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 Max-Forwards: 69 From: <sip:551313@gw1.a.example.com;user=phone>;tag=jwdkallkzm To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 ACK Content-Length: 0
ACK sip:bob@client.b.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 Max-Forwards: 69 From: <sip:551313@gw1.a.example.com;user=phone>;tag=jwdkallkzm To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 ACK Content-Length: 0
/* RTP streams are established between A and B (via the GW) */
/* RTP streams are established between A and B (via the GW) */
/* Alice Hangs Up with Bob. */
/* Alice Hangs Up with Bob. */
F11 BYE GW 1 -> Proxy 1
F11 BYE GW 1->代理服务器1
BYE sip:bob@client.b.example.com SIP/2.0 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 Max-Forwards: 70 Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com;user=phone>;tag=jwdkallkzm To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com CSeq: 2 BYE Content-Length: 0
BYE sip:bob@client.b.example.com SIP/2.0 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 Max-Forwards: 70 Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com;user=phone>;tag=jwdkallkzm To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com CSeq: 2 BYE Content-Length: 0
F12 BYE Proxy 1 -> Bob
F12拜代理1->Bob
BYE sip:bob@client.b.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 Max-Forwards: 69 To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com CSeq: 2 BYE Content-Length: 0
BYE sip:bob@client.b.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 Max-Forwards: 69 To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com CSeq: 2 BYE Content-Length: 0
F13 200 OK Bob -> Proxy 1
F13 200 OK Bob->Proxy 1
SIP/2.0 200 OK Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 From: <sip:551313@gw1.a.example.com;user=phone>;tag=jwdkallkzm To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 2 BYE Content-Length: 0
SIP/2.0 200 OK Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 From: <sip:551313@gw1.a.example.com;user=phone>;tag=jwdkallkzm To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 2 BYE Content-Length: 0
F14 200 OK Proxy 1 -> GW 1
F14 200正常代理1->GW 1
SIP/2.0 200 OK Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 From: <sip:551313@gw1.a.example.com;user=phone>;tag=jwdkallkzm To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com CSeq: 2 BYE Content-Length: 0
SIP/2.0 200 OK Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 From: <sip:551313@gw1.a.example.com;user=phone>;tag=jwdkallkzm To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com CSeq: 2 BYE Content-Length: 0
Switch A GW 1 Proxy 1 Bob | | | | | IAM F1 | | | |--------------->| INVITE F2 | | | |--------------->| | | | 604 F3 | | | |<---------------| | | | ACK F4 | | | |--------------->| | | REL F5 | | | |<---------------| | | | RLC F6 | | | |--------------->| | | | | | |
Switch A GW 1 Proxy 1 Bob | | | | | IAM F1 | | | |--------------->| INVITE F2 | | | |--------------->| | | | 604 F3 | | | |<---------------| | | | ACK F4 | | | |--------------->| | | REL F5 | | | |<---------------| | | | RLC F6 | | | |--------------->| | | | | | |
Alice attempts to place a call through Gateway GW 1 and Proxy 1, which is unable to find any routing for the number. The call is rejected by Proxy 1 with a REL message containing a specific Cause value mapped by the gateway based on the SIP error.
Alice试图通过网关GW 1和代理1拨打电话,但无法找到该号码的任何路由。该呼叫被代理1拒绝,其中包含一条REL消息,该消息包含网关基于SIP错误映射的特定原因值。
Message Details
消息详细信息
F1 IAM Alice -> GW 1
F1 IAM Alice->GW 1
IAM CgPN=314-555-1111,NPI=E.164,NOA=National CdPN=972-555-9999,NPI=E.164,NOA=National
IAM CgPN=314-555-1111,NPI=E.164,NOA=National CdPN=972-555-9999,NPI=E.164,NOA=National
F2 INVITE Alice -> Proxy 1
F2邀请Alice->Proxy 1
INVITE sip:+1972559999@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 From: <sip:+13145551111@gw1.a.example.com;user=phone>;tag=076342s
INVITE sip:+1972559999@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 From: <sip:+13145551111@gw1.a.example.com;user=phone>;tag=076342s
To: <sip:+1972559999@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com CSeq: 1 INVITE Contact: <sip:+13145551111@gw1.a.example.com;user=phone;transport=tcp> Content-Type: application/sdp Content-Length: 144
To: <sip:+1972559999@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com CSeq: 1 INVITE Contact: <sip:+13145551111@gw1.a.example.com;user=phone;transport=tcp> Content-Type: application/sdp Content-Length: 144
v=0 o=GW 2890844527 2890844527 IN IP4 gw1.a.example.com s=- c=IN IP4 gw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 gw1.a.example.com s=- c=IN IP4 gw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
/* Proxy 1 uses a Location Service to find a route to +1-972-555- 9999. A route is not found, so Proxy 1 rejects the call. */
/* Proxy 1 uses a Location Service to find a route to +1-972-555- 9999. A route is not found, so Proxy 1 rejects the call. */
F3 604 Does Not Exist Anywhere Proxy 1 -> GW 1
F3 604不存在于代理服务器1->GW 1的任何位置
SIP/2.0 604 Does Not Exist Anywhere Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.201 From: <sip:+13145551111@gw1.a.example.com;user=phone>;tag=076342s To: <sip:+1972559999@ss1.a.example.com;user=phone>;tag=6a34d410 Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com CSeq: 1 INVITE Error-Info: <sip:does-not-exist@ann.a.example.com> Content-Length: 0
SIP/2.0 604 Does Not Exist Anywhere Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.201 From: <sip:+13145551111@gw1.a.example.com;user=phone>;tag=076342s To: <sip:+1972559999@ss1.a.example.com;user=phone>;tag=6a34d410 Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com CSeq: 1 INVITE Error-Info: <sip:does-not-exist@ann.a.example.com> Content-Length: 0
F4 ACK GW 1 -> Proxy 1
F4确认GW 1->代理1
ACK sip:+1972559999@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 From: <sip:+13145551111@gw1.a.example.com;user=phone>;tag=076342s To: <sip:+1972559999@ss1.a.example.com;user=phone>;tag=6a34d410 Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com CSeq: 1 ACK Content-Length: 0
ACK sip:+1972559999@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 From: <sip:+13145551111@gw1.a.example.com;user=phone>;tag=076342s To: <sip:+1972559999@ss1.a.example.com;user=phone>;tag=6a34d410 Call-ID: 4Fde34wkd11wsGFDs3@gw1.a.example.com CSeq: 1 ACK Content-Length: 0
F5 REL GW 1 -> Alice
F5相对GW 1->Alice
REL CauseCode=1
REL CauseCode=1
F6 RLC Alice -> GW 1
F6 RLC Alice->GW 1
RLC
RLC
Switch A NGW 1 Proxy 1 Bob | | | | | IAM F1 | | | |--------------->| INVITE F2 | | | |--------------->| INVITE F3 | | | 100 F4 |--------------->| | |<---------------| | | | | 600 F5 | | | |<---------------| | | | ACK F6 | | | 600 F7 |--------------->| | |<---------------| | | | ACK F8 | | | |--------------->| | | REL(17) F9 | | | |<---------------| | | | RLC F10 | | | |<-------------->| | | | | | |
Switch A NGW 1 Proxy 1 Bob | | | | | IAM F1 | | | |--------------->| INVITE F2 | | | |--------------->| INVITE F3 | | | 100 F4 |--------------->| | |<---------------| | | | | 600 F5 | | | |<---------------| | | | ACK F6 | | | 600 F7 |--------------->| | |<---------------| | | | ACK F8 | | | |--------------->| | | REL(17) F9 | | | |<---------------| | | | RLC F10 | | | |<-------------->| | | | | | |
In this scenario, Alice calls Bob through Network Gateway NGW 1 and Proxy 1. The call is routed to Bob by Proxy 1. The call is rejected by Bob who sends a 600 Busy Everywhere response. The Gateway sends a REL message containing a specific Cause value mapped by the gateway based on the SIP error.
在这个场景中,Alice通过网络网关NGW1和代理1调用Bob。呼叫由代理1路由到Bob。Bob拒绝了呼叫,他发送了600个Busy Everywhere响应。网关发送一条REL消息,其中包含网关基于SIP错误映射的特定原因值。
Since no interworking is indicated in the IAM (F1), the busy tone is generated locally by Alice's telephone switch. In some scenarios, the busy signal is generated by the Gateway since interworking is indicated. For more discussion on interworking, refer to [4].
由于IAM(F1)中未指示互通,因此Alice的电话交换机会在本地生成忙音。在某些情况下,由于指示互通,因此忙信号由网关生成。有关互通的更多讨论,请参阅[4]。
Message Details
消息详细信息
F1 IAM Alice -> NGW 1
F1 IAM Alice->NGW 1
IAM CgPN=314-555-1111,NPI=E.164,NOA=National CdPN=972-555-2222,NPI=E.164,NOA=National
IAM CgPN=314-555-1111,NPI=E.164,NOA=National CdPN=972-555-2222,NPI=E.164,NOA=National
F2 INVITE Alice -> Proxy 1
F2邀请Alice->Proxy 1
INVITE sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 144
INVITE sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 144
v=0 o=GW 2890844527 2890844527 IN IP4 gw1.a.example.com s=- c=IN IP4 gw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 gw1.a.example.com s=- c=IN IP4 gw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
/* Proxy 1 uses a Location Service function to determine a route for +19725552222. The call is then forwarded to Bob. */
/* Proxy 1 uses a Location Service function to determine a route for +19725552222. The call is then forwarded to Bob. */
F3 INVITE F3 Proxy 1 -> Bob
F3邀请F3代理1->Bob
INVITE bob@b.example.com SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.201 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp
INVITE bob@b.example.com SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.201 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp
Content-Length: 144
内容长度:144
v=0 o=GW 2890844527 2890844527 IN IP4 gw1.a.example.com s=- c=IN IP4 gw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 gw1.a.example.com s=- c=IN IP4 gw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F4 100 Trying Proxy 1 -> NGW 1
F4 100正在尝试代理1->NGW 1
SIP/2.0 100 Trying Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.201 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Content-Length: 0
SIP/2.0 100 Trying Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.201 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Content-Length: 0
F5 600 Busy Everywhere Bob -> Proxy 1
F5 600忙无处不在鲍勃->代理1
SIP/2.0 600 Busy Everywhere Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.201 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Content-Length: 0
SIP/2.0 600 Busy Everywhere Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.201 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Content-Length: 0
F6 ACK Proxy 1 -> Bob
F6确认代理1->Bob
ACK bob@b.example.com SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 ACK Content-Length: 0
ACK bob@b.example.com SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 ACK Content-Length: 0
F7 600 Busy Everywhere Proxy 1 -> NGW 1
F7 600忙无处不在代理1->NGW 1
SIP/2.0 600 Busy Everywhere Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.201 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Content-Length: 0
SIP/2.0 600 Busy Everywhere Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.201 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Content-Length: 0
F8 ACK NGW 1 -> Proxy 1
F8确认NGW 1->代理服务器1
ACK bob@b.example.com SIP/2.0 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 ACK Content-Length: 0
ACK bob@b.example.com SIP/2.0 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 ACK Content-Length: 0
F9 REL NGW 1 -> Alice
F9 REL NGW 1->Alice
REL CauseCode=17 Busy
REL CauseCode=17忙
F10 RLC Alice -> NGW 1
F10 RLC Alice->NGW 1
RLC
RLC
Switch A NGW 1 Proxy 1 Bob | | | | | IAM F1 | | | |--------------->| INVITE F2 | | | |--------------->| INVITE F3 | | | 100 F4 |--------------->| | |<---------------| | | | | 600 F5 | | | |<---------------| | | | ACK F6 | | | 600 F7 |--------------->| | |<---------------| | | | ACK F8 | | | ACM F9 |--------------->| | |<---------------| | | | One Way Voice | | | |<===============| | | | Busy Tone | | | |<===============| | | | REL(16) F10 | | | |--------------->| | | | RLC F11 | | | |<---------------| | | | | | |
Switch A NGW 1 Proxy 1 Bob | | | | | IAM F1 | | | |--------------->| INVITE F2 | | | |--------------->| INVITE F3 | | | 100 F4 |--------------->| | |<---------------| | | | | 600 F5 | | | |<---------------| | | | ACK F6 | | | 600 F7 |--------------->| | |<---------------| | | | ACK F8 | | | ACM F9 |--------------->| | |<---------------| | | | One Way Voice | | | |<===============| | | | Busy Tone | | | |<===============| | | | REL(16) F10 | | | |--------------->| | | | RLC F11 | | | |<---------------| | | | | | |
In this scenario, Alice calls Bob through Network Gateway NGW 1 and Proxy 1. The call is routed to Bob by Proxy 1. The call is rejected by the Bob client. NGW 1 sets up a two way voice path to Alice and plays busy tone. The caller then disconnects
在这个场景中,Alice通过网络网关NGW1和代理1调用Bob。呼叫由代理1路由到Bob。呼叫被Bob客户端拒绝。NGW1为Alice设置双向语音路径并播放忙音。然后调用方断开连接
NGW 1 plays the busy tone since the IAM (F1) indicates the interworking is present. In scenario 5.2.2., with no interworking, the busy indication is carried in the REL Cause value and is generated locally instead.
NGW 1播放忙音,因为IAM(F1)指示存在互通。在场景5.2.2.中,如果没有互通,则在REL Cause值中携带忙碌指示,并在本地生成。
Again, note that for ETSI or ITU ISUP, a CONnect message would be sent instead of the Answer Message.
再次注意,对于ETSI或ITU ISUP,将发送连接消息而不是应答消息。
Message Details
消息详细信息
F1 IAM Alice -> NGW 1
F1 IAM Alice->NGW 1
IAM CgPN=314-555-1111,NPI=E.164,NOA=National CdPN=972-555-2222,NPI=E.164,NOA=National Interworking=encountered
IAM CgPN=314-555-1111,NPI=E.164,NOA=National CdPN=972-555-2222,NPI=E.164,NOA=National Interworking=encountered
F2 INVITE NGW1 -> Proxy 1
F2邀请NGW1->代理1
INVITE sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 146
INVITE sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 146
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
/* Proxy 1 uses a Location Service function to determine a route for +19725552222. The call is then forwarded to Bob. */
/* Proxy 1 uses a Location Service function to determine a route for +19725552222. The call is then forwarded to Bob. */
F3 INVITE Proxy 1 -> Bob
F3邀请代理1->Bob
INVITE bob@b.example.com SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 146
INVITE bob@b.example.com SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 146
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0
v=0 o=GW 2890844527 IP4 ngw1.a.example.com中的2890844527 s=-c=IP4 ngw1.a.example.com中的t=0 0 m=音频3456 RTP/AVP 0
a=rtpmap:0 PCMU/8000
a=rtpmap:0 PCMU/8000
F4 100 Trying Bob -> Proxy 1
F4 100正在尝试Bob->Proxy 1
SIP/2.0 100 Trying Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Content-Length: 0
SIP/2.0 100 Trying Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Content-Length: 0
F5 600 Busy Everywhere Bob -> Proxy 1
F5 600忙无处不在鲍勃->代理1
SIP/2.0 600 Busy Everywhere Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Content-Length: 0
SIP/2.0 600 Busy Everywhere Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Content-Length: 0
F6 ACK Proxy 1 -> Bob
F6确认代理1->Bob
ACK bob@b.example.com SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 ACK Content-Length: 0
ACK bob@b.example.com SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 ACK Content-Length: 0
F7 600 Busy Everywhere Proxy 1 -> NGW 1
F7 600忙无处不在代理1->NGW 1
SIP/2.0 600 Busy Everywhere Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Content-Length: 0
SIP/2.0 600 Busy Everywhere Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Content-Length: 0
F8 ACK NGW 1 -> Proxy 1
F8确认NGW 1->代理服务器1
ACK sip:ngw1@a.example.com SIP/2.0 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 ACK Content-Length: 0
ACK sip:ngw1@a.example.com SIP/2.0 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 ACK Content-Length: 0
F9 ACM NGW 1 -> Alice
F9 ACM NGW 1->Alice
ACM
ACM
/* A one way speech path is established between NGW 1 and Alice. */
/* A one way speech path is established between NGW 1 and Alice. */
/* Call Released after Alice hangs up. */
/* Call Released after Alice hangs up. */
F10 REL Alice -> NGW 1
F10 REL Alice->NGW 1
REL CauseCode=16
REL CauseCode=16
F11 RLC NGW 1 -> Alice
F11 RLC NGW 1->Alice
RLC
RLC
Switch A NGW 1 Proxy 1 Bob | | | | | IAM F1 | | | |--------------->| INVITE F2 | | | |--------------->| INVITE F3 | | | 100 F4 |--------------->| | |<---------------| | | | | INVITE F5 | | | |--------------->| | | | INVITE F6 | | | |--------------->| | | | INVITE F7 | | | |--------------->| | | | INVITE F8 | | | |--------------->| | | | INVITE F9 | | | |--------------->| | REL F10 | | | |--------------->| | | | RLC F11 | | | |<---------------| | | | | CANCEL F12 | | | |--------------->| | | | 200 F13 | | | |<---------------| |
Switch A NGW 1 Proxy 1 Bob | | | | | IAM F1 | | | |--------------->| INVITE F2 | | | |--------------->| INVITE F3 | | | 100 F4 |--------------->| | |<---------------| | | | | INVITE F5 | | | |--------------->| | | | INVITE F6 | | | |--------------->| | | | INVITE F7 | | | |--------------->| | | | INVITE F8 | | | |--------------->| | | | INVITE F9 | | | |--------------->| | REL F10 | | | |--------------->| | | | RLC F11 | | | |<---------------| | | | | CANCEL F12 | | | |--------------->| | | | 200 F13 | | | |<---------------| |
Alice calls Bob through NGW 1 and Proxy 1. Proxy 1 re-sends the INVITE after the expiration of SIP timer T1 without receiving any response from Bob. Bob never responds with 180 Ringing or any other response (it is reachable but unresponsive). After the expiration of a timer, Alice's network disconnects the call by sending a Release message REL. The Gateway maps this to a CANCEL.
Alice通过NGW1和代理1呼叫Bob。代理1在SIP计时器T1过期后重新发送INVITE,而没有收到来自Bob的任何响应。Bob从不以180铃声或任何其他响应(可访问但无响应)进行响应。计时器过期后,Alice的网络通过发送REL释放消息来断开呼叫。网关将此映射到取消。
Message Details
消息详细信息
F1 IAM Alice -> NGW 1
F1 IAM Alice->NGW 1
IAM CgPN=314-555-1111,NPI=E.164,NOA=National CdPN=972-555-2222,NPI=E.164,NOA=National
IAM CgPN=314-555-1111,NPI=E.164,NOA=National CdPN=972-555-2222,NPI=E.164,NOA=National
F2 INVITE Alice -> Proxy 1
F2邀请Alice->Proxy 1
INVITE sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2
INVITE sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2
Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com> Content-Type: application/sdp Content-Length: 146
Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com> Content-Type: application/sdp Content-Length: 146
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
/* Proxy 1 uses a Location Service function to determine a route for +19725552222. The call is then forwarded to Bob. */
/* Proxy 1 uses a Location Service function to determine a route for +19725552222. The call is then forwarded to Bob. */
F3 INVITE Proxy 1 -> Bob
F3邀请代理1->Bob
INVITE sip:bob@b.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com> Content-Type: application/sdp Content-Length: 146
INVITE sip:bob@b.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com> Content-Type: application/sdp Content-Length: 146
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com c c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com c c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F4 100 Trying Proxy 1 -> NGW 1
F4 100正在尝试代理1->NGW 1
SIP/2.0 100 Trying Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Content-Length: 0
SIP/2.0 100 Trying Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Content-Length: 0
F5 INVITE Proxy 1 -> Bob
F5邀请代理1->Bob
Same as Message F3
与消息F3相同
F6 INVITE Proxy 1 -> Bob
F6邀请代理1->Bob
Same as Message F3
与消息F3相同
F7 INVITE Proxy 1 -> Bob
F7邀请代理1->Bob
Same as Message F3
与消息F3相同
F8 INVITE Proxy 1 -> Bob
F8邀请代理1->Bob
Same as Message F3
与消息F3相同
F9 INVITE Proxy 1 -> Bob
F9邀请代理1->Bob
Same as Message F3
与消息F3相同
/* Timer expires in Alice's access network. */
/* Timer expires in Alice's access network. */
F10 REL Alice -> NGW 1
F10 REL Alice->NGW 1
REL CauseCode=16 Normal
REL CauseCode=16正常值
F11 RLC NGW 1 -> Alice
F11 RLC NGW 1->Alice
RLC
RLC
F12 CANCEL NGW 1 -> Proxy 1
F12取消NGW 1->代理1
CANCEL sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 CANCEL Content-Length: 0
CANCEL sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 CANCEL Content-Length: 0
F13 200 OK Proxy 1 -> NGW 1
F13 200正常代理1->NGW 1
SIP/2.0 200 OK Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 CANCEL Content-Length: 0
SIP/2.0 200 OK Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 CANCEL Content-Length: 0
Switch A NGW 1 Stateless Proxy 1 Bob | | | | | IAM F1 | | | |--------------->| INVITE F2 | | | |--------------->| INVITE F3 | | | INVITE F4 |--------------->| | |--------------->| INVITE F5 | | | INVITE F6 |--------------->| | |--------------->| INVITE F7 | | | INVITE F8 |--------------->| | |--------------->| INVITE F9 | | | INVITE F10 |--------------->| | |--------------->| INVITE F11 | | | INVITE F12 |--------------->| | |--------------->| INVITE F13 | | | |--------------->| | REL F14 | | | |--------------->| | | | RLC F15 | | | |<---------------| | |
Switch A NGW 1 Stateless Proxy 1 Bob | | | | | IAM F1 | | | |--------------->| INVITE F2 | | | |--------------->| INVITE F3 | | | INVITE F4 |--------------->| | |--------------->| INVITE F5 | | | INVITE F6 |--------------->| | |--------------->| INVITE F7 | | | INVITE F8 |--------------->| | |--------------->| INVITE F9 | | | INVITE F10 |--------------->| | |--------------->| INVITE F11 | | | INVITE F12 |--------------->| | |--------------->| INVITE F13 | | | |--------------->| | REL F14 | | | |--------------->| | | | RLC F15 | | | |<---------------| | |
In this scenario, Alice calls Bob through NGW 1 and Proxy 1. Since Proxy 1 is stateless (it does not send a 100 Trying response), NGW 1 re-sends the INVITE message after the expiration of SIP timer T1. Bob does not respond with 180 Ringing. Alice's network disconnects the call with a release REL (CauseCode=102 Timeout).
在这个场景中,Alice通过NGW1和代理1调用Bob。由于代理1是无状态的(它不发送100次尝试响应),NGW 1在SIP计时器T1过期后重新发送INVITE消息。鲍勃没有回应,只是打了个180响。Alice的网络使用release REL(原因代码=102超时)断开呼叫。
Message Details
消息详细信息
F1 IAM Alice -> NGW 1
F1 IAM Alice->NGW 1
IAM CgPN=314-555-1111,NPI=E.164,NOA=National CdPN=972-555-2222,NPI=E.164,NOA=National
IAM CgPN=314-555-1111,NPI=E.164,NOA=National CdPN=972-555-2222,NPI=E.164,NOA=National
F2 INVITE NGW 1 -> Proxy 1
F2邀请NGW 1->代理1
INVITE sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE
INVITE sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE
Contact: <sip:ngw1@a.example.com> Content-Type: application/sdp Content-Length: 146
Contact: <sip:ngw1@a.example.com> Content-Type: application/sdp Content-Length: 146
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
/* Proxy 1 uses a Location Service function to determine a route for +19725552222. The call is then forwarded to Bob. */
/* Proxy 1 uses a Location Service function to determine a route for +19725552222. The call is then forwarded to Bob. */
F3 INVITE Proxy 1 -> Bob
F3邀请代理1->Bob
INVITE sip:bob@b.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.201 Max-Forwards: 69 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com> Content-Type: application/sdp Content-Length: 146
INVITE sip:bob@b.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/UDP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.201 Max-Forwards: 69 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com> Content-Type: application/sdp Content-Length: 146
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F4 INVITE NGW 1 -> Proxy 1
F4邀请NGW 1->代理1
Same as Message F2
与消息F2相同
F5 INVITE Proxy 1 -> Bob
F5邀请代理1->Bob
Same as Message F3
与消息F3相同
F6 INVITE NGW 1 -> Proxy 1
F6邀请NGW 1->代理1
Same as Message F2
与消息F2相同
F7 INVITE Proxy 1 -> Bob
F7邀请代理1->Bob
Same as Message F3
与消息F3相同
F8 INVITE NGW 1 -> Proxy 1
F8邀请NGW 1->代理1
Same as Message F2
与消息F2相同
F9 INVITE Proxy 1 -> Bob
F9邀请代理1->Bob
Same as Message F3
与消息F3相同
F10 INVITE NGW 1 -> Proxy 1
F10邀请NGW 1->代理1
Same as Message F2
与消息F2相同
F11 INVITE Proxy 1 -> Bob
F11邀请代理1->Bob
Same as Message F3
与消息F3相同
F12 INVITE NGW 1 -> Proxy 1
F12邀请NGW 1->代理1
Same as Message F2
与消息F2相同
F13 INVITE Proxy 1 -> Bob
F13邀请代理1->Bob
Same as Message F3
与消息F3相同
/* A timer expires in Alice's access network. */
/* A timer expires in Alice's access network. */
F14 REL Alice -> NGW 1
F14 REL Alice->NGW 1
REL CauseCode=102 Timeout
REL CauseCode=102超时
F15 RLC NGW 1 -> Alice
F15 RLC NGW 1->Alice
RLC
RLC
Switch A NGW 1 Proxy 1 Bob | | | | | IAM F1 | | | |--------------->| INVITE F2 | | | |--------------->| INVITE F3 | | | 100 F4 |--------------->| | |<---------------| | | | | 180 F5 | | | 180 F6 |<---------------| | ACM F7 |<---------------| | |<---------------| | | | One Way Voice | | | |<===============| | | | Ringing Tone | | | |<===============| | | | | | | | REL F8 | | | |--------------->| | | | RLC F9 | | | |<---------------| CANCEL F10 | | | |--------------->| | | | 200 F11 | | | |<---------------| | | | | CANCEL F12 | | | |--------------->| | | | 200 F13 | | | |<---------------| | | | 487 F14 | | | |<---------------| | | | ACK F15 | | | 487 F16 |--------------->| | |<---------------| | | | ACK F17 | | | |--------------->| | | | | |
Switch A NGW 1 Proxy 1 Bob | | | | | IAM F1 | | | |--------------->| INVITE F2 | | | |--------------->| INVITE F3 | | | 100 F4 |--------------->| | |<---------------| | | | | 180 F5 | | | 180 F6 |<---------------| | ACM F7 |<---------------| | |<---------------| | | | One Way Voice | | | |<===============| | | | Ringing Tone | | | |<===============| | | | | | | | REL F8 | | | |--------------->| | | | RLC F9 | | | |<---------------| CANCEL F10 | | | |--------------->| | | | 200 F11 | | | |<---------------| | | | | CANCEL F12 | | | |--------------->| | | | 200 F13 | | | |<---------------| | | | 487 F14 | | | |<---------------| | | | ACK F15 | | | 487 F16 |--------------->| | |<---------------| | | | ACK F17 | | | |--------------->| | | | | |
In this scenario, Alice calls Bob through NGW 1 and Proxy 1. Bob does not respond with 200 OK. NGW 1 plays ringing tone since the ACM indicates that interworking has been encountered. Alice disconnects the call with a Release message REL which is mapped by NGW 1 to a
在这个场景中,Alice通过NGW1和代理1调用Bob。Bob没有回复200 OK。NGW 1播放铃声,因为ACM指示遇到了互通。Alice使用释放消息REL断开呼叫,释放消息REL由NGW 1映射到
CANCEL. Note that if Bob had sent a 200 OK response after the REL, NGW 1 would have sent an ACK and then a BYE to properly terminate the call.
取消请注意,如果Bob在REL之后发送了200 OK响应,NGW 1将发送ACK,然后发送BYE以正确终止呼叫。
Message Details
消息详细信息
F1 IAM Alice -> NGW 1
F1 IAM Alice->NGW 1
IAM CgPN=314-555-1111,NPI=E.164,NOA=National CdPN=972-555-2222,NPI=E.164,NOA=National
IAM CgPN=314-555-1111,NPI=E.164,NOA=National CdPN=972-555-2222,NPI=E.164,NOA=National
F2 INVITE Alice -> Proxy 1
F2邀请Alice->Proxy 1
INVITE sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 146
INVITE sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 146
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
/* Proxy 1 uses a Location Service function to determine a route for +19725552222. The call is then forwarded to Bob. */
/* Proxy 1 uses a Location Service function to determine a route for +19725552222. The call is then forwarded to Bob. */
F3 INVITE Proxy 1 -> Bob
F3邀请代理1->Bob
INVITE sip:bob@b.example.com SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>
INVITE sip:bob@b.example.com SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>
Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 146
Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:ngw1@a.example.com;transport=tcp> Content-Type: application/sdp Content-Length: 146
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844527 2890844527 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F4 100 Trying Bob -> Proxy 1
F4 100正在尝试Bob->Proxy 1
SIP/2.0 100 Trying Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.201 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Content-Length: 0
SIP/2.0 100 Trying Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.201 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Content-Length: 0
F5 180 Ringing Bob -> Proxy 1
F5 180振铃鲍勃->代理1
SIP/2.0 180 Ringing Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:bob@client.b.example.com;transport=tcp> Content-Length: 0
SIP/2.0 180 Ringing Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:bob@client.b.example.com;transport=tcp> Content-Length: 0
F6 180 Ringing Proxy 1 -> NGW 1
F6 180振铃代理服务器1->NGW 1
SIP/2.0 180 Ringing
SIP/2.0 180振铃
Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:bob@client.b.example.com> Content-Length: 0
Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Contact: <sip:bob@client.b.example.com> Content-Length: 0
F7 ACM NGW 1 -> Alice
F7 ACM NGW 1->Alice
ACM
ACM
/* Alice hangs up */
/* Alice hangs up */
F8 REL Alice -> NGW 1
F8 REL Alice->NGW 1
REL CauseCode=16 Normal
REL CauseCode=16正常值
F9 RLC NGW 1 -> Alice
F9 RLC NGW 1->Alice
RLC
RLC
F10 CANCEL NGW 1 -> Proxy 1
F10取消NGW 1->代理1
CANCEL sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 CANCEL Content-Length: 0
CANCEL sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 CANCEL Content-Length: 0
F11 200 OK Proxy 1 -> NGW 1
F11 200正常代理1->NGW 1
SIP/2.0 200 OK Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>
SIP/2.0 200 OK Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>
Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 CANCEL Content-Length: 0
呼叫ID:4Fde34wkd11wsGFDs3@ngw1.a.example.comCSeq:1取消内容长度:0
F12 CANCEL Proxy 1 -> Bob
F12取消代理1->Bob
CANCEL sip:bob@b.example.com SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 CANCEL Content-Length: 0
CANCEL sip:bob@b.example.com SIP/2.0 Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 CANCEL Content-Length: 0
F13 200 OK Bob -> Proxy 1
F13 200 OK Bob->Proxy 1
SIP/2.0 200 OK Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 CANCEL Content-Length: 0
SIP/2.0 200 OK Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone> Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 CANCEL Content-Length: 0
F14 487 Request Terminated Bob -> Proxy 1
F14 487请求已终止Bob->Proxy 1
SIP/2.0 487 Request Terminated Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Content-Length: 0
SIP/2.0 487 Request Terminated Via: SIP/2.0/TCP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Content-Length: 0
F15 ACK Proxy 1 -> Bob
F15确认代理1->Bob
ACK sip:bob@b.example.com SIP/2.0 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70
ACK sip:bob@b.example.com SIP/2.0 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70
From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 ACK Content-Length: 0
From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 ACK Content-Length: 0
F16 487 Request Terminated Proxy 1 -> NGW 1
F16 487请求终止代理1->NGW 1
SIP/2.0 487 Request Terminated Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Content-Length: 0
SIP/2.0 487 Request Terminated Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 ;received=192.0.2.103 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 INVITE Content-Length: 0
F17 ACK NGW 1 -> Proxy 1
F17确认NGW 1->代理1
ACK sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 ACK Content-Length: 0
ACK sip:+19725552222@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TCP ngw1.a.example.com:5060;branch=z9hG4bKlueha2 Max-Forwards: 70 From: <sip:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sip:+19725552222@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 4Fde34wkd11wsGFDs3@ngw1.a.example.com CSeq: 1 ACK Content-Length: 0
In these scenarios, both the caller and the called party are in the telephone network, either normal PSTN subscribers or PBX extensions. The calls route through two Gateways and at least one SIP Proxy Server. The Proxy Server performs the authentication and location of the Gateways.
在这些场景中,呼叫者和被叫方都在电话网络中,无论是普通PSTN用户还是PBX分机。呼叫路由通过两个网关和至少一个SIP代理服务器。代理服务器执行网关的身份验证和定位。
Again it is noted that the intent of this call flows document is not to provide a detailed parameter level mapping of SIP to PSTN protocols. For information on SIP to ISUP mapping, the reader is referred to other references [4].
再次注意,本呼叫流文档的目的不是提供SIP到PSTN协议的详细参数级映射。有关SIP到ISUP映射的信息,读者可参考其他参考文献[4]。
In these scenarios, the call is successfully completed between the two Gateways, allowing the PSTN or PBX users to communicate. The 183 Session Progress response is used to indicate that in-band alerting may flow from the called party telephone switch to the caller.
在这些场景中,呼叫在两个网关之间成功完成,允许PSTN或PBX用户通信。183会话进程响应用于指示带内警报可从被叫方电话交换机流向呼叫者。
Switch A NGW 1 Proxy 1 GW 2 Switch C | | | | | | IAM F1 | | | | |------------->| | | | | | INVITE F2 | | | | |------------->| INVITE F3 | | | | |------------->| IAM F4 | | | | |------------->| | | | | ACM F5 | | | | 183 F6 |<-------------| | | 183 F7 |<-------------| | | ACM F8 |<-------------| | | |<-------------| | | | | One Way Voice| Two Way RTP Media | One Way Voice| |<=============|<===========================>|<=============| | | | | ANM F9 | | | | 200 F10 |<-------------| | | 200 F11 |<-------------| | | ANM F12 |<-------------| | | |<-------------| | | | | | ACK F13 | | | | |------------->| ACK F14 | | | | |------------->| | |Both Way Voice| Both Way RTP Media |Both Way Voice| |<=============|<===========================>|<=============| | | | | REL F15 | | | | |<-------------| | | | BYE F16 | | | | BYE F18 |<-------------| RLC F17 | | |<-------------| |------------->| | | | | | | | 200 F19 | | | | |------------->| 200 F20 | | | | |------------->| | | REL F21 | | | | |<-------------| | | | | RLC F22 | | | | |------------->| | | | | | | | |
Switch A NGW 1 Proxy 1 GW 2 Switch C | | | | | | IAM F1 | | | | |------------->| | | | | | INVITE F2 | | | | |------------->| INVITE F3 | | | | |------------->| IAM F4 | | | | |------------->| | | | | ACM F5 | | | | 183 F6 |<-------------| | | 183 F7 |<-------------| | | ACM F8 |<-------------| | | |<-------------| | | | | One Way Voice| Two Way RTP Media | One Way Voice| |<=============|<===========================>|<=============| | | | | ANM F9 | | | | 200 F10 |<-------------| | | 200 F11 |<-------------| | | ANM F12 |<-------------| | | |<-------------| | | | | | ACK F13 | | | | |------------->| ACK F14 | | | | |------------->| | |Both Way Voice| Both Way RTP Media |Both Way Voice| |<=============|<===========================>|<=============| | | | | REL F15 | | | | |<-------------| | | | BYE F16 | | | | BYE F18 |<-------------| RLC F17 | | |<-------------| |------------->| | | | | | | | 200 F19 | | | | |------------->| 200 F20 | | | | |------------->| | | REL F21 | | | | |<-------------| | | | | RLC F22 | | | | |------------->| | | | | | | | |
In this scenario, Alice in the PSTN calls Carol who is an extension on a PBX. Alice's telephone switch signals via SS7 to the Network Gateway NGW 1, while Carol's PBX signals via SS7 with the Gateway GW 2. The CdPN and CgPN are mapped by GW 1 into SIP URIs and placed in the To and From headers. Proxy 1 looks up the dialed digits in the Request-URI and maps the digits to the PBX extension of Carol, which
在这个场景中,PSTN中的Alice给PBX上的分机Carol打电话。Alice的电话交换机通过SS7向网络网关NGW 1发送信号,而Carol的PBX通过SS7向网关GW 2发送信号。CdPN和CgPN由GW 1映射到SIP URI中,并放置在To和From头中。代理1在请求URI中查找已拨的数字,并将这些数字映射到Carol的PBX分机,该分机
is served by GW 2. The Proxy in F3 uses the host portion of the Request-URI to identify what private dialing plan is being referenced. The INVITE is then forwarded to GW 2 for call completion. An early media path is established end-to-end so that Alice can hear the ringing tone generated by PBX C.
由GW 2提供服务。F3中的代理使用请求URI的主机部分来标识正在引用的私有拨号计划。然后将邀请转发给GW 2以完成呼叫。建立了端到端的早期媒体路径,以便Alice可以听到PBX C产生的铃声。
Carol answers the call and the media path is cut through in both directions. Bob hangs up terminating the call.
Carol接听电话,媒体路径在两个方向都被切断。鲍勃挂断电话,终止通话。
Message Details
消息详细信息
F1 IAM Switch Alice -> NGW 1
F1 IAM开关Alice->NGW 1
IAM CgPN=314-555-1111,NPI=E.164,NOA=National CdPN=918-555-3333,NPI=E.164,NOA=National
IAM CgPN=314-555-1111,NPI=E.164,NOA=National CdPN=918-555-3333,NPI=E.164,NOA=National
F2 INVITE NGW 1 -> Proxy 1
F2邀请NGW 1->代理1
INVITE sips:+19185553333@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TLS ngw1.a.example.com:5061;branch=z9hG4bKlueha2 Max-Forwards: 70 From: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sips:+19185553333@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com CSeq: 1 INVITE Contact: <sips:ngw1@a.example.com> Content-Type: application/sdp Content-Length: 146
INVITE sips:+19185553333@ss1.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/TLS ngw1.a.example.com:5061;branch=z9hG4bKlueha2 Max-Forwards: 70 From: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sips:+19185553333@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com CSeq: 1 INVITE Contact: <sips:ngw1@a.example.com> Content-Type: application/sdp Content-Length: 146
v=0 o=GW 2890844526 2890844526 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844526 2890844526 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
/* Proxy 1 consults Location Service and translates the dialed number to a private number in the Request-URI*/
/* Proxy 1 consults Location Service and translates the dialed number to a private number in the Request-URI*/
F3 INVITE Proxy 1 -> GW 2
F3邀请代理1->GW 2
INVITE sips:4443333@gw2.a.example.com SIP/2.0 Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TLS ngw1.a.example.com:5061;branch=z9hG4bKwqwee65
INVITE sips:4443333@gw2.a.example.com SIP/2.0 Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TLS ngw1.a.example.com:5061;branch=z9hG4bKwqwee65
;received=192.0.2.103 Max-Forwards: 69 Record-Route: <sips:ss1.a.example.com;lr> From: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sips:+19185553333@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com CSeq: 1 INVITE Contact: <sips:ngw1@a.example.com> Content-Type: application/sdp Content-Length: 146
;received=192.0.2.103 Max-Forwards: 69 Record-Route: <sips:ss1.a.example.com;lr> From: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sips:+19185553333@ss1.a.example.com;user=phone> Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com CSeq: 1 INVITE Contact: <sips:ngw1@a.example.com> Content-Type: application/sdp Content-Length: 146
v=0 o=GW 2890844526 2890844526 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844526 2890844526 IN IP4 ngw1.a.example.com s=- c=IN IP4 ngw1.a.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F4 IAM GW 2 -> Switch C
F4 IAM GW 2->开关C
IAM CgPN=314-555-1111,NPI=E.164,NOA=National CdPN=444-3333,NPI=Private,NOA=Subscriber
IAM CgPN=314-555-1111,NPI=E.164,NOA=National CdPN=444-3333,NPI=Private,NOA=Subscriber
F5 ACM Switch C -> GW 2
F5 ACM开关C->GW 2
ACM
ACM
/* Based on the ACM message, GW 2 returns a 183 response. In-band call progress indications are sent to Alice through NGW 1. */
/* Based on the ACM message, GW 2 returns a 183 response. In-band call progress indications are sent to Alice through NGW 1. */
F6 183 Session Progress GW 2 -> Proxy 1
F6 183会话进度GW 2->代理服务器1
SIP/2.0 183 Session Progress Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TLS ngw1.a.example.com:5061;branch=z9hG4bKlueha2 ;received=192.0.2.103 Record-Route: <sips:ss1.a.example.com;lr> From: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com CSeq: 1 INVITE Contact: <sips:4443333@gw2.a.example.com>
SIP/2.0 183 Session Progress Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TLS ngw1.a.example.com:5061;branch=z9hG4bKlueha2 ;received=192.0.2.103 Record-Route: <sips:ss1.a.example.com;lr> From: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com CSeq: 1 INVITE Contact: <sips:4443333@gw2.a.example.com>
Content-Type: application/sdp Content-Length: 143
Content-Type: application/sdp Content-Length: 143
v=0 o=GW 987654321 987654321 IN IP4 gw2.a.example.com s=- c=IN IP4 gw2.a.example.com t=0 0 m=audio 14918 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 987654321 987654321 IN IP4 gw2.a.example.com s=- c=IN IP4 gw2.a.example.com t=0 0 m=audio 14918 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F7 183 Session Progress Proxy 1 -> GW 1
F7 183会话进度代理1->GW 1
SIP/2.0 183 Session Progress Via: SIP/2.0/TLS ngw1.a.example.com:5061;branch=z9hG4bKlueha2 ;received=192.0.2.103 Record-Route: <sips:ss1.a.example.com;lr> From: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com CSeq: 1 INVITE Contact: <sips:4443333@gw2.a.example.com> Content-Type: application/sdp Content-Length: 143
SIP/2.0 183 Session Progress Via: SIP/2.0/TLS ngw1.a.example.com:5061;branch=z9hG4bKlueha2 ;received=192.0.2.103 Record-Route: <sips:ss1.a.example.com;lr> From: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com CSeq: 1 INVITE Contact: <sips:4443333@gw2.a.example.com> Content-Type: application/sdp Content-Length: 143
v=0 o=GW 987654321 987654321 IN IP4 gw2.a.example.com s=- c=IN IP4 gw2.a.example.com t=0 0 m=audio 14918 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 987654321 987654321 IN IP4 gw2.a.example.com s=- c=IN IP4 gw2.a.example.com t=0 0 m=audio 14918 RTP/AVP 0 a=rtpmap:0 PCMU/8000
/* NGW 1 receives packets from GW 2 with encoded ringback, tones or other audio. NGW 1 decodes this and places it on the originating trunk. */
/* NGW 1 receives packets from GW 2 with encoded ringback, tones or other audio. NGW 1 decodes this and places it on the originating trunk. */
F8 ACM NGW 1 -> Switch A
F8 ACM NGW 1->开关A
ACM
ACM
/* Bob answers */
/* Bob answers */
F9 ANM Switch C -> GW 2
F9 ANM开关C->GW 2
ANM
安姆
F10 200 OK GW 2 -> Proxy 1
F10 200正常GW 2->代理服务器1
SIP/2.0 200 OK Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TLS ngw1.a.example.com:5061;branch=z9hG4bKlueha2 ;received=192.0.2.103 Record-Route: <sips:ss1.a.example.com;lr> From: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com CSeq: 1 INVITE Contact: <sips:4443333@gw2.a.example.com> Content-Type: application/sdp Content-Length: 143
SIP/2.0 200 OK Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TLS ngw1.a.example.com:5061;branch=z9hG4bKlueha2 ;received=192.0.2.103 Record-Route: <sips:ss1.a.example.com;lr> From: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com CSeq: 1 INVITE Contact: <sips:4443333@gw2.a.example.com> Content-Type: application/sdp Content-Length: 143
v=0 o=GW 987654321 987654321 IN IP4 gw2.a.example.com s=- c=IN IP4 gw2.a.example.com t=0 0 m=audio 14918 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 987654321 987654321 IN IP4 gw2.a.example.com s=- c=IN IP4 gw2.a.example.com t=0 0 m=audio 14918 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F11 200 OK Proxy 1 -> NGW 1
F11 200正常代理1->NGW 1
SIP/2.0 200 OK Via: SIP/2.0/TLS ngw1.a.example.com:5061;branch=z9hG4bKlueha2 ;received=192.0.2.103 Record-Route: <sips:ss1.a.example.com;lr> From: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com CSeq: 1 INVITE Contact: <sips:4443333@gw2.a.example.com> Content-Type: application/sdp Content-Length: 143
SIP/2.0 200 OK Via: SIP/2.0/TLS ngw1.a.example.com:5061;branch=z9hG4bKlueha2 ;received=192.0.2.103 Record-Route: <sips:ss1.a.example.com;lr> From: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com CSeq: 1 INVITE Contact: <sips:4443333@gw2.a.example.com> Content-Type: application/sdp Content-Length: 143
v=0 o=GW 987654321 987654321 IN IP4 gw2.a.example.com s=- c=IN IP4 gw2.a.example.com
v=0 o=IP4 gw2.a.example.com中的GW 987654321 987654321 s=-c=IP4 gw2.a.example.com中的
t=0 0 m=audio 14918 RTP/AVP 0 a=rtpmap:0 PCMU/8000
t=0 0 m=audio 14918 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F12 ANM NGW 1 -> Switch A
F12 ANM NGW 1->开关A
ANM
安姆
F13 ACK NGW 1 -> Proxy 1
F13确认NGW 1->代理1
ACK sips:4443333@gw2.a.example.com SIP/2.0 Via: SIP/2.0/TLS ngw1.a.example.com:5061;branch=z9hG4bKlueha2 Max-Forwards: 70 Route: <sips:ss1.a.example.com;lr> From: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 ACK Content-Length: 0
ACK sips:4443333@gw2.a.example.com SIP/2.0 Via: SIP/2.0/TLS ngw1.a.example.com:5061;branch=z9hG4bKlueha2 Max-Forwards: 70 Route: <sips:ss1.a.example.com;lr> From: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 ACK Content-Length: 0
F14 ACK Proxy 1 -> GW 2
F14确认代理1->GW 2
ACK sips:4443333@gw2.a.example.com SIP/2.0 Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TLS ngw1.a.example.com:5061;branch=z9hG4bKlueha2 ;received=192.0.2.103 Max-Forwards: 69 From: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com CSeq: 1 ACK Content-Length: 0
ACK sips:4443333@gw2.a.example.com SIP/2.0 Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TLS ngw1.a.example.com:5061;branch=z9hG4bKlueha2 ;received=192.0.2.103 Max-Forwards: 69 From: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals To: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com CSeq: 1 ACK Content-Length: 0
/* RTP streams are established between NGW 1 and GW 2. */
/* RTP streams are established between NGW 1 and GW 2. */
/* Bob Hangs Up with Alice. */
/* Bob Hangs Up with Alice. */
F15 REL Switch C -> GW 2
F15相关开关C->GW 2
REL CauseCode=16 Normal
REL CauseCode=16正常值
F16 BYE GW 2 -> Proxy 1
F16 BYE GW 2->代理服务器1
BYE sips:ngw1@a.example.com SIP/2.0 Via: SIP/2.0/TLS gw2.a.example.com:5061;branch=z9hG4bKtexx6 Max-Forwards: 70 Route: <sips:ss1.a.example.com;lr> From: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159 To: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com CSeq: 4 BYE Content-Length: 0
BYE sips:ngw1@a.example.com SIP/2.0 Via: SIP/2.0/TLS gw2.a.example.com:5061;branch=z9hG4bKtexx6 Max-Forwards: 70 Route: <sips:ss1.a.example.com;lr> From: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159 To: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com CSeq: 4 BYE Content-Length: 0
F17 RLC GW 2 -> Switch C
F17 RLC GW 2->开关C
RLC
RLC
F18 BYE Proxy 1 -> NGW 1
F18 BYE Proxy 1->NGW 1
BYE sips:ngw1@a.example.com SIP/2.0 Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TLS gw2.a.example.com:5061;branch=z9hG4bKtexx6 ;received=192.0.2.202 Max-Forwards: 69 From: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159 To: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com CSeq: 4 BYE Content-Length: 0
BYE sips:ngw1@a.example.com SIP/2.0 Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1 Via: SIP/2.0/TLS gw2.a.example.com:5061;branch=z9hG4bKtexx6 ;received=192.0.2.202 Max-Forwards: 69 From: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159 To: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com CSeq: 4 BYE Content-Length: 0
F19 200 OK NGW 1 -> Proxy 1
F19 200正常NGW 1->代理1
SIP/2.0 200 OK Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TLS gw2.a.example.com:5061;branch=z9hG4bKtexx6 ;received=192.0.2.202 From: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159 To: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com CSeq: 4 BYE Content-Length: 0
SIP/2.0 200 OK Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/TLS gw2.a.example.com:5061;branch=z9hG4bKtexx6 ;received=192.0.2.202 From: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159 To: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com CSeq: 4 BYE Content-Length: 0
F20 200 OK Proxy 1 -> GW 2
F20 200正常代理1->GW 2
SIP/2.0 200 OK Via: SIP/2.0/TLS gw2.a.example.com:5061;branch=z9hG4bKtexx6 ;received=192.0.2.202 From: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159 To: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com CSeq: 4 BYE Content-Length: 0
SIP/2.0 200 OK Via: SIP/2.0/TLS gw2.a.example.com:5061;branch=z9hG4bKtexx6 ;received=192.0.2.202 From: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159 To: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com CSeq: 4 BYE Content-Length: 0
F21 REL Switch C -> GW 2
f2 1相对开关C->GW 2
REL CauseCode=16 Normal
REL CauseCode=16正常值
F22 RLC GW 2 -> Switch C
f2 22 RLC GW 2->开关C
RLC
RLC
PBX A GW 1 Proxy 1 GW 2 GW 3 PBX C | | | | | | | Seizure | | | | | |----------->| | | | | | Wink | | | | | |<-----------| | | | | |MF Digits F1| | | | | |----------->| | | | | | | INVITE F2 | | | | | |----------->| INVITE F3 | | | | | |----------->| | | | | | 503 F4 | | | | | |<-----------| | | | | | ACK F5 | | | | | |----------->| | | | | | INVITE F6 | | | | |------------------------>| SETUP F7 | | | | 100 F8 |----------->| | | |<------------------------|CALL PROC F9| | | | |<-----------| | | | | ALERT F10 | | | | 180 F11 |<-----------| | | 180 F12 |<------------------------| | | |<-----------| | | | Ringtone | | |OneWay Voice| |<===========| | |<===========| | | | | CONNect F13| | | | 200 F14 |<-----------| | | 200 F15 |<------------------------| | | Seizure |<-----------| | | |<-----------| ACK F16 | | | | |----------->| ACK F17 | | | | |------------------------>|CONN ACK F18| | | | |----------->| |BothWayVoice| Both Way RTP Media |BothWayVoice| |<==========>|<====================================>|<==========>| | | | | DISC F19 | | | | |<-----------| | | | BYE F20 | | | | BYE F21 |<------------------------| REL F22 | |Seiz Removal|<-----------| |----------->| |<-----------| 200 F23 | | | |Seiz Removal|----------->| 200 F24 | | |----------->| |------------------------>| REL COM F25| | | | |<-----------| | | | | |
PBX A GW 1 Proxy 1 GW 2 GW 3 PBX C | | | | | | | Seizure | | | | | |----------->| | | | | | Wink | | | | | |<-----------| | | | | |MF Digits F1| | | | | |----------->| | | | | | | INVITE F2 | | | | | |----------->| INVITE F3 | | | | | |----------->| | | | | | 503 F4 | | | | | |<-----------| | | | | | ACK F5 | | | | | |----------->| | | | | | INVITE F6 | | | | |------------------------>| SETUP F7 | | | | 100 F8 |----------->| | | |<------------------------|CALL PROC F9| | | | |<-----------| | | | | ALERT F10 | | | | 180 F11 |<-----------| | | 180 F12 |<------------------------| | | |<-----------| | | | Ringtone | | |OneWay Voice| |<===========| | |<===========| | | | | CONNect F13| | | | 200 F14 |<-----------| | | 200 F15 |<------------------------| | | Seizure |<-----------| | | |<-----------| ACK F16 | | | | |----------->| ACK F17 | | | | |------------------------>|CONN ACK F18| | | | |----------->| |BothWayVoice| Both Way RTP Media |BothWayVoice| |<==========>|<====================================>|<==========>| | | | | DISC F19 | | | | |<-----------| | | | BYE F20 | | | | BYE F21 |<------------------------| REL F22 | |Seiz Removal|<-----------| |----------->| |<-----------| 200 F23 | | | |Seiz Removal|----------->| 200 F24 | | |----------->| |------------------------>| REL COM F25| | | | |<-----------| | | | | |
PBX Alice calls PBX Carol via Gateway GW 1 and Proxy 1. During the attempt to reach Carol via GW 2, an error is encountered - Proxy 1 receives a 503 Service Unavailable (F4) response to the forwarded INVITE. This could be due to all circuits being busy, or some other outage at GW 2. Proxy 1 recognizes the error and uses an alternative route via GW 3 to terminate the call. From there, the call proceeds normally with Carol answering the call. The call is terminated when Carol hangs up.
PBX Alice通过网关GW 1和代理1呼叫PBX Carol。在试图通过GW 2到达Carol的过程中,遇到一个错误-代理1接收到对转发的邀请的503服务不可用(F4)响应。这可能是由于所有电路都很忙,或GW 2出现其他一些断电。代理1识别错误并通过GW 3使用替代路由终止呼叫。从那里,电话正常进行,卡罗尔接听电话。卡罗尔挂断电话后,电话就终止了。
Message Details
消息详细信息
PBX Alice -> GW 1
程控交换机Alice->GW 1
Seizure
没收
GW 1 -> PBX A
GW 1->PBX A
Wink
眨眼
F1 MF Digits PBX Alice -> GW 1
F1 MF数字PBX Alice->GW 1
KP 444 3333 ST
KP44433333街
F2 INVITE GW 1 -> Proxy 1
F2邀请GW 1->代理1
INVITE sip:4443333@ss1.a.example.com SIP/2.0 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 Max-Forwards: 70 From: <sip:551313@gw1.a.example.com>;tag=63412s To: <sip:4443333@ss1.a.example.com> Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 INVITE Contact: <sip:551313@gw1.a.example.com> Content-Type: application/sdp Content-Length: 155
INVITE sip:4443333@ss1.a.example.com SIP/2.0 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 Max-Forwards: 70 From: <sip:551313@gw1.a.example.com>;tag=63412s To: <sip:4443333@ss1.a.example.com> Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 INVITE Contact: <sip:551313@gw1.a.example.com> Content-Type: application/sdp Content-Length: 155
v=0 o=GW 2890844526 2890844526 IN IP4 gw1.a.example.com s=- c=IN IP4 gw1.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844526 2890844526 IN IP4 gw1.a.example.com s=- c=IN IP4 gw1.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
/* Proxy 1 uses a Location Service function to determine where B is located. Response is returned listing alternative routes, GW2 and GW3, which are then tried sequentially. */
/* Proxy 1 uses a Location Service function to determine where B is located. Response is returned listing alternative routes, GW2 and GW3, which are then tried sequentially. */
F3 INVITE Proxy 1 -> GW 2
F3邀请代理1->GW 2
INVITE sip:4443333@gw2.a.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com>;tag=63412s To: <sip:4443333@ss1.a.example.com> Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 INVITE Contact: <sip:551313@gw1.a.example.com> Content-Type: application/sdp Content-Length: 155
INVITE sip:4443333@gw2.a.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com>;tag=63412s To: <sip:4443333@ss1.a.example.com> Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 INVITE Contact: <sip:551313@gw1.a.example.com> Content-Type: application/sdp Content-Length: 155
v=0 o=GW 2890844526 2890844526 IN IP4 gw1.a.example.com s=- c=IN IP4 gw1.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844526 2890844526 IN IP4 gw1.a.example.com s=- c=IN IP4 gw1.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F4 503 Service Unavailable GW 2 -> Proxy 1
F4 503服务不可用GW 2->Proxy 1
SIP/2.0 503 Service Unavailable Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 From: <sip:551313@gw1.a.example.com>;tag=63412s To: <sip:4443333@ss1.a.example.com>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 INVITE Content-Length: 0
SIP/2.0 503 Service Unavailable Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1 ;received=192.0.2.111 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 From: <sip:551313@gw1.a.example.com>;tag=63412s To: <sip:4443333@ss1.a.example.com>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 INVITE Content-Length: 0
F5 ACK Proxy 1 -> GW 2
F5确认代理1->GW 2
ACK sip:4443333@ss1.a.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1
ACK sip:4443333@ss1.a.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1
Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 Max-Forward: 70 From: <sip:551313@gw1.a.example.com>;tag=63412s To: <sip:4443333@ss1.a.example.com>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 ACK Content-Length: 0
Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 Max-Forward: 70 From: <sip:551313@gw1.a.example.com>;tag=63412s To: <sip:4443333@ss1.a.example.com>;tag=314159 Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 ACK Content-Length: 0
F6 INVITE Proxy 1 -> GW 3
F6邀请代理1->GW 3
INVITE sip:+19185553333@gw3.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com>;tag=63412s To: <sip:4443333@ss1.a.example.com> Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 INVITE Contact: <sip:551313@gw1.a.example.com> Content-Type: application/sdp Content-Length: 155
INVITE sip:+19185553333@gw3.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 Max-Forwards: 69 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com>;tag=63412s To: <sip:4443333@ss1.a.example.com> Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 INVITE Contact: <sip:551313@gw1.a.example.com> Content-Type: application/sdp Content-Length: 155
v=0 o=GW 2890844526 2890844526 IN IP4 gw1.a.example.com s=- c=IN IP4 gw1.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 2890844526 2890844526 IN IP4 gw1.a.example.com s=- c=IN IP4 gw1.a.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F7 SETUP GW 3 -> PBX C
F7设置GW 3->PBX C
Protocol discriminator=Q.931 Message type=SETUP Bearer capability: Information transfer capability=0 (Speech) or 16 (3.1 kHz audio) Channel identification=Preferred or exclusive B-channel Progress indicator=1 (Call is not end-to-end ISDN; further call progress information may be available inband) Called party number: Type of number and numbering plan ID=33 (National number in ISDN numbering plan) Digits=918-555-3333
协议鉴别器=Q.931消息类型=设置承载能力:信息传输能力=0(语音)或16(3.1 kHz音频)信道标识=首选或专用B信道进度指示器=1(呼叫不是端到端ISDN;更多呼叫进度信息可能在带内可用)被叫方号码:号码类型和编号计划ID=33(ISDN编号计划中的国家号码)位数=918-555-3333
F8 100 Trying GW 3 -> Proxy 1
F8 100尝试GW 3->代理1
SIP/2.0 100 Trying Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 From: <sip:551313@gw1.a.example.com>;tag=63412s To: <sip:4443333@ss1.a.example.com> Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 INVITE Content-Length: 0
SIP/2.0 100 Trying Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 From: <sip:551313@gw1.a.example.com>;tag=63412s To: <sip:4443333@ss1.a.example.com> Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 INVITE Content-Length: 0
F9 CALL PROCeeding PBX C -> GW 3
F9呼叫处理PBX C->GW 3
Protocol discriminator=Q.931 Message type=CALL PROC
协议鉴别器=Q.931消息类型=调用过程
F10 ALERT PBX C -> GW 3
F10告警PBX C->GW 3
Protocol discriminator=Q.931 Message type=PROG
协议鉴别器=Q.931消息类型=PROG
/* Based on ALERT message, GW 3 returns a 180 response. */
/* Based on ALERT message, GW 3 returns a 180 response. */
F11 180 Ringing GW 3 -> Proxy 1
F11 180振铃GW 3->代理服务器1
SIP/2.0 180 Ringing Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2 ;received=192.0.2.111 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com>;tag=63412s To: <sip:4443333@ss1.a.example.com>;tag=123456789 Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 INVITE Contact: <sip:+19185553333@gw3.a.example.com;user=phone> Content-Length: 0
SIP/2.0 180 Ringing Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2 ;received=192.0.2.111 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com>;tag=63412s To: <sip:4443333@ss1.a.example.com>;tag=123456789 Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 INVITE Contact: <sip:+19185553333@gw3.a.example.com;user=phone> Content-Length: 0
F12 180 Ringing Proxy 1 -> GW 1
F12 180振铃代理1->GW 1
SIP/2.0 180 Ringing Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65
SIP/2.0 180 Ringing Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65
;received=192.0.2.201 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com>;tag=63412s To: <sip:4443333@ss1.a.example.com>;tag=123456789 Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 INVITE Contact: <sip:+19185553333@gw3.a.example.com;user=phone> Content-Length: 0
;received=192.0.2.201 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com>;tag=63412s To: <sip:4443333@ss1.a.example.com>;tag=123456789 Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 INVITE Contact: <sip:+19185553333@gw3.a.example.com;user=phone> Content-Length: 0
F13 CONNect PBX C -> GW 3
F13连接PBX C->GW 3
Protocol discriminator=Q.931 Message type=CONN
协议鉴别器=Q.931消息类型=CONN
F14 200 OK GW 3 -> Proxy 1
F14 200正常GW 3->代理服务器1
SIP/2.0 200 OK Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2 ;received=192.0.2.111 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com>;tag=63412s To: <sip:4443333@ss1.a.example.com>;tag=123456789 Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 INVITE Contact: <sip:+19185553333@gw3.a.example.com;user=phone> Content-Type: application/sdp Content-Length: 143
SIP/2.0 200 OK Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2 ;received=192.0.2.111 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com>;tag=63412s To: <sip:4443333@ss1.a.example.com>;tag=123456789 Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 INVITE Contact: <sip:+19185553333@gw3.a.example.com;user=phone> Content-Type: application/sdp Content-Length: 143
v=0 o=GW 987654321 987654321 IN IP4 gw3.a.example.com s=- c=IN IP4 gw3.a.example.com t=0 0 m=audio 14918 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 987654321 987654321 IN IP4 gw3.a.example.com s=- c=IN IP4 gw3.a.example.com t=0 0 m=audio 14918 RTP/AVP 0 a=rtpmap:0 PCMU/8000
F15 200 OK Proxy 1 -> GW 1
F15 200正常代理1->GW 1
SIP/2.0 200 OK Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com>;tag=63412s
SIP/2.0 200 OK Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 Record-Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com>;tag=63412s
To: <sip:4443333@ss1.a.example.com>;tag=123456789 Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 INVITE Contact: <sip:+19185553333@gw3.a.example.com;user=phone> Content-Type: application/sdp Content-Length: 143
To: <sip:4443333@ss1.a.example.com>;tag=123456789 Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 INVITE Contact: <sip:+19185553333@gw3.a.example.com;user=phone> Content-Type: application/sdp Content-Length: 143
v=0 o=GW 987654321 987654321 IN IP4 gw3.a.example.com s=- c=IN IP4 gw3.a.example.com t=0 0 m=audio 14918 RTP/AVP 0 a=rtpmap:0 PCMU/8000
v=0 o=GW 987654321 987654321 IN IP4 gw3.a.example.com s=- c=IN IP4 gw3.a.example.com t=0 0 m=audio 14918 RTP/AVP 0 a=rtpmap:0 PCMU/8000
GW 1 -> PBX A
GW 1->PBX A
Seizure
没收
F16 ACK GW 1 -> Proxy 1
F16确认GW 1->代理服务器1
ACK sip:+19185553333@gw3.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 Max-Forwards: 70 Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com>;tag=63412s To: <sip:4443333@ss1.a.example.com>;tag=123456789 Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 ACK Content-Length: 0
ACK sip:+19185553333@gw3.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 Max-Forwards: 70 Route: <sip:ss1.a.example.com;lr> From: <sip:551313@gw1.a.example.com>;tag=63412s To: <sip:4443333@ss1.a.example.com>;tag=123456789 Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 ACK Content-Length: 0
F17 ACK Proxy 1 -> GW 3
F17确认代理1->GW 3
ACK sip:+19185553333@gw3.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 Max-Forwards: 69 From: <sip:551313@gw1.a.example.com>;tag=63412s To: <sip:4443333@ss1.a.example.com>;tag=123456789 Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 ACK Content-Length: 0
ACK sip:+19185553333@gw3.a.example.com;user=phone SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2 Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65 ;received=192.0.2.201 Max-Forwards: 69 From: <sip:551313@gw1.a.example.com>;tag=63412s To: <sip:4443333@ss1.a.example.com>;tag=123456789 Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 ACK Content-Length: 0
F18 CONNect ACK GW 3 -> PBX C
F18连接ACK GW 3->PBX C
Protocol discriminator=Q.931 Message type=CONN ACK
协议鉴别器=Q.931消息类型=连接确认
/* RTP streams are established between GW 1 and GW 3. */
/* RTP streams are established between GW 1 and GW 3. */
/* Bob Hangs Up with Alice. */
/* Bob Hangs Up with Alice. */
F19 DISConnect PBX C -> GW 3
F19断开PBX C->GW 3
Protocol discriminator=Q.931 Message type=DISC Cause=16 (Normal clearing)
协议鉴别器=Q.931消息类型=磁盘原因=16(正常清除)
F20 BYE GW 3 -> Proxy 1
F20 BYE GW 3->代理服务器1
BYE sip:551313@gw1.a.example.com SIP/2.0 Via: SIP/2.0/UDP gw3.a.example.com:5060;branch=z9hG4bKkdjuwq Max-Forwards: 70 Route: <sip:ss1.a.example.com;lr> From: <sip:4443333@ss1.a.example.com>;tag=123456789 To: <sip:551313@gw1.a.example.com>;tag=63412s Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 BYE Content-Length: 0
BYE sip:551313@gw1.a.example.com SIP/2.0 Via: SIP/2.0/UDP gw3.a.example.com:5060;branch=z9hG4bKkdjuwq Max-Forwards: 70 Route: <sip:ss1.a.example.com;lr> From: <sip:4443333@ss1.a.example.com>;tag=123456789 To: <sip:551313@gw1.a.example.com>;tag=63412s Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 BYE Content-Length: 0
F21 BYE Proxy 1 -> GW 1
代理服务器1->GW 1
BYE sip:551313@gw1.a.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2 Via: SIP/2.0/UDP gw3.a.example.com:5060;branch=z9hG4bKkdjuwq ;received=192.0.2.203 Max-Forwards: 69 From: <sip:4443333@ss1.a.example.com>;tag=123456789 To: <sip:551313@gw1.a.example.com>;tag=63412s Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 BYE Content-Length: 0
BYE sip:551313@gw1.a.example.com SIP/2.0 Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2 Via: SIP/2.0/UDP gw3.a.example.com:5060;branch=z9hG4bKkdjuwq ;received=192.0.2.203 Max-Forwards: 69 From: <sip:4443333@ss1.a.example.com>;tag=123456789 To: <sip:551313@gw1.a.example.com>;tag=63412s Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 BYE Content-Length: 0
GW 1 -> PBX A
GW 1->PBX A
Seizure removal
缉获解除
F22 RELease GW 3 -> PBX C
F22发布GW 3->PBX C
Protocol discriminator=Q.931 Message type=REL
协议鉴别器=Q.931消息类型=REL
F23 200 OK GW 1 -> Proxy 1
F23 200正常GW 1->代理1
SIP/2.0 200 OK Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2 ;received=192.0.2.111 Via: SIP/2.0/UDP gw3.a.example.com:5060;branch=z9hG4bKkdjuwq ;received=192.0.2.203 From: <sip:4443333@ss1.a.example.com>;tag=123456789 To: <sip:551313@gw1.a.example.com>;tag=63412s Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 BYE Content-Length: 0
SIP/2.0 200 OK Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2 ;received=192.0.2.111 Via: SIP/2.0/UDP gw3.a.example.com:5060;branch=z9hG4bKkdjuwq ;received=192.0.2.203 From: <sip:4443333@ss1.a.example.com>;tag=123456789 To: <sip:551313@gw1.a.example.com>;tag=63412s Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 BYE Content-Length: 0
F24 200 OK Proxy 1 -> GW 3
F24 200正常代理1->GW 3
SIP/2.0 200 OK Via: SIP/2.0/UDP gw3.a.example.com:5060;branch=z9hG4bKkdjuwq ;received=192.0.2.203 From: <sip:4443333@ss1.a.example.com>;tag=123456789 To: <sip:551313@gw1.a.example.com>;tag=63412s Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 BYE Content-Length: 0
SIP/2.0 200 OK Via: SIP/2.0/UDP gw3.a.example.com:5060;branch=z9hG4bKkdjuwq ;received=192.0.2.203 From: <sip:4443333@ss1.a.example.com>;tag=123456789 To: <sip:551313@gw1.a.example.com>;tag=63412s Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com CSeq: 1 BYE Content-Length: 0
F25 RELease COMplete PBX C -> GW 3
释放完整的PBX C->GW 3
Protocol discriminator=Q.931 Message type=REL COM
协议鉴别器=Q.931消息类型=REL COM
PBX Alice -> GW 1
程控交换机Alice->GW 1
Seizure removal
缉获解除
This document provides examples of mapping from SIP to ISUP and ISUP to SIP. The gateways in these examples are compliant with the Security Considerations Section of RFC 3398 [4] which is summarized here.
本文档提供了从SIP到ISUP以及从ISUP到SIP的映射示例。这些示例中的网关符合RFC 3398[4]中的安全注意事项部分,此处对此进行了总结。
There are few security concerns relating to the mapping of ISUP to SIP besides privacy considerations in the calling party number passing. Some concerns relating to the mapping from tel URI parameters to ISUP include the user creation of parameters and codes relating to called number and local number portability (LNP). An operator of a gateway should use policies similar to those present in PSTN switches to avoid security problems.
除了主叫方号码传递中的隐私考虑之外,与ISUP到SIP的映射相关的安全问题很少。从tel-URI参数到ISUP的映射涉及的一些问题包括用户创建与被叫号码和本地号码可移植性(LNP)相关的参数和代码。网关操作员应使用与PSTN交换机中存在的策略类似的策略,以避免安全问题。
The mapping from a SIP response code to an ISUP Cause Code presents a theoretical risk, so a gateway operator may implement policies controlling this mapping. Gateways should also not rely on the contents of the From header field for identity information, as it may be arbitrarily populated by a user. Instead, some sort of cryptographic authentication and authorization should be used for identity determination. These flows show both HTTP Digest for authentication of users, although for brevity, the challenge is not always shown.
从SIP响应代码到ISUP原因代码的映射存在理论风险,因此网关运营商可以实施控制此映射的策略。网关也不应该依赖于From header字段的内容来获取身份信息,因为它可能由用户任意填充。相反,应该使用某种加密身份验证和授权来确定身份。这些流显示了用于用户身份验证的HTTP摘要,尽管为简洁起见,挑战并不总是显示出来。
The early media cut-through shown in some flows is another potential security risk, but it is also required for proper interaction with the PSTN. Again, a gateway operator should use proper policies relating to early media to prevent fraud and misuse. Finally, a user agent (even a properly authenticated one) can launch multiple simultaneous requests through a gateway, constituting a denial of service attack. The adoption of policies to limit the number of simultaneous requests from a single entity may be used to prevent this attack.
一些流中显示的早期媒体直通是另一个潜在的安全风险,但它也是与PSTN进行适当交互所必需的。同样,网关运营商应使用与早期媒体相关的适当政策,以防止欺诈和滥用。最后,用户代理(即使是经过适当身份验证的用户代理)可以通过网关同时启动多个请求,构成拒绝服务攻击。采用限制单个实体同时请求数量的策略可用于防止此攻击。
As discussed in the SIP-T framework [7], SIP/ISUP interworking can be employed as an interdomain signaling mechanism that may be subject to pre-existing trust relationships between administrative domains. Any administrative domain implementing SIP-T or SIP/ISUP interworking should have an adequate security apparatus (including elements that manage any appropriate policies to manage fraud and billing in an interdomain environment) in place to ensure that the translation of ISUP information does not result in any security violations.
正如在SIP-T框架[7]中所讨论的,SIP/ISUP互通可以用作域间信令机制,该机制可能受制于管理域之间预先存在的信任关系。实施SIP-T或SIP/ISUP互通的任何管理域都应配备适当的安全装置(包括管理域间环境中欺诈和计费的任何适当策略的元件),以确保ISUP信息的翻译不会导致任何安全违规。
Although no examples of this are shown in this document, transporting ISUP in SIP bodies may provide opportunities for abuse, fraud, and privacy concerns, especially when SIP-T requests can be generated, inspected or modified by arbitrary SIP endpoints. ISUP MIME bodies should be secured (preferably with S/MIME as detailed in RFC 3261 [2]) to alleviate this concern. Authentication properties provided by S/MIME would allow the recipient of a SIP-T message to ensure that the ISUP MIME body was generated by an authorized entity. Encryption would ensure that only carriers possessing a particular decryption key are capable of inspecting encapsulated ISUP MIME bodies in a SIP request.
尽管本文档中未显示这方面的示例,但在SIP机构中传输ISUP可能会带来滥用、欺诈和隐私问题,特别是当任意SIP端点可以生成、检查或修改SIP-T请求时。应保护ISUP MIME主体(最好使用RFC 3261[2]中详细说明的S/MIME),以缓解此问题。S/MIME提供的身份验证属性允许SIP-T消息的接收者确保ISUP MIME正文由授权实体生成。加密将确保只有拥有特定解密密钥的运营商才能检查SIP请求中封装的ISUP MIME实体。
[1] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.
[1] Bradner,S.,“RFC中用于表示需求水平的关键词”,BCP 14,RFC 2119,1997年3月。
[2] Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston, A., Peterson, J., Sparks, R., Handley, M. E. and Schooler, "SIP: Session Initiation Protocol", RFC 3261, June 2002.
[2] Rosenberg,J.,Schulzrinne,H.,Camarillo,G.,Johnston,A.,Peterson,J.,Sparks,R.,Handley,M.E.和Schooler,“SIP:会话启动协议”,RFC 3261,2002年6月。
[3] Rosenberg, J. and H. Schulzrinne, "An Offer/Answer Model with the Session Description Protocol (SDP)", RFC 3264, June 2002.
[3] Rosenberg,J.和H.Schulzrinne,“具有会话描述协议(SDP)的提供/应答模型”,RFC 3264,2002年6月。
[4] Camarillo, G., Roach, A. B., Peterson, J. and L. Ong, "Integrated Services Digital Network (ISDN) User Part (ISUP) to Session Initiation Protocol (SIP) Mapping", RFC 3398, December 2002.
[4] Camarillo,G.,Roach,A.B.,Peterson,J.和L.Ong,“综合业务数字网(ISDN)用户部分(ISUP)到会话发起协议(SIP)的映射”,RFC 3398,2002年12月。
[5] Franks, J., Hallam-Baker, P., Hostetler, J., Lawrence, S., Leach, P., Luotonen, A. and L. Stewart, "HTTP Authentication: Basic and Digest Access Authentication", RFC 2617, June 1999.
[5] Franks,J.,Hallam Baker,P.,Hostetler,J.,Lawrence,S.,Leach,P.,Lootonen,A.和L.Stewart,“HTTP认证:基本和摘要访问认证”,RFC 26171999年6月。
[6] Vaha-Sipila, A., "URLs for Telephone Calls", RFC 2806, April 2000.
[6] Vaha Sipila,A.,“电话呼叫的URL”,RFC 2806,2000年4月。
[7] Vemuri, A. and J. Peterson, "Session Initiation Protocol for Telephones (SIP-T): Context and Architectures", BCP 63, RFC 3372, September 2002.
[7] Vemuri,A.和J.Peterson,“电话会话启动协议(SIP-T):上下文和体系结构”,BCP 63,RFC 3372,2002年9月。
[8] Zimmerer, E., Peterson, J., Vemuri, A., Ong, L., Audet, F., Watson, M. and M. Zonoun, "MIME media types for ISUP and QSIG Objects", RFC 3204, December 2001.
[8] Zimmerer,E.,Peterson,J.,Vemuri,A.,Ong,L.,Audet,F.,Watson,M.和M.Zonoun,“ISUP和QSIG对象的MIME媒体类型”,RFC 32042001年12月。
[9] Faltstrom, P., "E.164 number and DNS", RFC 2916, September 2000.
[9] Faltstrom,P.,“E.164号码和域名系统”,RFC 29162000年9月。
[10] Johnston, A., Donovan, S., Sparks, R., Cunningham, C. and K. Summers, "Session Initiation Protocol (SIP) Basic Call Flow Examples", RFC 3665, December 2003.
[10] Johnston,A.,Donovan,S.,Sparks,R.,Cunningham,C.和K.Summers,“会话发起协议(SIP)基本呼叫流示例”,RFC 36652003年12月。
Thanks to Rohan Mahy, Adam Roach, Gonzalo Camarillo, Cullen Jennings, and Tom Taylor for their detailed comments during the final review. Thanks to Dean Willis for his early contributions to the development of this document. Thanks to Jon Peterson for his help on the security section.
感谢Rohan Mahy、Adam Roach、Gonzalo Camarillo、Cullen Jennings和Tom Taylor在最终审查期间的详细评论。感谢迪安·威利斯(Dean Willis)为本文件的编制做出的早期贡献。感谢乔恩·彼得森在安全部门的帮助。
The authors wish to thank Kundan Singh for performing parser validation of messages.
作者希望感谢Kundan Singh对消息执行解析器验证。
The authors wish to thank the following individuals for their participation in a detailed review of this call flows document: Aseem Agarwal, Rafi Assadi, Ben Campbell, Sunitha Kumar, Jon Peterson, Marc Petit-Huguenin, Vidhi Rastogi, and Bodgey Yin Shaohua.
作者希望感谢以下个人参与本呼叫流文件的详细审查:阿塞姆·阿加瓦尔、拉菲·阿萨迪、本·坎贝尔、苏尼塔·库马尔、乔恩·彼得森、马克·佩蒂特·胡格宁、维迪·拉斯托吉和菩提因·少华。
The authors also wish to thank the following individuals for their assistance: Jean-Francois Mule, Hemant Agrawal, Henry Sinnreich, David Devanatham, Joe Pizzimenti, Matt Cannon, John Hearty, the whole MCI WorldCom IPOP Design team, Scott Orton, Greg Osterhout, Pat Sollee, Doug Weisenberg, Danny Mistry, Steve McKinnon, and Denise Ingram, Denise Caballero, Tom Redman, Ilya Slain, Pat Sollee, John Truetken, and others from MCI WorldCom, 3Com, Cisco, Lucent and Nortel.
作者还希望感谢以下个人的帮助:Jean-Francois Mule、Hemant Agrawal、Henry Sinnreich、David Devanatham、Joe Pizzimeti、Matt Cannon、John Hearty、整个MCI WorldCom IPOP设计团队、Scott Orton、Greg Osterhot、Pat Sollee、Doug Weisenberg、Danny Mistry、Steve McKinnon和Denise Ingram,Denise Caballero、Tom Redman、Ilya Slain、Pat Sollee、John Truetken以及来自MCI WorldCom、3Com、思科、朗讯和北电的其他人。
The IETF takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on the IETF's procedures with respect to rights in standards-track and standards-related documentation can be found in BCP-11. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users of this specification can be obtained from the IETF Secretariat.
IETF对可能声称与本文件所述技术的实施或使用有关的任何知识产权或其他权利的有效性或范围,或此类权利下的任何许可可能或可能不可用的程度,不采取任何立场;它也不表示它已作出任何努力来确定任何此类权利。有关IETF在标准跟踪和标准相关文件中权利的程序信息,请参见BCP-11。可从IETF秘书处获得可供发布的权利声明副本和任何许可证保证,或本规范实施者或用户试图获得使用此类专有权利的一般许可证或许可的结果。
The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to practice this standard. Please address the information to the IETF Executive Director.
IETF邀请任何相关方提请其注意任何版权、专利或专利申请,或其他可能涉及实施本标准所需技术的专有权利。请将信息发送给IETF执行董事。
All listed authors actively contributed large amounts of text to this document.
所有列出的作者都积极为本文件提供了大量文本。
Alan Johnston MCI 100 South 4th Street St. Louis, MO 63102 USA
美国密苏里州圣路易斯南四街100号艾伦·约翰斯顿MCI,邮编63102
EMail: alan.johnston@mci.com
EMail: alan.johnston@mci.com
Steve Donovan dynamicsoft, Inc. 5100 Tennyson Parkway Suite 1200 Plano, Texas 75024 USA
Steve Donovan dynamicsoft,Inc.美国德克萨斯州普莱诺市坦尼生大道1200号5100套房,邮编75024
EMail: sdonovan@dynamicsoft.com
EMail: sdonovan@dynamicsoft.com
Robert Sparks dynamicsoft, Inc. 5100 Tennyson Parkway Suite 1200 Plano, Texas 75024 USA
Robert Sparks dynamicsoft,Inc.美国德克萨斯州普莱诺市坦尼生大道1200号5100套房,邮编75024
EMail: rsparks@dynamicsoft.com
EMail: rsparks@dynamicsoft.com
Chris Cunningham dynamicsoft, Inc. 5100 Tennyson Parkway Suite 1200 Plano, Texas 75024 USA
Chris Cunningham dynamicsoft,Inc.美国德克萨斯州普莱诺市坦尼森大道1200号5100套房,邮编75024
EMail: ccunningham@dynamicsoft.com
EMail: ccunningham@dynamicsoft.com
Kevin Summers Sonus 1701 North Collins Blvd, Suite 3000 Richardson, TX 75080 USA
凯文·萨默斯·索努斯美国德克萨斯州理查森北柯林斯大道1701号3000室75080
EMail: kevin.summers@sonusnet.com
EMail: kevin.summers@sonusnet.com
Copyright (C) The Internet Society (2003). All Rights Reserved.
版权所有(C)互联网协会(2003年)。版权所有。
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 assignees.
上述授予的有限许可是永久性的,互联网协会或其继承人或受让人不会撤销。
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编辑功能的资金目前由互联网协会提供。