<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Train Signal Training - Free Computer Training Videos &#187; RFC-3261</title>
	<atom:link href="http://www.trainsignaltraining.com/tag/rfc-3261/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.trainsignaltraining.com</link>
	<description>Free Computer Training &#38; News Brought To You By Train Signal</description>
	<lastBuildDate>Fri, 30 Jul 2010 19:47:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Session Initiation Protocol: the Right Choice for VoIP</title>
		<link>http://www.trainsignaltraining.com/sip-session-initiation-protocol-right-choice-for-voip/2007-09-25/</link>
		<comments>http://www.trainsignaltraining.com/sip-session-initiation-protocol-right-choice-for-voip/2007-09-25/#comments</comments>
		<pubDate>Tue, 25 Sep 2007 16:30:30 +0000</pubDate>
		<dc:creator>Stelios Antoniou</dc:creator>
				<category><![CDATA[CCNP]]></category>
		<category><![CDATA[CCNP ONT]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Fully Qualified Domain Names]]></category>
		<category><![CDATA[IETF]]></category>
		<category><![CDATA[IP Address]]></category>
		<category><![CDATA[RFC-3261]]></category>
		<category><![CDATA[SDP]]></category>
		<category><![CDATA[Session-Initiation-Protocol]]></category>
		<category><![CDATA[SIP]]></category>
		<category><![CDATA[TCP]]></category>
		<category><![CDATA[Transmission-Control-Protocol]]></category>
		<category><![CDATA[UDP]]></category>
		<category><![CDATA[User-Agents]]></category>
		<category><![CDATA[User-Datagram-Protocol]]></category>
		<category><![CDATA[Voice-over-IP]]></category>
		<category><![CDATA[Voip]]></category>

		<guid isPermaLink="false">http://www.trainsignaltraining.com/sip-session-initiation-protocol-right-choice-for-voip/2007-09-27/</guid>
		<description><![CDATA[Session Initiation Protocol (SIP) is a standard designed by the Internet Engineering Task Force (IETF) to serve VoIP services. It’s an application layer protocol that can operate over UDP (User Datagram Protocol) or TCP (Transmission Control Protocol). SIP, currently at version 2, is defined in RFC 3261.


Simplicity and flexibility are the primary characteristics of SIP. [...]]]></description>
			<content:encoded><![CDATA[<p><b>Session Initiation Protocol (SIP)</b> is a standard designed by the Internet Engineering Task Force (IETF) to serve VoIP services. It’s an application layer protocol that can operate over UDP (User Datagram Protocol) or TCP (Transmission Control Protocol). SIP, currently at version 2, is defined in <b>RFC 3261.</b>
</p>
<p>
Simplicity and flexibility are the primary characteristics of SIP. However, despite its structural simplicity it can be used to establish any kind of session between end-systems (known as <i>User Agents</i> in SIP). SIP is responsible for session setup and tear down; supported sessions include:
</p>
<ul>
<li>Two party sessions</li>
<li>Multiparty sessions</li>
<li>Multicast sessions</li>
</ul>
<p>
Besides audio, sll supported sessions can contain video and data as well. SIP also provides the means for User Agents to negotiate session capabilities and decide about session behavior. Moreover, sophisticated services, such as UA portability and video conferencing can be well served by SIP.
</p>
<h3>
Why Choose SIP?<br />
</h3>
<p>
The new version of SIP has much to offer:
</p>
<ul>
<li><b>Adaptable to network changes:</b> Can easily adjust to different network infrastructures and provide non-stop reliable service.</li>
<p></p>
<li><b>Scalable:</b> The magnitude of serving capability can be easily increased and also designed in such a way as to provide full redundancy architecture.</li>
<p></p>
<li><b>Text based, hence ease of programming:</b> Due to its simple presentation, SIP services can be programmed more easily. Since it’s similar to HTTP, SIP shares many cause codes and message header syntax.</li>
<p></p>
<li><b>Carries most of the intelligence at the end devices:</b> Session control begins from the end devices, hence, edge devices participate in the session establishment and tear down setup.</li>
<p></p>
<li><b>Can easily and quickly support the requirements of new services:</b> Easier and quicker adaptation to the session control requirements of new services. Via SDP, SIP can transport almost any service requirements, even transport other protocol messages.</li>
<p></p>
<li><b>Can effectively support mobile and ported users and services:</b> SIP’s interaction with server farms supports mobile users by providing location-based services, presence and follow-me services. The service is following the user anywhere the user is located. </li>
<p><span id="more-311"></span>
</ul>
<p><h3>
SIP Terminology … Get to Know the “SIP Language”<br />
</h3>
<p>
Before getting into more details about SIP, lets take a look at the most important SIP terms:
</p>
<ul>
<li><b>Transaction:</b> A complete sequence of messages consisting of a request, several possible provisional responses and one final response.</li>
<p></p>
<li><b>User Agent:</b> It’s a SIP end point. It can be either a client or server. User Agent Client (UAC) is the originate side of the transaction that generates the request and User Agent Server (UAS) is the terminating side that generates the responses.</li>
<p></p>
<li><b>SIP URI:</b> SIP addressing scheme can use an IP address or a Fully Qualified Domain Name (FQDN) to refer to UAs. If the later is used, then DNS is needed for translating Domain Name to real IP address.</li>
<p></p>
<li><b>SIP Proxy:</b> Network node that routes SIP transactions by using the information of the SIP URI.</li>
<p></p>
<li><b>Dialogue:</b> A SIP dialogue consists of several transactions. Therefore a SIP dialogue represents a long-term peer-to-peer session between UAs.</li>
</ul>
<p><h3>
What SIP Messages Look Like<br />
</h3>
<p>
SIP messages are text-based messages similar to HTTP. They consist of a Request line, various Header fields, and the body field (optional). The image below shows SIP’s general format.
</p>
<p>
<img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2007/09/SIP/1.jpg" alt="1.jpg" title="1.jpg" align="absmiddle" width="275" height="242" border="0" />
</p>
<p>
<b>SIP: general format</b>
</p>
<p>
<b>Starting line:</b> SIP’s first line is called Request-Line in requests and Status-Line in responses. It consists of the method used along with the destination SIP URI. The following is an example of a SIP starting line:
</p>
<pre><font size="2">
Request-Line: INVITE sip:+4412254701@10.224.50.46:5060;user=phone SIP/2.0
      Method: INVITE
</pre>
<p></font></p>
<p>
<b>Message Header fields:</b> These fields contain useful information for efficiently routing SIP messages. They also include information about UA’s supported capabilities and sequencing of messages. A sample Header field block is provided below:
</p>
<pre><font size="2">
Via: SIP/2.0/UDP 10.176.22.24:5060;branch=z9hG4bK06224778770000019777.
From: sip:+44133546022@anonymous.invalid;user=phone>;tag=46dfdde0-a545-0ab0141c
To: &lt;sip:+44122547012@anonymous.invalid:5060;user=phone&gt;
Call-ID: 46DFDDE0-00004139@routera
CSeq: 1 INVITE
Accept: application/sdp,application/isup,multipart/mixed,application/
Contact: &lt;sip:10.176.22.24:5060&gt;
MIME-Version: 1.0
Supported: timer
Supported: 100rel
Max-Forwards: 70
Session-Expires: 1800
Allow: ACK,INFO,BYE,CANCEL,INVITE,OPTIONS,NOTIFY,PRACK,UPDATE
Content-Type: application/sdp
Content-Length: 360
</pre>
<p></font></p>
<p>
<b>Message Body:</b> The body of the message may carry session descriptions (SDP). This part of the SIP message is used by UAs during negotiation and settlement of media related information like IP addresses, port numbers and codecs. A sample message body can be seen below:
</p>
<pre><font size="2">
Session Description Protocol Version (v): 0
Connection information (c): IN IP4 10.176.3.10
Time Description, active time (t): 0 0
Media Description, name and address (m): audio 5588 RTP/AVP 8 18
Media Attribute (a): rtpmap:8 PCMA/8000
Media Attribute (a): rtpmap:18 G729/8000
            .
            .
Media Attribute (a): sendrecv
</pre>
<p></font></p>
<p><h3>
Introducing Basic SIP Message Headers<br />
</h3>
<p><b>Via:</b> Consists of SIP version, transport protocol, SIP URI and branch code. Its purpose is to indicate the address that responses to a request should be forwarded. The branch parameter is used to identify the transaction. Example:
</p>
<pre><font size="2">
Via: SIP/2.0/UDP 10.176.22.24:5060;branch=z9hG4bK06224778770005001
</pre>
<p></font></p>
<p>
<b>From:</b> Consists of the SIP URI of the originator of the request. It also contains a random generated tag for identification purposes. Example:
</p>
<pre><font size="2">
From: &lt;sip:+44133546022@anonymous.invalid;user=phone&gt;;
      tag=46dfdde0-a545-0ab0141c
</pre>
<p></font></p>
<p>
<b>To: </b>Contains the destination’s SIP URI. Example:
</p>
<pre><font size="2">
To: &lt;sip:+44122547012@anonymous.invalid:5060;user=phone&gt;
</pre>
<p></font></p>
<p>
<b>Call-ID:</b> Is a unique reference, identifying a complete dialogue between SIP peers. Example:
</p>
<pre><font size="2">
Call-ID: 46DFDDE0-00004139@routera
</pre>
<p></font></p>
<p>
<b>CSeq:</b> Contains an integer that counts the requests within a dialog and a method name. Example:
</p>
<pre><font size="2">
CSeq: 1 INVITE
</pre>
<p></font></p>
<p>
<b>Contact:</b> Instructs SIP UAs where to send future requests. Example:
</p>
<pre><font size="2">
Contact: &lt;sip:10.176.22.24:5060&gt;
</pre>
<p></font></p>
<p>
<b>Supported:</b>Optional header field used to specify SIP options that the sender supports. Example:
</p>
<pre><font size="2">
Supported: 100rel
</pre>
<p></font></p>
<p>
<b>Allow:</b> Another optional header field listing all methods supported by the SIP UA that generated the message. Example:
</p>
<pre><font size="2">
Allow: ACK,INFO,BYE,CANCEL,INVITE,OPTIONS,NOTIFY,PRACK,UPDATE
</pre>
<p></font></p>
<p>
<b>Content-Type:</b> Indicates the type of content within the body of the SIP message. Example:
</p>
<pre><font size="2">
Content-Type: application/sdp
</pre>
<p></font></p>
<p><h3>
Introducing Basic SDP Fields<br />
</h3>
<p>
<b>Version (v=):</b> Defines the SDP’s version (currently only v=0 exists)
</p>
<p>
<b>Connection information (c=):</b> Specifies the IP address where media is expected to arrive. Example:
</p>
<pre><font size="2">
Connection information (c): IN IP4 10.176.3.10
</pre>
<p></font></p>
<p>
<b>Media (m=):</b> Indicates the type of media (e.g. audio, video), the RTP port for the media packets, transport protocol for the media and a list of supported payload formats (e.g. payload type number 8= G.711 a-law codec, number 18=G.729 codec). Example:
</p>
<pre><font size="2">
Media Description, name and address (m): audio 5588 RTP/AVP 8 18
</pre>
<p></font></p>
<p>
<b>Media attributes (a=): </b>Can be either media (e.g. “rtpmap” is a media attribute describing payload types) or session attributes (e.g. “sendrecv” is a session attribute specifying media flow direction. Example:
</p>
<pre><font size="2">
Media Attribute (a): rtpmap:8 PCMA/8000
Media Attribute (a): rtpmap:18 G729/8000
Media Attribute (a): sendrecv
</pre>
<p></font></p>
<p><h3>
Block Diagram of SIP Transactions<br />
</h3>
<p>
The image below presents a basic SIP Dialogue consisting of an <b>INVITE</b> and a <b>BYE</b> method.
</p>
<p>
<img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2007/09/SIP/2.jpg" alt="2.jpg" title="2.jpg" align="absmiddle" width="374" height="400" border="0" />
</p>
<p>
<b>Basic INVITE and BYE methods</b>
</p>
<p>
The INVITE method is more like a 3-way handshake consisting of the INVITE request, the final response to the INVITE which is a 200 OK message, and an ACK transaction with no response. The BYE transaction consists of the BYE request and its response coming as a 200 OK message.
</p>
<h3>
Final Thoughts<br />
</h3>
<p>
Not convinced SIP is right for you? There are other options, however SIP is the preffered choice for telecom companies for Broadband VoIP service session control, and its usage is growing more and more each day. My prediction is that SIP will eventually dominate call control protocols, so start benefiting from all that SIP has to offer.
</p>
<h3>
Learn more about SIP and VoIP with Train Signal&#8217;s <a href="http://www.trainsignal.com/index.asp?PageAction=VIEWPROD&#038;ProdID=80"target="_blank">Cisco ONT &#8211; CCNP Training!</a><br />
</h3>
<p><a href="http://www.trainsignal.com/index.asp?PageAction=VIEWPROD&#038;ProdID=80"target="_blank"><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/ProductImages/ccnp_ont_training_100x75.jpg" alt="ccnp_ont_training_100x75.jpg" title="ccnp_ont_training_100x75.jpg" align="left" width="75" height="100" border="0" /></a></p>
<p>
Learn how to setup a Cisco network with step-by-step instructions and prepare for the ONT exam. You get:
</p>
<ul>
<li> 8+ hours of Instructor led video training</li>
<li> 100+ practice exam questions for the 642-845 ONT &#8211; CCNP exam </li>
<li> 250+ pages of Instructor&#8217;s notes &#8230; and More!</li>
</ul>
<p>
Get additional information and see the free demo <a href="http://www.trainsignal.com/index.asp?PageAction=VIEWPROD&#038;ProdID=80"target="_blank">here!</a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Session+Initiation+Protocol%3A+the+Right+Choice+for+VoIP+-+http://bit.ly/4Bg4wU+%28via+%40trainsignal%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.trainsignaltraining.com/sip-session-initiation-protocol-right-choice-for-voip/2007-09-25/&amp;title=Session+Initiation+Protocol%3A+the+Right+Choice+for+VoIP" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.trainsignaltraining.com/sip-session-initiation-protocol-right-choice-for-voip/2007-09-25/&amp;t=Session+Initiation+Protocol%3A+the+Right+Choice+for+VoIP" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.trainsignaltraining.com/sip-session-initiation-protocol-right-choice-for-voip/2007-09-25/&amp;title=Session+Initiation+Protocol%3A+the+Right+Choice+for+VoIP" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.trainsignaltraining.com/sip-session-initiation-protocol-right-choice-for-voip/2007-09-25/&amp;title=Session+Initiation+Protocol%3A+the+Right+Choice+for+VoIP" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.trainsignaltraining.com/sip-session-initiation-protocol-right-choice-for-voip/2007-09-25/&amp;title=Session+Initiation+Protocol%3A+the+Right+Choice+for+VoIP&amp;summary=Session%20Initiation%20Protocol%20%28SIP%29%20is%20a%20standard%20designed%20by%20the%20Internet%20Engineering%20Task%20Force%20%28IETF%29%20to%20serve%20VoIP%20services.%20It%E2%80%99s%20an%20application%20layer%20protocol%20that%20can%20operate%20over%20UDP%20%28User%20Datagram%20Protocol%29%20or%20TCP%20%28Transmission%20Control%20Protocol%29.%20SIP%2C%20currently%20at%20version%202%2C%20is%20defined%20in%20RF&amp;source=Train Signal Training - Free Computer Training Videos" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.trainsignaltraining.com/sip-session-initiation-protocol-right-choice-for-voip/2007-09-25/&amp;title=Session+Initiation+Protocol%3A+the+Right+Choice+for+VoIP" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-friendfeed">
			<a href="http://www.friendfeed.com/share?title=Session+Initiation+Protocol%3A+the+Right+Choice+for+VoIP&amp;link=http://www.trainsignaltraining.com/sip-session-initiation-protocol-right-choice-for-voip/2007-09-25/" rel="nofollow" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="shr-printfriendly">
			<a href="http://www.printfriendly.com/print?url=http://www.trainsignaltraining.com/sip-session-initiation-protocol-right-choice-for-voip/2007-09-25/" rel="nofollow" class="external" title="Send this page to Print Friendly">Send this page to Print Friendly</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Session%20Initiation%20Protocol%3A%20the%20Right%20Choice%20for%20VoIP%22&amp;body=Link: http://www.trainsignaltraining.com/sip-session-initiation-protocol-right-choice-for-voip/2007-09-25/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Session%20Initiation%20Protocol%20%28SIP%29%20is%20a%20standard%20designed%20by%20the%20Internet%20Engineering%20Task%20Force%20%28IETF%29%20to%20serve%20VoIP%20services.%20It%E2%80%99s%20an%20application%20layer%20protocol%20that%20can%20operate%20over%20UDP%20%28User%20Datagram%20Protocol%29%20or%20TCP%20%28Transmission%20Control%20Protocol%29.%20SIP%2C%20currently%20at%20version%202%2C%20is%20defined%20in%20RF" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://www.trainsignaltraining.com/get-to-know-the-h323-voip-protocol-suite/2007-10-08/' rel='bookmark' title='Permanent Link: Get to Know the H.323 VoIP Protocol Suite'>Get to Know the H.323 VoIP Protocol Suite</a></li>
<li><a href='http://www.trainsignaltraining.com/voip-signaling-protocols/2010-06-02/' rel='bookmark' title='Permanent Link: VoIP Signaling Protocols'>VoIP Signaling Protocols</a></li>
<li><a href='http://www.trainsignaltraining.com/voip-architecture-voip-call-components/2010-06-23/' rel='bookmark' title='Permanent Link: VoIP Architecture: VoIP Call Components'>VoIP Architecture: VoIP Call Components</a></li>
<li><a href='http://www.trainsignaltraining.com/voip-essentials/2010-05-11/' rel='bookmark' title='Permanent Link: VoIP Essentials: The World of Packetized Voice'>VoIP Essentials: The World of Packetized Voice</a></li>
<li><a href='http://www.trainsignaltraining.com/cisco-voip-voice-encapsulation/2008-03-31/' rel='bookmark' title='Permanent Link: VoIP: How to Effectively Encapsulate Voice in IP Packets'>VoIP: How to Effectively Encapsulate Voice in IP Packets</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.trainsignaltraining.com/sip-session-initiation-protocol-right-choice-for-voip/2007-09-25/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
