IMS sip呼叫流程
sip呼叫业务流程

sip呼叫业务流程下载温馨提示:该文档是我店铺精心编制而成,希望大家下载以后,能够帮助大家解决实际的问题。
文档下载后可定制随意修改,请根据实际需要进行相应的调整和使用,谢谢!并且,本店铺为大家提供各种各样类型的实用资料,如教育随笔、日记赏析、句子摘抄、古诗大全、经典美文、话题作文、工作总结、词语解析、文案摘录、其他资料等等,如想了解不同资料格式和写法,敬请关注!Download tips: This document is carefully compiled by theeditor. I hope that after you download them,they can help yousolve practical problems. The document can be customized andmodified after downloading,please adjust and use it according toactual needs, thank you!In addition, our shop provides you with various types ofpractical materials,such as educational essays, diaryappreciation,sentence excerpts,ancient poems,classic articles,topic composition,work summary,word parsing,copy excerpts,other materials and so on,want to know different data formats andwriting methods,please pay attention!SIP 呼叫业务流程是指使用会话初始协议(Session Initiation Protocol,SIP)进行语音或视频通话的过程。
volte,终端通过何种控制协议实现ps域语音呼叫,sip

竭诚为您提供优质文档/双击可除volte,终端通过何种控制协议实现ps域语音呼叫,sip篇一:volte呼叫信令流程一、终端开机的ims注册过程:用户开机以后,首先完成附着过程,附着完成以后,发起ims注册过程。
在ims注册流程中,先建立qci=5的sip信令承载。
然后进行sip的注册过程,当完成注册过程以后,就可以进行Volte呼叫了。
sip信令的注册过程如下图所示。
二、Volte呼叫(volte,终端通过何种控制协议实现ps域语音呼叫,sip)Volte的信令呼叫流程:三、Volte呼叫volte的amR-wb12.65k的确定amR-wb采样频率为16khz,amR的采用频率为8khz。
amR-wb总共支持8种模式,其中模式2代表amR-wb12.65kbps,模式8代表amR-wb23.85kbps。
在上图中就是mode-set=2,表示amR-wb只适应12.65kbps编码方式。
Volte呼叫过程中,inVite消息中携带的媒体类型和编码格式:主被叫协商以后,在update消息中确定的媒体类型和编码格式:篇二:Volte语音信令流程Volte语音流程语音呼叫流程6个模块:1、invite业务请求2、会话进度上报3、协商sdp4、振铃5、接通6、挂机前台信令:sip信令详析:1、inVite-Request(inVite)用户a发送上行数据,呼叫用户b,首先向as服务器(p-cscF)发送inVite请求,lte系统中会以数据的方式进行传输,用户a发送上行数据到as服务器,其中携带sip 信令inVite请求。
最大跳跃数,就是经过sip服务器的跳跃次数,主要是防止循跳跃,每注册一次,该整数减一。
p-cscF对不同sip消息的处理2、100trying(inVite-trying/inVite100)as服务器发送100trying的确认消息给用户a,确认收到inVite消息.临时响应,表示你的请求已经收到,在处理中;同时转发inVite到用户b,对ueb发起寻呼流程;3、183sessionprogress(invite-sessionprogress/invite183)用户b向as服务器送183sessionprogress消息,提示建立对话的进度信息。
IMS注册呼叫信令流程详解 PPT

Page9
目录
1 IMS中相关协议简介 1 SIP相关协议 2 SIP协议消息格式 3 SIP消息主要头域
SIP消息中的头域
From:标识请求的发起者 如 From:<sip:>;tag=pohia
To:指定请求的接收者或用户需要注册的地址,TAG标签用来区分不同被叫建 立的会话。 如 To:<sip: >;tag=acgt
会话描述协议SDP(Session Description Protocol)协议为应用层的控制 协议,用于SIP会话建立过程中的媒体协商过程。
RTP/RTCP:都为应用层的承载面协议,SIP会话建立后,RTP协议保证媒体 流的实时传输。RTCP协议对实时传输的媒体流进行监控。
目录
1 IMS中相关协议简介 1 SIP相关协议 2 SIP协议消息格式 3 SIP消息主要头域
S-CSCF分配
I-CSCF根据从HSS接收到的每个S-CSCF的能力选择一个合适的S-CSCF
能力集中各能力的含义由运营商定义。
P-CSCF
ICSCF中配置有每个 SCSCF的能力集
I-CSCF
User1
User1 的注册信息: 必选能力 :1,2,3,4 可选能力 :5,6
HSS
S-CSCF1 能力集 :3,4,5
(3)183(根据最顶端Via头找到P, 将 Record-Route消息头中带回)
(5)PRACK(将Record-Route消息头颠倒 顺序,变换成Route消息头,后续请求 路由根据一系列的Route消息头路由)
(6)PRACK
SIP消息中的头域
Service-Route:由S-CSCF设置,在REGISTER请求的200(OK)响应中将S-CSCF 的IP地址通过该消息头返回给P-CSCF,在后续的会话过程中, P-CSCF通过该 消息头找到S-CSCF。 如:Service-Route:<sip:SCSCF1.home.fr>;lr
IMS业务流程介绍

IMS业务流程介绍首先是用户注册。
在IMS中,用户需要进行注册才能使用该系统提供的各种多媒体服务。
用户注册包括认证和位置注册两个过程。
认证过程是通过提供用户的身份信息和密码进行验证,确认用户的身份合法性。
位置注册过程是用户在网络中的位置登记,以便网络能够正确地处理用户进行的呼叫和其他服务请求。
一旦用户注册成功,就可以建立呼叫。
IMS支持多种呼叫类型,包括点对点呼叫、多方呼叫、视频呼叫等。
呼叫建立过程包括寻址、呼叫信令传输、媒体协商等环节。
首先,寻址过程确定用户的IP地址和服务能力,以及呼叫目的地的IP地址和服务能力。
然后,呼叫信令传输过程使用SIP(Session Initiation Protocol)进行呼叫的建立和释放。
最后,在呼叫建立过程中进行媒体协商,例如确定音视频编解码方式、媒体传输参数等。
一旦呼叫建立,用户可以使用各种服务。
IMS支持多种多媒体服务,包括语音通话、视频通话、实时消息、文件传输、在线游戏等。
通过IMS,用户可以选择并使用所需的服务。
服务控制过程包括服务请求、服务识别、服务授权和服务计费等环节。
用户可以通过设备上的用户界面发起服务请求,然后IMS系统根据服务请求中的服务识别信息,对用户的请求进行验证和授权。
一旦服务授权通过,IMS系统会提供相应的服务,并记录用户使用的服务量,以进行计费。
最后是呼叫释放。
呼叫释放可以是用户主动发起的,也可以是系统发起的。
用户主动发起呼叫释放时,可以通过设备上的用户界面发送释放请求,然后IMS系统进行呼叫释放的处理。
系统发起呼叫释放时,可能是由于呼叫过程中发生了错误或异常情况,例如呼叫建立失败、服务控制失败等。
IMS系统会向用户发送释放信令,告知用户呼叫释放的原因。
综上所述,IMS的业务流程包括用户注册、呼叫建立、服务控制和呼叫释放等环节。
用户通过注册来使用IMS提供的多媒体服务,通过呼叫建立来进行通话或其他服务,通过服务控制来验证授权和计费,通过呼叫释放来结束通话。
ims呼叫流程

ims呼叫流程IMS呼叫流程。
IMS(IP Multimedia Subsystem)是一种基于IP网络的多媒体子系统,它为各种多媒体服务提供了一个统一的处理平台。
在IMS网络中,呼叫流程是非常重要的一环,它涉及到用户之间的通信建立和维护。
下面将介绍IMS呼叫流程的详细步骤。
首先,当用户A拨打用户B的号码时,呼叫请求首先到达用户A所在的本地IMS网络。
本地IMS网络会对呼叫请求进行鉴权和鉴权,确保用户A有权进行呼叫操作。
一旦鉴权通过,本地IMS网络会向用户B所在的本地IMS网络发送呼叫请求。
接下来,用户B所在的本地IMS网络收到呼叫请求后,会再次进行鉴权和鉴权,确保用户B有权接听呼叫。
如果鉴权通过,用户B的终端会响铃,提示用户B有呼叫请求。
当用户B接听呼叫后,用户A和用户B之间的媒体流开始建立。
本地IMS网络会为用户A和用户B之间的通话建立一个会话,并负责会话的传输和维护。
在通话过程中,本地IMS网络会监控通话质量,确保通话畅通无阻。
最后,在通话结束时,用户A或用户B挂断电话,本地IMS网络会释放会话资源,结束通话。
同时,本地IMS网络会向对方发送挂断消息,通知对方通话已经结束。
总的来说,IMS呼叫流程包括呼叫请求的发起、鉴权和鉴权、呼叫接听、媒体流建立和通话结束等步骤。
通过这些步骤,IMS网络能够实现用户之间的多媒体通信,为用户提供高质量的通话体验。
在实际应用中,IMS呼叫流程还可能涉及到一些特殊情况的处理,比如用户不在线、用户忙线、用户拒接等情况。
针对这些情况,IMS网络会有相应的处理机制,确保呼叫流程能够顺利进行。
总之,IMS呼叫流程是IMS网络中非常重要的一环,它直接影响到用户之间通信的质量和稳定性。
只有对IMS呼叫流程有深入的了解,才能更好地设计和优化IMS网络,为用户提供更好的通信服务。
希望本文对IMS呼叫流程有所帮助,谢谢阅读。
SIP协议呼叫流程及协议分析

一、SIP协议介绍:会话发起协议SIP(Session Initiation Protocol)是一个应用层控制信令协议,用于建立、更改和终止多媒体会话或呼叫。
SIP作为一个基础,可以在其上提供很多不同的服务。
目前已经定义的媒体类型有音频、视频、应用、数据、控制。
二、SIP呼叫流程:注册流程:(1)用户首次试呼时,终端代理A 向代理服务器发送REGISTER 注册请求;(2)代理服务器通过后端认证/计费中心获知用户信息不在数据库中,便向终端代理回送401Unauthorized 质询信息,其中包含安全认证所需的令牌;(3)终端代理提示用户输入其标识和密码后,根据安全认证令牌将其加密后,再次用REGISTER 消息报告给代理服务器;(4)代理服务器将REGISTER 消息中的用户信息解密,通过认证/计费中心验证其合法后,将该用户信息登记到数据库中,并向终端代理A 返回成功响应消息200 OK。
呼叫流程:(1)用户摘机发起一路呼叫,终端代理A 向该区域的代理服务器发起Invite 请求;(2)代理服务器通过认证/计费中心确认用户认证已通过后,检查请求消息中的Via 头域中是否已包含其地址。
若已包含,说明发生环回,返回指示错误的应答;如果没有问题,代理服务器在请求消息的Via 头域插入自身地址,并向Invite 消息的To 域所指示的被叫终端代理B 转送Invite 请求;(3)代理服务器向终端代理A 送呼叫处理中的应答消息,100 Trying;(4)终端代理B 向代理服务器送呼叫处理中的应答消息,100 Trying;(5)终端代理B 指示被叫用户振铃,用户振铃后,向代理服务器发送180 Ringing 振铃信息;(6)代理服务器向终端代理A 转发被叫用户振铃信息;(7)被叫用户摘机,终端代理B 向代理服务器返回表示连接成功的应答(200 OK);(8)代理服务器向终端代理A 转发该成功指示(200 OK);(9)终端代理A 收到消息后,向代理服务器发ACK 消息进行确认;(10)代理服务器将ACK 确认消息转发给终端代理B;(11)主被叫用户之间建立通信连接,开始通话;结束流程:(2)用户通话结束后,被叫用户挂机,终端代理B 向代理服务器发送Bye 消息;(3)代理服务器转发Bye 消息至终端代理A,同时向认证/计费中心送用户通话的详细信息,请求计费;(4)主叫用户挂机后,终端代理A 向代理服务器发送确认挂断响应消息200 OK;(5)代理服务器转发响应消息200OK;注:RFC3621上结束流程为:终端代理B直接发送Bye至终端代理A(未通过代理服务器转发),测试时使用的X-Lite软件Bye消息目的IP为代理服务器。
IMS注册呼叫信令流程详解

IMS注册呼叫信令流程详解
1.IMS注册过程:
-移动设备启动时,会向IMS注册服务发送注册请求。
该请求包含设备的标识信息和网络接入类型等。
-IMS注册服务收到注册请求后,会验证设备的合法性,并且分配一个唯一的标识号码给该设备。
-设备收到来自IMS注册服务的确认消息后,将得到的标识号码保存为设备的IMS私有标识。
2.呼叫设置过程:
-主叫设备向IMS呼叫服务发送呼叫请求。
该请求包含被叫设备的标识号码和呼叫类型等。
-IMS呼叫服务根据被叫设备的标识号码找到对应的位置信息,并将呼叫请求发送给被叫设备。
-被叫设备收到呼叫请求后,可以选择接受或拒绝该呼叫请求。
如果接受请求,被叫设备会回复一个确认消息给IMS呼叫服务。
-IMS呼叫服务收到被叫设备的确认消息后,会将呼叫的相关信息传递给主叫设备,并向主叫设备发送呼叫确认消息。
3.呼叫释放过程:
-当呼叫结束时,主叫设备会向IMS呼叫服务发送呼叫释放请求。
-IMS呼叫服务收到释放请求后,会向被叫设备发送释放消息。
-被叫设备收到释放消息后,向IMS呼叫服务发送释放确认消息。
-IMS呼叫服务收到释放确认消息后,将呼叫释放的相关信息传递给
主叫设备,并向主叫设备发送释放确认消息。
总结起来,IMS注册呼叫信令流程包括注册过程、呼叫设置过程和呼
叫释放过程。
通过这些过程,移动设备可以在IMS网络上实现多媒体通信,包括语音、视频、短信和数据传输等。
这些信令过程保证了设备之间的顺
畅通信,使人们能够享受高质量的多媒体通信服务。
ims呼叫流程

ims呼叫流程IMS呼叫流程。
IMS(IP Multimedia Subsystem)是一种基于IP网络的多媒体子系统,它为各种多媒体服务提供了统一的架构和接口。
在IMS中,呼叫流程是其中一个重要的组成部分,它涉及到用户设备、IMS核心网络和其他相关网络实体之间的通信和交互。
本文将详细介绍IMS呼叫流程的相关内容。
首先,当用户A拨打用户B的电话时,呼叫流程开始。
用户A的设备首先会向其所在的IMS核心网络发送呼叫请求,IMS核心网络会对呼叫请求进行处理,并根据用户B的位置信息将呼叫请求转发给用户B所在的网络。
接着,用户B的设备会接收到呼叫请求,并向IMS核心网络发送响应消息,确认是否接受呼叫。
IMS核心网络会将用户B的响应消息转发给用户A的设备,从而完成呼叫的建立。
在呼叫建立之后,用户A和用户B之间可以进行语音通话、视频通话或其他多媒体通信。
当通话结束时,用户A或用户B可以发起挂断操作,IMS核心网络会收到挂断请求,并进行相应的处理,最终结束通话。
需要注意的是,在整个呼叫流程中,IMS核心网络扮演着关键的角色,它负责呼叫请求的处理、转发和通话的管理。
同时,IMS核心网络还需要与其他相关网络实体进行交互,以实现用户设备之间的通信。
除了上述的基本呼叫流程,IMS还支持一些高级的功能,如呼叫转移、呼叫等待、多方通话等。
这些功能在实际的通信场景中都有着重要的作用,它们丰富了通信的方式和方式,提高了用户的通信体验。
总的来说,IMS呼叫流程是一个复杂而又精密的系统,它涉及到多个实体之间的协作和交互,以实现用户设备之间的通信。
通过本文的介绍,相信读者对IMS呼叫流程有了更加全面和深入的了解,这对于理解和应用IMS技术都具有着重要的意义。
希望本文能够对您有所帮助,谢谢阅读!。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
3GPP2 X.S0013-009-0Version: 1.0Date: December 2007IMS/MMD Call Flow ExamplesCOPYRIGHT3GPP2 and its Organizational Partners claim copyright in this document and individual Organizational Partners may copyright and issue documents or standards publications in individual Organizational Partner’s name based on this document. Requests for reproduction of this document should be directed to the 3GPP2 Secretariat at secretariat@. Requests to reproduce individual Organizational Partner’s documents should be directed to that Organizational Partner. See for more information.X.S0013-009-0 v1.0 IMS/MMD Call Flow Examples Revision HistoryRevision Changes Date v1.0 Initial Publication December, 2007IMS/MMD Call Flow Examples1CONTENTS23Revision History ii 41Introduction 4 2Glossary and Definitions 5 562.1Acronyms 5 72.2Definitions 53References 6 893.1Normative References 6 103.2Informative References 64Methodology 711124.1Functional Entities covered by call flows 7 134.2Identities 7 144.2.1User and Network Identities (7)154.3Notation for call flows 8 165Registration Procedures 8 6Signaling flows for session establishment 917186.1General assumptions 9 196.2Scenarios 96.2.1Scenario 1 (9)20216.2.1.1Assumptions (10)226.2.1.2Call Flow (10)6.2.2Scenario 2 (15)236.2.2.1Assumptions (15)246.2.2.2Call Flow (15)256.2.3Scenario 3 (16)266.2.3.1Assumptions (16)27286.2.3.2Call flow (16)296.2.4Scenario 4 (23)306.2.4.1Assumptions (23)316.2.4.2Call flow (23)32Appendix A (Informative): VoIP example with QoS reservation, activation, and updating at RAN 31A.1QoS Configuration for VoIP in advance 3133A.2Resource activation on originating side 3334A.3Resource activation on terminating side 34351A.4Updating of resource reservation 35 2A.4.1Resource updating on originating side 35A.4.2Resource updating on terminating side 37 34LIST OF FIGURES1Figure 1 Originating UE resource ready, terminating UE resource ready (10)23Figure 2 Originating UE resource ready, terminating UE resource not ready (15)4Figure 3 Originating UE not ready, Terminating UE ready (17)5Figure 4 Originating UE not ready, Terminating UE not ready (24)6Figure 5 QoS configuration for VoIP (32)Figure 6 QoS Activation on Originating UE (33)78Figure 7 QoS Activation on Terminating UE (34)9Figure 8 Resource Updating on Originating UE (36)Figure 9 Resource Updating on Terminating UE (37)10111 Introduction12The document provides examples of signaling flows for the IP multimedia call control based on 3SIP and SDP. The signaling flows specified in this document are only for informational purposes.If there is ambiguity between this specification and [1], the text specified in [1] shall be followed. 45The call flows describe the behavior of the mobile stations under various conditions for setting up 6real time services like VoIP and PSVT.7In this document, several key words are used to signify the requirements. The key words “shall”, 8“shall not”, “should”, “should not” and “may” are to be interpreted as described in [6] and the TIA 9Engineering Style Manual.X.S0013-009-0 v1.0 IMS/MMD Call Flow Examples2 Glossary and Definitions12.1 Acronyms2 AAA Authentication, Authorization, and Accounting3AN Access Network 4 AT Access Terminal 5 EMPA Enhanced Multi-Flow Packet Application 6 HRPD High Rate Packet Data 7 HSS Home Subscriber Server 8 IMS IP Multimedia Subsystem9 IP Internet Protocol 10 IP-CAN IP-Connectivity Access Network 11 MMD Multi Media Domain 12 MPA Multi-Flow Packet Application 13 PDSN Packet Data Serving Node 14 PFO PPP Free Operation 15 PPP Point to Point Protocol 16 PSVT Packet Switched Video Telephony 17 QoS Quality of Service 18 RAN Radio Access Network19 RSVP Resource ReSerVation Protocol 20 SBBC Service Based Bearer Control 21 SDP Session Description Protocol 22 SIP Session Initiation Protocol 23 TFT Traffic Flow Template 24 UDP User Datagram Protocol 25 UE User Equipment 26 VoIP Voice Over IP27 2.2 Definitions28 CallerThe person placing a call29 Called party The recipient or destination of a call30 AlertThe audible notification given to the Called party of an incoming call. 31 Ring BackThe audible notification given to a Caller to indicate that the Called 32 party has been located and is being alerted333 References12The following documents contain provisions, which, through reference in this text, constitute 3provisions of this document.4References are either specific (identified by date of publication, edition number, version 5number, etc.) or non-specific.6For a specific reference, subsequent revisions do not apply.7For a non-specific reference, the latest version applies. In the case of a reference to a 83GPP2 document, a non-specific reference implicitly refers to the latest version of that 9document in the same Release as the present document.References3.1 Normative1011[1]3GPP2 X.S0013-004-A v1.0: “IP Multimedia Call Control Protocol Based on SIP and SDP 12Stage 3”.13[2]3GPP2 X.S0013-002-A v1.0: “IP Multimedia (IM) Subsystem – Stage 2”.14[3]IETF RFC 2429, “ RTP Payload Format for the 1998 Version of ITU-T Rec. H.263 Video15(H.263+)”.16[4]IETF RFC 3558, “RTP Payload Format for Enhanced Variable Rate Codecs (EVRC) and 17Selectable Mode Vocoders (SMV)”.18[5]IETF RFC 3262, “Reliability of provisional Responses in the Session Initiation Protocol(SIP)”1920[6]IETF RFC 2119, “Key words for use in RFCs to Indicate Requirement Levels”, March 1997.21[7]3GPP2 X.S0013-005-A v1.0: “All-IP Core Network Multimedia Domain IP Multimedia 22Subsystem Cx Interface Signaling flows and Message Contents” – Annex A.23References3.2 Informative242526[8] 3GPP2 X.S0013-012-0 v1.0: “All-IP Core Network Multimedia Domain; Service Based 27Bearer Control – Stage 2”.28X.S0013-009-0 v1.0 IMS/MMD Call Flow Examples4 Methodology14.1 Functional Entities covered by call flows23The flows show the signaling exchanges between the following functional entities:45User Equipment (UE)6Proxy-CSCF (P-CSCF)7Interrogating-CSCF (I-CSCF)8Serving-CSCF (S-CSCF)910The call flows mainly show the interactions between the UE-1 and UE-2 for call origination and 11termination. The procedures and the message exchanged between these elements are as described in [1].124.2 Identities134.2.1 User and Network Identities1415The public identity of UE-1 is sip:UE-1@. The public identity of UE-2 issip:UE-2@161718The following are network entities associated with UE-1:1920Home Domain of UE-1: 21P-CSCF serving UE-1: 22I-CSCF serving UE-1: 23S-CSCF serving UE-1: 24The following are the network entities associated with UE-2:2526Home Domain of UE-2: 27P-CSCF serving UE-2: 28I-CSCF serving UE-2: 29S-CSCF serving UE-2: 3031In the example session establishment flows, both UE-1 and UE-2 are assumed to be in the home 32network. So, the P-CSCF1 and P-CSCF2 are in UE-1’s and UE-2’s respective home networks.33However, according to [2], the P-CSCF can be either in the home or visited network. The session 34establishment call flows described in this document are not affected whether the P-CSCF is in the 35visited or home network.36For brevity, I-CSCF and S-CSCF are shown together in the session establishment call flows.4.3 Notation for call flows12Offer/Answer exchange process is also shown in the call flows. For brevity, the following notation is used to 3represent offer and answer:4•“O” and “A” in the call flows represent “Offer” and “Answer”.5•“O n” represents the n th SDP offer. For example, if there are two offer/answer exchanges during the call 6setup process, then the first offer will be noted as “O1” and the second as “O2”.7•“A n” represents the n th SDP Answer. Answer “A n” corresponds to Offer “O n”.891011Procedures5 Registration1213The registration procedures for UE-1 and UE-2 are as specified in [1] and [7]. UE-1 registers with 14S-CSCF1 through P-CSCF1 and UE-2 registers with S-CSCF2 through P-CSCF2.1516171 6 Signaling flows for session establishment2 In all of the call flows provided in this document, registration procedures are assumed to have already been3 completed. 45 6.1 General assumptions6All the call flows shown in this document assume the following:7 • The originating UE and the terminating UE both support precondition and reliable provisional responses8 100 (rel).9 • The originating UE will only include “Supported: precondition” in the SIP INVITE it sends out to its peer.10 o If the originating UE wishes to both send and receive media with its peer, and the resources are11 reserved for the stream, the originating UE marks the stream as sendrecv using the “a=sendrecv” 12 attribute. (Note: for sendonly streams, the originating UE marks the stream as “a=sendonly” and 13 for recvonly streams, the originating UE marks the stream as “a=recvonly”).14 o If the originating UE wishes to communicate with its peer, and the resources are not reserved for15 the stream, the originating UE marks the particular stream as inactive using the “a=inactive” 16 attribute.17 • If the “Supported” header in the incoming INVITE includes “precondition” and the terminating UE decides18 to use precondition, the terminating UE includes “Require: precondition” in all reliable responses that carry 19 SDP (i.e., offer or answer).20 • The terminating UE sends 180 (Ringing) response reliably. Note that sending the 180 (Ringing) response21 reliably does not increase the call setup time experienced by the caller.22 • If the 180 (Ringing) response contains an answer (or offer), the called party is alerted only after receiving a23 PRACK request for the 180 (Ringing) response. This enhances the caller/called party user experience. For 24 example, if the called party picks up the phone before the 180 (Ringing) response reaches the caller, the 25 caller will only be able to hear the called party but will not be able to respond,26 • Both UEs have the required resources ready before the terminating UE can alert the called party of an27 incoming call.28 • For brevity, 100 (Trying) messages are not shown in the figures. 29 • The SBBC interactions [8] are not shown in the call flows. 3031 6.2 Scenarios32 The following scenarios are considered for the session establishment process:33 • Scenario 1: Originating UE has resources ready before sending INVITE, terminating UE has resources34 ready before sending the first provisional response;35 • Scenario 2: Originating UE has resources ready before sending INVITE, terminating UE does not have36 resources ready before sending the first provisional response;37 • Scenario 3: Originating UE does not have resources ready before sending INVITE, terminating UE has38 resources ready before sending the first provisional response;39 • Scenario 4: Originating UE does not have resources ready before sending INVITE, terminating UE does40 not have resources ready before sending the first provisional response.4142 The call flows for the above four scenarios are depicted in the subsequent subsections.43 6.2.1 Scenario 144 This section covers the scenario where the originating UE’s resources are ready before sending INVITE, and the45terminating UE’s resources are ready before sending the first provisional response.126.2.1.1 Assumptions3Flow6.2.1.2 Call45The following section applies to the case where UE-1 has its resource ready before sending the6INVITE request to UE-2. The terminating UE, UE-2, also has its resource ready before answering theINVITE request with the first provisional response.789Note: This flow assumes UE-2 has sufficient resources available prior to receiving the INVITE.101112Figure 1 Originating UE resource ready, terminating UE resource ready131. INVITE (UE-1 to P-CSCF1)1415UE-1 determines the set of codecs or media streams that it wishes to support for the session. It builds an SDP offer16containing characteristics of each codec, and assigns local port numbers for each possible media flow. Multiple media flows may be offered, and for each media flow (m= line in SDP), there may be multiple codec choices 1718offered.19For this example, it is assumed that UE-1 is willing to establish a multimedia session comprising a video stream and2021an audio stream. The video stream supports one H.263 codec as specified in [3]. The audio stream supports both22EVRC and SMV codecs as specified in [4].2324In addition, UE-1 indicates that precondition is supported for this session. In the SDP offer, it indicates that resource25is already available at the local end point.Table 6.2.1.2-1 INVITE (UE-1 to P-CSCF1)1INVITE sip:UE-2@ SIP/2.0From: <sip:UE-1@>;tag=169f498-0-13c4-78e-2044f20e-78eTo: <sip:UE-2@>Call-ID: 16a1b80-0-13c4-78e-6a540802-78e@10.20.1.100CSeq: 1 INVITEVia: SIP/2.0/UDP 10.20.1.100:1357;comp=sigcomp;branch=z9hG4bK-78f-1d86b6-24d29348Max-Forwards: 70Route: <sip::7531;lr;comp=sigcomp>, <sip:;lr>P-Preferred-Identity: "User-1" <sip:UE-1@>P-Access-Network-Info: 3GPP2-1X-HRPD; ci-3gpp2=1234123412341234123412341234123411Privacy: noneRequire: sec-agreeProxy-Require: sec-agreeSecurity-Verify: ipsec-3gpp; q=0.1; alg=hmac-sha-1-96;spi-c=98765432; spi-s=76543210;port-c=13579; port-s=23456Contact: <sip:UE-1@10.20.1.100:1357;comp=sigcomp>Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGESupported: 100rel, preconditionContent-Type: application/sdpContent-Length: xxxv=0o=- 3323527065117000 3323527065117000 IN IP4 10.20.1.100s=-c=IN IP4 10.20.1.100t=0 0m=audio 49500 RTP/AVP 97 99b=AS:25.4a=curr:qos local sendrecva=curr:qos remote nonea=des:qos optional local sendrecva=des:qos optional remote sendrecva=rtpmap:97 EVRC/8000a=ptime:20a=rtpmap:99 SMV/8000m=video 49600 RTP/AVP 34b=AS:75a=curr:qos local sendrecva=curr:qos remote nonea=des:qos optional local sendrecva=des:qos optional remote sendrecva=rtpmap:34 H263/90000a=cif:1232. INVITE (P-CSCF1 to I/S-CSCF1)4The P-CSCF1 adds itself to the Record-Route header and Via header. As the request is forwarded to an interface that 5is not compressed, the P-CSCF1 SIP URI does not contain the "comp=sigcomp" parameter. The P-CSCF1 removes 6the Security-Verify header and associated "sec-agree" option-tags prior to forwarding the request. As the Require 7and Proxy-Require headers are empty, P-CSCF1 removes those headers completely.8The INVITE request is forwarded to the I/S-CSCF1.910113. INVITE (I/S-CSCF1 to I/S-CSCF2)12S-CSCF1 performs an analysis of the destination address, and determines the network operator to whom the 13destination subscriber belongs. Since the originating operator does not desire to keep their internal configuration 14hidden, S-CSCF1 forwards the INVITE request directly to I-CSCF2 in the destination network.1516The I-CSCF2 sends a query to the HSS to find out the S-CSCF2 of the called user. The HSS responds with the1address of the current S-CSCF2 for the terminating subscriber. I-CSCF2 forwards the INVITE request to the2S-CSCF2 that will handle the session termination. S-CSCF2 validates the service profile of this subscriber and3evaluates the initial filter criteria.454-5. INVITE (I/S-CSCF2 to UE-2)S-CSCF2 forwards the INVITE request to UE-2 via P-CSCF2.6786. 180 Ringing (UE-2 to P-CSCF2)9UE-2 has accepted both video and audio streams, and EVRC is the chosen codec for the audio stream. Since10resources are already available for UE-2, it sends a 180 (Ringing) response reliably with the SDP answer indicating11that resources are reserved at both endpoints.127-10. 180 Ringing (P-CSCF2 to UE-1)1314P-CSCF2 forwards the 180 (Ringing) response to UE-1 via I/S-CSCF2, I/S-CSCF1, and P-CSCF1. Table 6.2.1.2-215shows the 180 (Ringing) response in detail.1617Table 6.2.1.2-2 180 Ringing (P-CSCF1 to UE-1)SIP/2.0 180 RingingFrom: <sip:UE-1@>;tag=169f498-0-13c4-78e-2044f20e-78eTo: <sip:UE-2@>;tag=169f7f8-0-13c4-9f6-33835972-9f6Call-ID: 16a1b80-0-13c4-78e-6a540802-78e@10.20.1.100CSeq: 1 INVITEVia: SIP/2.0/UDP 10.20.1.100:1357;comp=sigcomp;branch=z9hG4bK-78f-1d86b6-24d29348Record-Route:<sip:;lr>,<sip:;lr>,<sip:;lr>, <sip::7531;lr;comp=sigcomp>Contact: <sip:UE-2@10.30.1.24:8805;comp=sigcomp>P-Asserted-Identity: "User 2" <sip:UE-2@>, <tel:+1-858-335-7341>Privacy: noneAllow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGERequire: 100rel, preconditionRSeq: 1000Content-Type: application/sdpContent-Length: xxxv=0o=- 33235270718000 33235270718000 IN IP4 10.30.1.24s=-c=IN IP4 10.30.1.24t=0 0m=audio 49700 RTP/AVP 97a=curr:qos local sendrecva=curr:qos remote sendrecva=des:qos optional local sendrecva=des:qos optional remote sendrecva=rtpmap:97 EVRC/8000a=ptime:20m=video 49702 RTP/AVP 34a=curr:qos local sendrecva=curr:qos remote sendrecva=des:qos optional local sendrecva=des:qos optional remote sendrecva=rtpmap:34 H263/90000a=cif:118192011. PRACK (UE-1 to P-CSCF1)21UE-1 acknowledges the 180 (Ringing) response from UE-2 with a PRACK request as specified in [5]. (Table6.2.1.2-3)2223If UE-1 determines to make any change in media flows, it includes a new SDP offer in the PRACK request sent to 12UE-2. Otherwise, no SDP offer is included in the PRACK request.3Table 6.2.1.2-3 PRACK (UE-1 to P-CSCF1)4PRACK sip:UE-2@10.30.1.24:8805;comp=sigcomp SIP/2.0From: <sip:UE-1@>;tag=169f498-0-13c4-78e-2044f20e-78eTo: <sip:UE-2@>; tag=169f7f8-0-13c4-9f6-33835972-9f6Call-ID: 16a1b80-0-13c4-78e-6a540802-78e@10.20.1.100P-Access-Network-Info: 3GPP2-1X-HRPD;ci-3gpp2=1234123412341234123412341234123411CSeq: 2 PRACKVia: SIP/2.0/UDP 10.20.1.100:1357;comp=sigcomp;branch=z9hG4bK-78f-1d86b6-24d29348Max-Forwards: 70Route:<sip::7531;lr;comp=sigcomp>,<sip:;lr>,<sip:scscf2.d ;lr>,<sip:;lr>RAck: 1000 1 INVITEContent-Length: 05612. PRACK (P-CSCF1 to I/S-CSCF1)7The P-CSCF forwards the PRACK request to S-CSCF. As the Proxy-Require header is empty, the P-CSCF removes this header completely.891013-14. PRACK (I/S-CSCF1 to P-CSCF2)The I/S-CSCF1 forwards the PRACK request to P-CSCF2 via I/S-CSCF2.11121315. PRACK (P-CSCF2 to UE-2)UE-2 starts alerting the user after it receives the PRACK request for the 180 (Ringing) response. UE-2 may also1415alert the user before receiving the PRACK request, but there may be media clipping if the user answers the call before the 180 (Ringing) response reaches UE-1.16171816. 200 OK (UE-2 to P-CSCF2)19The 200 OK response is generated by UE-2 to acknowledge the reception of the PRACK request.202117-20. 200 OK (P-CSCF2 to UE-1)22The P-CSCF2 forwards the 200 OK response to UE-1 via I/S-CSCF2, I/S-CSCF1, and P-CSCF1. Table 6.2.1.2-4 23shows the 200 OK message going from P-CSCF1 to UE-1.2425Table 6.2.1.2-4 200 OK (P-CSCF1 to UE-1)SIP/2.0 200 OKFrom: <sip:UE-1@>;tag=169f498-0-13c4-78e-2044f20e-78eTo: <sip:UE-2@>;tag=169f7f8-0-13c4-9f6-33835972-9f6Call-ID: 16a1b80-0-13c4-78e-6a540802-78e@10.20.1.100CSeq: 2 PRACKVia: SIP/2.0/UDP 10.20.1.100:1357;comp=sigcomp;branch=z9hG4bK-78f-1d86b6-24d29348Content-Length: 0262721. 200 OK (UE-2 to P-CSCF2)28When the user at UE-2 answers the call, UE-2 generates a 200 OK response towards UE-1 to answer the INVITE 29request.303122-25. 200 OK (P-CSCF2 to UE-1)The P-CSCF2 forwards the 200 OK response to UE-1 via I/S-CSCF2, I/SCSCF1, and P-CSCF1. Table 6.2.1.2-53233shows the 200 OK message going from P-CSCF1 to UE-1.Table 6.2.1.2-5 200 OK (P-CSCF1 to UE-1)1 SIP/2.0 200 OKFrom: <sip:UE-1@>;tag=169f498-0-13c4-78e-2044f20e-78e To: <sip:UE-2@>;tag=169f7f8-0-13c4-9f6-33835972-9f6 Call-ID: 16a1b80-0-13c4-78e-6a540802-78e@10.20.1.100 CSeq: 1 INVITERecord-Route:<sip:;lr>,<sip:;lr>,<sip:;lr>,<sip::7531;lr;comp=sigcomp>Via: SIP/2.0/UDP 10.20.1.100:1357;comp=sigcomp;branch=z9hG4bK-78f-1d86b6-24d29348 Contact: <sip:UE-2@10.30.1.24:8805;comp=sigcomp> Content-Length: 02 26. ACK (UE-1 to P-CSCF1)3 UE responds to the 200 OK with an ACK request sent to P-CSCF1. (Table 6.2.1.2-6).4 Table 6.2.1.2-6 ACK (UE-1 to P-CSCF1)567 27-30. ACK (P-CSCF1 to UE-2)8 The P-CSCF1 forwards the ACK response to UE-2 via I/S-CSCF1, I/S-CSCF2, and P-CSCF2.9 ACK sip:UE-2@10.30.1.24:8805;comp=sigcomp SIP/2.0From: <sip:UE-1@>;tag=169f498-0-13c4-78e-2044f20e-78e To: <sip:UE-2@>;tag=169f7f8-0-13c4-9f6-33835972-9f6 Call-ID: 16a1b80-0-13c4-78e-6a540802-78e@10.20.1.100 CSeq: 1 ACKVia: SIP/2.0/UDP 10.20.1.100:5060;comp=sigcomp;branch=z9hG4bK-792-1d9290-49ff0c31 Max-Forwards: 70Route: <sip::7531;lr;comp=sigcomp>,<sip:;lr>, <sip:;lr>, <sip:;lr> Content-Length: 0126.2.2 Scenario23This section covers the scenario where the originating UE’s resources are ready before sending INVITE, and the 4terminating UE’s resources are not ready before sending the first provisional response566.2.2.1 Assumptions7Flow6.2.2.2 Call89This scenario assumes that the terminating UE, UE-2, does not have the resource ready before sending the first 10provisional response. UE-2 may send a 183 (Session Progress) response unreliably. At the same time, UE-2 also 11starts the resource reservation process. Once the resource is ready at UE-2 side, the UE-2 sends 180 (Ringing) 12response reliably to UE-1, including an SDP answer to indicate that the resource is ready. The SDP offer/answer 13exchanges are the same as those in Scenario 1.1415Figure 2 Originating UE resource ready, terminating UE resource not ready16136.2.3 Scenario23This section covers the scenario where the originating UE’s resources are not ready before sending INVITE, and 4terminating UE’s resources are ready before sending the first provisional response.56.2.3.1 Assumptions6The call flow in this section assumes that the originating UE, UE-1, has resources ready before sending the PRACK 7request to the first provisional response. In case UE-1’s resources are not ready before sending the PRACK request 8for the first provisional response (183), then UE-1 needs to send an UPDATE request to UE-2 to indicate that 9resources are ready, after the resource reservation is completed.10flow6.2.3.2 Call1112The following section applies to the case where UE-1 has no resource reserved before sending the initial INVITE 13request to UE-2.141512Figure 3 Originating UE not ready, Terminating UE ready31-5. INVITE (UE-1 to P-CSCF1)45UE-1 determines the set of codecs or media streams that it wishes to support for the session. It builds a SDPcontaining characteristics of each codec, and assigns local port numbers for each possible media flow. Multiple 67media flows may be offered, and for each media flow (m= line in SDP), there may be multiple codec choices8offered.9For this example, it is assumed that UE-1 desires to establish a multimedia session comprising a video stream and an1011audio stream. The video stream supports one H.263 codec. The audio stream supports both EVRC and SMV codec.1213UE-1 does not indicate that precondition is required for this session, but indicates that it is supported. (This approachoptimizes compatibility and performance when interworking with 3rd party (non-MMD) terminals). In the SDP body,1415UE-1 indicates the current resource status and that the desired resource status is optional. UE-1 also sets every media stream to inactive mode by using the ‘a=inactive’ SDP attribute in the SDP offer. Detecting the QoS precondition 16content in the SDP, UE-2 indicates resource reservation, but the session can continue regardless of whether or not 17this reservation is possible.1819UE-1 does not indicate that reliable provisional responses are required, but indicates that they are supported. This2021gives UE-2 the ability to reliably send only those responses that are most appropriate.12Table 6.2.3.2-7 INVITE (UE-1 to P-CSCF1)INVITE sip:UE-2@ SIP/2.0Via: SIP/2.0/UDP 100.200.1.1:1357;comp=sigcomp;branch=z9hG4bK4d29348From: <sip:UE-1@>;tag=a48sTo: <sip:UE-2@>Call-ID: f81d4fae-7dec-11d0-a765-00a0c91e6bf6@CSeq: 1 INVITEMax-Forwards: 70Route: <sip::7531;lr;comp=sigcomp>, <sip:;lr>P-Preferred-Identity: "User-1" <sip:UE-1@>P-Access-Network-Info: 3GPP2-1X-HRPD; ci-3gpp2=1234123412341234123412341234123411Privacy: noneContact: <sip:UE-1@100.200.1.1:1357;comp=sigcomp>Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGERequire: sec-agreeProxy-Require: sec-agreeSupported: 100rel, preconditionSecurity-Verify: ipsec-3gpp; q=0.1; alg=hmac-sha-1-96; spi-c=9876543; spi-s=3456789;port-c=8642; port-s=7531Content-Type: application/sdpContent-Length: xxxv=0o=- 2987935614 2987935614 IN IP4 100.200.1.1s=-c=IN IP4 100.200.1.1t=0 0m=audio 10500 RTP/AVP 97 99b=AS:25.4a=inactivea=curr:qos local nonea=curr:qos remote nonea=des:qos optional local sendrecva=des:qos optional remote sendrecva=rtpmap:97 EVRC/8000a=ptime:20a=rtpmap:99 SMV/8000m=video 10600 RTP/AVP 34b=AS:75a=inactivea=curr:qos local nonea=curr:qos remote nonea=des:qos optional local sendrecva=des:qos optional remote sendrecva=rtpmap:34 H263/90000a=cif:1346-10. 183 (P-CSCF1 to UE-1)5UE-2 accepts both video and audio streams, and chooses EVRC as the codec for the audio stream. An SDP answer is 6included to assist UE-1 in completing resource reservation as early as possible. The SDP answer includes precondition status.781Table 6.2.3.2-8 183 Session Progress (P-CSCF1 to UE-1)SIP/2.0 183 Session ProgressVia: SIP/2.0/UDP 100.200.1.1:1357;comp=sigcomp;branch= z9hG4bK4d29348From: <sip:UE-1@>;tag=a48sTo: <sip:UE-2@>;tag=a9f6Call-ID: f81d4fae-7dec-11d0-a765-00a0c91e6bf6@CSeq: 1 INVITERecord-Route:<sip:;lr>,<sip:;lr>,<sip:;lr>,<sip::7531;lr;comp=sigcomp>Contact: <sip:UE-2@100.300.1.2:2345;comp=sigcomp>P-Asserted-Identity: "User 2" <sip:UE-2@>, <tel:+1-972-321-9876>Privacy: noneAllow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGERequire: 100rel, preconditionRSeq: 1000Content-Type: application/sdpContent-Length: xxxv=0o=- 35270718123 35270718123 IN IP4 100.300.1.2s=-c=IN IP4 100.300.1.2t=0 0m=audio 10700 RTP/AVP 97b=AS:25.4a=inactivea=curr:qos local sendrecva=curr:qos remote nonea=des:qos optional local sendrecva=des:qos optional remote sendrecva=conf:qos remote sendrecva=rtpmap:97 EVRC/8000a=ptime:20m=video 10702 RTP/AVP 34b=AS:75a=inactivea=curr:qos local sendrecva=curr:qos remote nonea=des:qos optional local sendrecva=des:qos optional remote sendrecva=conf:qos remote sendrecva=rtpmap:34 H263/90000a=cif:12311-15. PRACK (UE-1 to P-CSCF1)4UE-1 acknowledges the 183 (Session Progress) response from UE-2 with a PRACK request. Resource reservation at 5UE-1 is assumed to have been completed at some point prior to sending the PRACK request. The local resource 6status is included in the SDP offer.78。