Skip to contentSkip to navigationSkip to topbar
On this page

What is Session Initiation Protocol (SIP)?


Session Initiation Protocol (SIP) is a signalling protocol for initiating, terminating, and modifying user sessions over an IP network. Most commonly, SIP is used for Voice Over IP (VoIP) services, but is also often used for other communications sessions such as video calls and instant messaging sessions.

Compared to predecessors such as H.323(link takes you to an external page), SIP is a much easier to implement and much more flexible protocol. It was first standardized in March 1999's RFC 2543(link takes you to an external page) and has been subsequently revised in June 2002's RFC 3261(link takes you to an external page) (with various updates since then).

By mapping SIP endpoints (user agents, in SIP terminology) to Uniform Resource Identifiers (URIs), SIP is quite similar to the HTTP model of requests and responses. Unlike HTTP, SIP can use UDP or other transport types. SIP is a text-based protocol and uses UTF-8 encoding.

* See Twilio's Best Practices for SIP Security *


How Twilio Uses SIP

how-twilio-uses-sip page anchor

Using SIP to connect to Twilio is one way(link takes you to an external page) to get access to Twilio's global reach and powerful automation and scripting functions.

Here's our overview of connecting your existing SIP communications infrastructure to us.

sip-interface_diagram_v2-2x.

Twilio also offers Twilio Interconnect(link takes you to an external page), a varied service where we offer a direct connection that can largely or wholly avoid the public internet. We have provisions to connect with your cloud infrastructure directly (such as with Amazon Web Services, Google's Compute Cloud, and Microsoft Azure), physically interconnect at one of our global locations(link takes you to an external page), tunnel over a VPN, or connect to your MPLS Network.

Twilio Interconnect also offers additional QoS guarantees and SLAs as well as enterprise-grade security.


SIP Trunking with Twilio

sip-trunking-with-twilio page anchor

Twilio also offers our Elastic SIP Trunking(link takes you to an external page) service, where we can instantly provision a SIP network for you worldwide. Connect to a SIP URI that's local to your firm and we will do the rest - all over a global private backbone that minimizes traversal on the public internet. See some possible SIP Trunking setups(link takes you to an external page).

We offer unlimited concurrent call capacity - let us worry about the scaling and the capacity while you run your business. We've also written more about SIP Trunking if you're itching to get started or just want to learn more.


How SIP and Twilio Can Work with Your Business

how-sip-and-twilio-can-work-with-your-business page anchor

Whether you're taking the first steps towards modernizing a call center, adding additional channels of support such as WebRTC, Chat, and SMS, or looking to reduce latency and leverage our massive scale, Twilio has a solution for you.

Read about our SIP Trunking offerings(link takes you to an external page), read about our SIP integration in our documentation, or talk to sales(link takes you to an external page). We can't wait to help you build.

Need some help?

Terms of service

Copyright © 2024 Twilio Inc.