System information

know today and contained only a single request type: a call setup request. In March
1999, after 11 revisions, SIP RFC 2543 was born.
At first, SIP was all but ignored, as H.323 was considered the protocol of choice for
VoIP transport negotiation. However, as the buzz grew, SIP began to gain in popularity,
and while there may be a lot of different factors that accelerated its growth, we’d like
to think that a large part of its success is due to its freely available specification.
SIP is an application-layer signaling protocol that uses the well-known port 5060 for
communications. SIP can be transported with either the UDP or TCP transport-layer
protocols. Asterisk does not currently have a TCP implementation for transporting SIP
messages, but it is possible that future versions may support it (and patches to the code
base are gladly accepted). SIP is used to “establish, modify, and terminate multimedia
sessions such as Internet telephony calls.”
#
SIP does not transport media (i.e., voice) between endpoints. Instead, the Real-time
Transport Protocol (RTP) is used for this purpose. RTP uses high-numbered, unprivi-
leged ports in Asterisk (10,000 through 20,000, by default).
A common topology to illustrate SIP and RTP, commonly referred to as the “SIP tra-
pezoid,” is shown in Figure B-1. When Alice wants to call Bob, Alice’s phone contacts
her proxy server, and the proxy tries to find Bob (often connecting through his proxy).
Once the phones have started the call, they communicate directly with each other (if
possible), so that the data doesn’t have to tie up the resources of the proxy.
Figure B-1. The SIP trapezoid
SIP was not the first, and is not the only, VoIP protocol in use today (others include
H.323, MGCP, IAX, and so on), but currently it seems to have the most momentum
with hardware vendors. The advantages of the SIP protocol lie in its wide acceptance
and architectural flexibility (and, we used to say, simplicity!).
Future
SIP has earned its place as the protocol that justified VoIP. All new user and enterprise
products are expected to support SIP, and any existing products will now be a tough
#RFC 3261, “SIP: Session Initiation Protocol,” p. 9, Section 2.
VoIP Protocols | 621