`
javahigh1
  • 浏览: 1224820 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

SIP

 
阅读更多

SIP

SIP, the session initiation protocol, is the IETF protocol for VOIP and other text and multimedia sessions, like instant messaging, video, online games and other services.

Abstract from the RFC 3261 (formatted_and_explained version) - SIP: Session Initiation Protocol


This document describes Session Initiation Protocol (SIP), an application-layer control (signaling) protocol for creating, modifying, and terminating sessions with one or more participants. These sessions include Internet telephone calls, multimedia distribution, and multimedia conferences.

SIP invitations used to create sessions carry session descriptions that allow participants to agree on a set of compatible media types. SIP makes use of elements called proxy servers to help route requests to the user's current location, authenticate and authorize users for services, implement provider call-routing policies, and provide features to users. SIP also provides a registration function that allows users to upload their current locations for use by proxy servers. SIP runs on top of several different transport protocols.



SIP is very much like HTTP, the Web protocol, or SMTP. Messages consist of headers and a message body. SIP message bodies for phone calls are defined in SDP -the session description protocol.

  • SIP is a text-based protocol that uses UTF-8 encoding
  • SIP uses port 5060 both for UDP and TCP. SIP may use other transports


SIP offers all potentialities of the common Internet Telephony features like:

  • call or media transfer
  • call conference
  • call hold


Since SIP is a flexible protocol, it is possible to add more features and keep downward interoperability.

SIP also does suffer from NAT or firewall restrictions. (Refer to NAT and VOIP)

SIP can be regarded as the enabler protocol for telephony and voice over IP (VoIP) services. The following features of SIP play a major role in the enablement of IP telephony and VoIP:

  • Name Translation and User Location: Ensuring that the call reaches the called party wherever they are located. Carrying out any mapping of descriptive information to location information. Ensuring that details of the nature of the call (Session) are supported.
  • Feature Negotiation: This allows the group involved in a call (this may be a multi-party call) to agree on the features supported � recognizing that not all the parties can support the same level of features. For example video may or may not be supported; as any form of MIME type is supported by SIP, there is plenty of scope for negotiation.
  • Call Participant Management: During a call a participant can bring other users onto the call or cancel connections to other users. In addition, users could be transferred or placed on hold.
  • Call feature changes: A user should be able to change the call characteristics during the course of the call. For example, a call may have been set up as 'voice-only', but in the course of the call, the users may need to enable a video function. A third party joining a call may require different features to be enabled in order to participate in the call
  • Media negotiation: The inherent SIP mechanisms that enable negotiation of the media used in a call, enable selection of the appropriate codec for establishing a call between the various devices. This way, less advanced devices can participate in the call, provided the appropriate codec is selected.


The SIP protocol


The SIP protocol defines several methods.

SIP methods defined in the SIP RFC



SIP method extensions from other RFCs



SIP responses

SIP terms and definitions






SIP RFCs

  • RFC 2848 - The PINT Service Protocol: xtensions to SIP and SDP for IP Access to Telephone Call Service
  • RFC 2976 - The SIP INFO Method
  • RFC 3050 - Common Gateway Interface for SIP
  • RFC 3087 - Control of Service Context using SIP Request-URI
  • RFC 3261 Official Main SIP RFC
  • RFC 3261 - SIP: Session Initiation Protocol (Main SIP RFC)
  • RFC 3262 - Reliability of Provisional Responses in the Session Initiation Protocol (SIP)
  • RFC 3263 - Session Initiation Protocol (SIP): Locating SIP Servers
  • RFC 3264 - An Offer/Answer Model with the Session Description Protocol (SDP)
  • RFC 3265 - Session Initiation Protocol (SIP)-Specific Event Notification
  • RFC 3311 - The Session Initiation Protocol (SIP) UPDATE Method
  • RFC 3312 - Integration of Resource Management and Session Initiation Protocol (SIP)
  • RFC 3313 - Private Session Initiation Protocol (SIP) Extensions for Media Authorization
  • RFC 3319 - Dynamic Host Configuration Protocol (DHCPv6) Options for Session Initiation Protocol (SIP) Servers
  • RFC 3323 - A Privacy Mechanism for the Session Initiation Protocol (SIP)
  • RFC 3324 - Short Term Requirements for Network Asserted Identity
  • RFC 3325 - Private Extensions to the Session Initiation Protocol (SIP) for Asserted Identity within Trusted Networks
  • RFC 3326 - The Reason Header Field for the Session Initiation Protocol (SIP)
  • RFC 3327 - Session Initiation Protocol (SIP) Extension Header Field for Registering Non-Adjacent Contacts
  • RFC 3329 - Security Mechanism Agreement for the Session Initiation Protocol (SIP)
  • RFC 3361 - Dynamic Host Configuration Protocol (DHCP-for-IPv4) Option for Session Initiation Protocol (SIP) Servers
  • RFC 3388 - Grouping of Media Lines in the Session Description Protocol (SDP)
  • RFC 3420 - Internet Media Type message/sipfrag
  • RFC 3428 - Session Initiation Protocol (SIP) Extension for Instant Messaging
  • RFC 3485 - The Session Initiation Protocol (SIP) and Session Description Protocol (SDP) Static Dictionary for Signaling Compression (SigComp)
  • RFC 3486 - Compressing the Session Initiation Protocol (SIP)
  • RFC 3487 - Requirements for Resource Priority Mechanisms for the Session Initiation Protocol (SIP)
  • RFC 3515 - The Session Initiation Protocol (SIP) Refer Method
  • RFC 3524 - Mapping of Media Streams to Resource Reservation Flows
  • RFC 3966 - The tel URI for Telephone Numbers
  • RFC 4694 - Number Portability Parameters for the ""tel"" URI


References






See also


External SIP links

分享到:
评论

相关推荐

    中国电信IMS网络SIP协议规范总则要求

    中国电信IMS网络SIP协议规范总则要求 本标准是以 3GPP、IETF 相关标准为基础,结合中国电信网络的实际情况, 并综合中国电信集团公司对 IMS 网络的实验成果制定的。 编写方法上,项目组将 IMS 网络 SIP 协议规范分为...

    SIP模拟工具 SIP Inspector

    SIP Inspector 是一个用来模拟不同的SIP消息和通讯情景的工具,可用来创建 SIP 信令、定制 SIP 消息以及兼容输入和输出的消息包,该工具还可以直接从 pcap 文件中播放 RTP 流。

    免费的VOIP网络电话,Android平台SIP客户端

    免费的VOIP网络电话,Android平台SIP客户端 支持服务端: Cisco CallManager, OpenSER, Kamailio, OpenSIPS, Asterisk, Radvision, Nortel, Avaya等等 支持语音编码: G.711 aLaw/uLaw, G.722.1, G.722, SPEEX, SPEEX...

    SIP客户端软件,支持任意SIP服务器注册使用

    标准SIP协议客户端,电脑PC端软件,可配置自己SIP服务器使用,调试PBX,调试各种SIP服务器都很好用,支持主流语音编码!拿出来免费贡献,用的上的自行下载即可使用!SIP技术支持可以联系我们,标准SIP协议客户端,...

    chrome浏览器网页版SIP(290024).rar_Chrome sip_sip网页客户端_呼叫中心_网页_网页sip

    chrome 浏览器 网页SIP WEBRTC 开发 呼叫中心需要的工具 开发网页软电话 必备

    图书馆SIP2接口测试工具

    用于规范、指导RFID智能图书管理系统系统所使用的SIP2接口模块的二次开发。本指南适用于遵循3M的SIP2协议、通过Socket进行通讯的所有图书管理系统接口的开发。SIP2协议,全称为:Standard Interchange Protocol ...

    免费WINDOWS 下的SIP 服务器软件 miniSipServer

    免费WINDOWS 下的SIP 服务器软件 miniSipServer V2.8.12(100 Clients)

    sip协议中文版.pdf_sip协议中文_

    SIP协议中文版(RFC3261)中文版SIP: Session Initiation Protocol

    PyQt5_sip-4.19.14-cp37-none-win_amd64.whl

    SIP is a tool that makes it very easy to create Python bindings for C and C++ libraries. It was originally developed to create PyQt, the Python bindings for the Qt toolkit, but can be used to create ...

    带SIP代理的SIP协议栈 - (VOIP).rar_LumiSoft.net_sip_udp多播_voip 电话会议_流媒体

    SIP是一种应用层控制协议,可以建立,修改和终止多媒体会话(会议),例如互联网电话呼叫。SIP还可以邀请参与者访问现有会话,例如多播会议。通常,SIP使用UDP和TCP端口5060和TCP 5061进行SSL通信。SIP协议与HTTP...

    Sip揭秘.pdf

    《SIP揭密》由IETF最早的SIP发起人之一撰写,深入解释了当今人们谈论最多的关于SIP协议是什么以及起草它的标准的原因,评价了SIP究竟能够做什么以及传递什么,评估了SIP同其他标准和系统的兼容度,设计了新的支持SIP...

    SIP.js-master_sip.js介绍vsjssip_sip.js_SIP.js-master_

    使用sip.js 实现网络通话,视频语音等一系列功能

    sip电话实现方案

    该文档介绍了sip电话原理,以及sip呼叫的实现方案

    sip揭密(pdf版本)

    本书由IETF最早的SIP发起人之一撰写,深入解释了当今人们谈论最多的关于SIP协议是什么以及起草它的标准的原因,评价了SIP究竟能够做什么以及传递什么,评估了SIP同其他标准和系统的兼容度,设计了新的支持SIP的业务...

    SIP(RFC3261中文版)

    本文档描述了会话发起协议(SIP),即有一个或多个参与者的用于创建、修改和终止会 话的应用层控制(信令)协议。这些会话包括Internet 电话呼叫、多媒体分发和多媒体会 议。 用于创建会话的SIP 邀请携带允许参与者...

    sip安卓电话4款

    sip安卓电话4款 一共4款sip安卓电话 收藏备用。个人收藏。

    sip协议-----中文

    SIP(Session Initiation Protocol)是由IETF定义,基于IP的一个应用层控制协议。由于SIP是基于纯文本的信令协议,可以管理不同接入网络上的会晤等。会晤可以是终端设备之间任何类型的通信,如视频会晤、既时信息...

    SIPP SIP学习模拟工具

    SIPp是一个测试SIP协议性能的工具软件,它包含了一些基本的SipStone...SIPp可以用来测试许多真实的SIP设备,如SIP代理,B2BUAs,SIP媒体服务器,SIP/x网关,SIP PBX,等等,它也可以模仿上千个SIP代理呼叫你的SIP系统。

    JAIN SLEE与SIP Servlet比较说明

    SIP Servlet是Java标准化机构JCP制定的一个SIP应用及其运行容器的开放化的标准应用程序接口,它基于目前流行的J2EE中的Java Servlct架构,将互联网应用的开发模式移植到SIP应用开发中。 SIP Servlet是基于组件与容器...

    SIP封装工艺及流程设计.pdf

    system in a package(SIP)需要设计SIP封装的同学可以拿走借鉴

Global site tag (gtag.js) - Google Analytics