SIP (Session Initiation Protocol) is a signaling protocol used to create, manage and terminate sessions in an IP based network. This course is for beginners and aims to give a brief introduction to SIP before one ventures into the long RFC documents.
3. 3
VoIP stereotypes
VoIP means free calls
SIP is a collection of protocols
SIP is better than H323
SIP is a voice signaling protocol
4. 4
VoIP
VoIP
– VoIP: Voice over Internet Protocol
IP Telephony
Internet Telephony
Voice over Broadband (VoBB)
Broadband Telephony
Broadband Phone
– Alternative to PSTN
– Single infrastructure for Data, Voice and Video
– More demand for video conferences is easily satisfied with VoIP
– Cost savings on long distance calls
– Easier connectivity: customers are to be reached at multiple points
under the same “telephone number”
– Communication Services
Voice/Video
Fax
Voice/Messaging Application
5. 5
VoIP
VoIP Protocols
– SIP – Session Initiation Protocol
– H.323
– IMS – IP Multimedia Subsystem
– MGCP – Media Gateway Control Protocol
– RTP – Real-time Transport Protocol
– RTCP – Real-time Transport Control Protocol
– SDP – Session Description Protocol
– Skype Protocol (proprietary)
– TCP – Transmission Control Protocol
– UDP – User Datagram Protocol
– TLS – Transport Layer Security
33. 33
SDP - WireShark
Session Description Protocol Version - 0
Owner / Creator of the session or Owner / Creator. Identification is made by:
– Owner username. User.
– Session ID. ID of the session. Random number as a unique identifier of the session.
– Session Version. Version.
– Network Type. Tipe network. Always IN.
– Address Type. It can be IP4 (IPv4) or IP 6 (IPv6).
– Address (IP). IP Address. (200.57.7.197)
– Session Name. Name of the session.
Connection Information:
– C = Connection Type Network (IN)
– Connection Address Type: (IP4 or IPv6)
– Connection Address: (200.57.7.197)
Time Description, active time. (t): 0 0, start stop time = 0. [unrestricted and permanent session].
Media Description, name and address (m): audio 40376 RTP / AVP 4 0 8 18. Type of data being transported (audio or telephone session in this
case), UDP port used (40 376), protocol used (Real Time Transport Protocol RTP / AVP Audio Video Profiles). Codecs formats:
– 8 G.711 PCMA
– 18 G.729
– 4 G.723
– 0 G.711 PCMU
Media Attribute (a). This is a list of format codes outlined above with data from Sample rate or sampling frequency, fieldname, etc.
Media Attribute (a). SendRecv. So send / receive.