SUBSCRIBE TO TMCnet
TMCnet - World's Largest Communications and Technology Community

CHANNEL BY TOPICS


QUICK LINKS





Share

June 02, 2008

SIP Tips - How SIP Works Tutorial

By Tom Cross, Technology Columnist

Since too few people really know how SIP works, here is the text explanation of each step of the way. After the IP phone is plugged into the LAN network and powers up via the electrical outlet or via POE (Power over Ethernet) cable, the phone needs to get an IP Address from the DHCP (Dynamic Host Configuration Protocol) server.



 
The animated tutorial can be found at: http://blog.tmcnet.com/cross-talk/
 
SIP Signaling
User dials number 303-594-1694. SIP-URI (Uniform Resource Identifier) is retrieved from DNS (Domain Name System): sip:[email protected];Transport=UDP.
 
The SIP INVITE along with the SDP (Session Description Protocol) is formatted into an Internet Message Format and encapsulated into Ethernet and sent via the LAN Switch to the router and encapsulated into IP or IP-MPLS and UDP (News - Alert) and the SIP INVITE is sent via TCP, UDP and other protocols to the destination proxy. The caller receives a 100 (Trying) response indicates that the INVITE has been received and that the proxy is working “on behalf of” to route the INVITE to the destination. The caller receives a 180 (Ringing) and begins ear ringing using an audio ringback tone or by displaying a message on the telephone screen.
 
When the person called picks up the handset, the SIP phone sends a 200 (OK) response to indicate that the call has been answered. The 200 (OK) message contains a SDP (Session Description Protocol) media description of the type of session that the other party is willing to establish. An ACK message is sent.
 
SIP Media Session
User begins talking. Voice is transcoded into a CODEC, e.g. G.711, G.729 based on SDP. Voice is packetized. RTP is added and encapsulated in Ethernet and sent via the LAN Switch to the router and encapsulated into IP or IP-MPLS and UDP. If on-net IP network, the digital data is converted to an optical data stream and sent via optical fiber to an internet or internal router. If off-net, the digital data is channelized using a MG (Media Gateway (News - Alert)) to a TDM (Time Division Multiplexed) channel and sent via an optical data stream to a Class 5 CO (Central Office) switch for connections to the PSTN (Public Switched Telephone Network). User hangs up and a BYE message is sent. A 200 ACK is received confirming disconnect.
 
Need help in training, technical writing, creating ‘award-winning’ customer case studies, customer presentations, effective web tutorials, SEM, PR and other services? Contact Tom Cross (News - Alert) at 303-594-1694, [email protected] or http://www.techtionary.com.
 
-----
Tom Cross is a technology columnist and a regular blogger for TMCnet. To read more of his articles, please visit his blog.
 

(source: http://internetcommunications.tmcnet.com/topics/sip/articles/29748-sip-tips-how-sip-works-tutorial.htm)

SIP Tips - How SIP Works Tutorial
Syspine VoIP Phone System Now Available at Costco.com
Tadiran Telecom Enters Indian Market with Unified .....
What Enterprises Won't Admit
Report: Demand, Technology Driving Videoconferenci.....
Balancing Issues in World of Telepresence
Selling SIP: You Can't Sell What You Don't Know
IAS Morphs into SIP Trunking
SIP: Threat or Critical Business Tool
Software (plus) Services (equals) Hosted Exchange .....
Hmmm... Buy an IP-PBX at Costco
Asterisk With Office Communications Server 2007
The Hyperconnected Enterprise
Four key ingredients for successful mobile services







Technology Marketing Corporation

2 Trap Falls Road Suite 106, Shelton, CT 06484 USA
Ph: +1-203-852-6800, 800-243-6002

General comments: [email protected].
Comments about this site: [email protected].

STAY CURRENT YOUR WAY

© 2026 Technology Marketing Corporation. All rights reserved | Privacy Policy