Generated by GPT-5-mini| SIP (protocol) | |
|---|---|
| Name | SIP |
| Fullname | Session Initiation Protocol |
| Developer | Internet Engineering Task Force |
| Introduced | 1996 |
| Standard | RFC 3261 |
| Category | Signaling protocol |
| Website | IETF |
SIP (protocol) Session Initiation Protocol is an application-layer signaling protocol for initiating, maintaining, modifying, and terminating real-time sessions across IP networks. It is widely used for voice, video, instant messaging, and presence, and interoperates with numerous standards, products, and services in telecommunications and Internet infrastructure. Its design emphasizes modularity, extensibility, and integration with Internet addressing and security frameworks.
SIP originated as a protocol for initiating multimedia sessions and is specified in IETF documents such as RFC 3261 and related RFCs; it complements media protocols like RTP, signaling frameworks like H.323, and directory services such as LDAP. It operates alongside transport protocols including UDP, TCP, and TLS and integrates with naming and addressing systems exemplified by DNS and ENUM. SIP is used by large carriers like AT&T, Verizon Communications, and BT Group as well as by platforms such as Skype, Vonage, and Google Voice in conjunction with standards bodies including the 3GPP, ETSI, and the ITU.
SIP traces back to work by researchers associated with institutions like Columbia University, Bell Labs, and companies such as Cisco Systems and Nortel Networks. Early specification efforts occurred within the Internet Engineering Task Force and the IETF SIPPING Working Group, leading to formalization in RFC 2543 and later revisions culminating in RFC 3261. The protocol evolved alongside contemporaneous projects and events including the rise of VoIP services, the commercialization of broadband by providers like Comcast and Verizon Communications, and standardization efforts by bodies such as 3GPP during development of IMS.
SIP adopts a client–server model with logical roles including User Agents, Proxy Servers, Registrar Servers, and Redirect Servers; implementations are found in products from Avaya, Siemens, Mitel, and open-source projects like Asterisk (PBX), FreeSWITCH, and OpenSIPS. SIP messages travel through network elements using ports associated with IANA assignments and often interwork with session description frameworks exemplified by SDP and media transport like RTP/RTCP. The architecture supports registration, proxying, forking, and routing decisions influenced by address resolution systems such as DNS SRV records and by policy platforms used by carriers like Level 3 Communications and CenturyLink.
SIP defines request methods and response codes similar in appearance to HTTP; common methods include INVITE, ACK, BYE, CANCEL, REGISTER, OPTIONS, and INFO, with extensions such as REFER and SUBSCRIBE. Message syntax uses header fields, URIs comparable to SIP URI formats, and bodies often containing SDP payloads for media negotiation; parsing libraries appear in software stacks from companies like Microsoft and projects such as SIPp and Kamailio. Response codes parallel HTTP classes (1xx provisional, 2xx success, 3xx redirection, 4xx client error, 5xx server error, 6xx global failure) and are implemented in equipment from vendors like Ericsson and Huawei.
A typical SIP session involves INVITE to establish media parameters, provisional 1xx responses, a final 200 OK, and ACK for confirmation; teardown uses BYE for normal termination and CANCEL for pending transactions. Call flow examples are studied in standards discussions within IETF working groups and in product documentation from companies like Polycom, Yealink, and Grandstream. Inter-domain session control involves peering agreements among carriers such as AT&T, Deutsche Telekom, and interconnect platforms operated by Twilio and Bandwidth.
SIP's extension mechanism supports presence via SIMPLE, event notification via SUBSCRIBE/NOTIFY, call transfer via REFER, and conferencing through integrations with protocols like XMPP for messaging and MCU systems; feature sets are implemented in unified communications suites from Microsoft Teams, Cisco Webex, and Zoom Video Communications. Numbering and interoperation use ENUM mappings and adaptations to PSTN gateways used by incumbent operators such as BT Group and Telefónica. Standards extensions include work by IETF on secure media negotiation (e.g., SDES, DTLS-SRTP) and by 3GPP for use within IP Multimedia Subsystem architectures.
SIP security relies on mechanisms such as TLS for hop-by-hop or end-to-end protection, S/MIME for message body confidentiality, and authentication schemes based on HTTP Digest and OAuth integrations. Threat models and mitigations are discussed in publications by organizations like NIST and operationalized in firewalls, SBCs from vendors like F5 Networks and Oracle Communications, and intrusion detection products used by carriers. Privacy concerns intersect with regulatory regimes overseen by agencies such as the Federal Communications Commission and are addressed in standards and best practices developed by IETF security working groups.
SIP is implemented in a broad ecosystem including enterprise PBX systems from Avaya, Mitel, and Cisco Systems; open-source servers like Asterisk (PBX), Kamailio, and OpenSIPS; softphones such as Linphone and Zoiper; and cloud telephony services from Twilio, RingCentral, and 8x8, Inc.. It is deployed in mobile networks standardized by 3GPP within IMS and in conferencing, contact center, and unified communications solutions used by corporations including IBM, Microsoft, and Salesforce. Category:Internet protocols