+ All Categories
Home > Documents > ANALYSIS OF VOIP · 2010-05-31 · Introduction to VoIP Definition Voice over Internet Protocol...

ANALYSIS OF VOIP · 2010-05-31 · Introduction to VoIP Definition Voice over Internet Protocol...

Date post: 11-Jul-2020
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
20
ANALYSIS OF VOIP USING SIP AND RTP Feng Mai z3183940
Transcript
Page 1: ANALYSIS OF VOIP · 2010-05-31 · Introduction to VoIP Definition Voice over Internet Protocol (VoIP) is a general term for a family of transmission technologies for delivery of

ANALYSIS OF VOIPUSING SIP AND RTPFeng Maiz3183940

Page 2: ANALYSIS OF VOIP · 2010-05-31 · Introduction to VoIP Definition Voice over Internet Protocol (VoIP) is a general term for a family of transmission technologies for delivery of

Overview

Introduction to VoIP RTP SIP

Analysis Methodology Analysis' Results

Outgoing call attempt is cancelled Outgoing call is established RTP Analysis

Page 3: ANALYSIS OF VOIP · 2010-05-31 · Introduction to VoIP Definition Voice over Internet Protocol (VoIP) is a general term for a family of transmission technologies for delivery of

Introduction to VoIP

Definition Voice over Internet Protocol (VoIP) is a general term for

a family of transmission technologies for delivery of voice communications over IP networks such as the Internet or other packet-switched networks.

Benefits Reducing communication and infrastructure costs Provide services that may be more difficult to

implement using the PSTN

Page 4: ANALYSIS OF VOIP · 2010-05-31 · Introduction to VoIP Definition Voice over Internet Protocol (VoIP) is a general term for a family of transmission technologies for delivery of

Protocols for IP telephony

Signaling protocol to establish presence, locate users, set up, modify and tear down sessions (SIP)

Media Transport Protocols for transmission of packetized audio/video (RTP)

Supporting Protocols for Gateway Location, QoS, address translation, IP, etc. ( MGCP)

Page 5: ANALYSIS OF VOIP · 2010-05-31 · Introduction to VoIP Definition Voice over Internet Protocol (VoIP) is a general term for a family of transmission technologies for delivery of

SIP (Session Initiation Protocol)

SIP is an application layer signaling protocol create, modify and terminate sessions two or more participants

Uses URL style addresses and syntax Flexible transport: can use UDP, TCP, TLS, or SCTP Establish media sessions, e.g. RTP/RTCP streams carrying

audio or video data, where session details are commonly negotiated using SDP

Page 6: ANALYSIS OF VOIP · 2010-05-31 · Introduction to VoIP Definition Voice over Internet Protocol (VoIP) is a general term for a family of transmission technologies for delivery of

Basic Call With SIP

SIP session establishment

Voice data

SIP session tear-down

Endpoints must find each other’s IP addresses

Page 7: ANALYSIS OF VOIP · 2010-05-31 · Introduction to VoIP Definition Voice over Internet Protocol (VoIP) is a general term for a family of transmission technologies for delivery of

SIP Commands are Called Methods

SIP Method Description INVITE Invites a user to a call ACK Used to facilitate reliable message exchange for INVITEs BYE Terminates a connection between users or declines a call CANCEL Terminates a request, or search, for a user OPTIONS Solicits information about a server's capabilities REGISTER Registers a user's current location INFO Used for mid-session signaling

SIP Extension Description SUBSCRIBE instant messaging and presence NOTIFY (RFC3265, RFC3428, draft-ietf-simple-*) MESSAGE REFER call transfer (RFC3515) PRACK provisional reliable responses acknowledgement (RFC3262) INFO mid-call signaling (RFC 2976)

Page 8: ANALYSIS OF VOIP · 2010-05-31 · Introduction to VoIP Definition Voice over Internet Protocol (VoIP) is a general term for a family of transmission technologies for delivery of

SIP Response Codes

1yz Informational– 100 Trying– 180 Ringing (ringing tone played locally)– 181 Call is Being Forwarded2yz Success– 200 ok3yz Redirection– 300 Multiple Choices– 301 Moved Permanently– 302 Moved Temporarily

Borrowed from HTTP: xyz explanatory text Receivers need to understand response class (“x”) x80 and higher codes avoid conflicts with future http response codes

4yz Client error– 400 Bad Request– 401 Unauthorized– 482 Loop Detected– 486 Busy Here5yz Server failure– 500 Server Internal Error6yz Global Failure– 600 Busy Everywhere

Page 9: ANALYSIS OF VOIP · 2010-05-31 · Introduction to VoIP Definition Voice over Internet Protocol (VoIP) is a general term for a family of transmission technologies for delivery of

RTP (Real-time Transport Protocol)

RTP, the real-time transport protocol. RTP provides end-to-end network transport functions suitable for applications transmitting real-time data, such as audio, video or simulation data, over multicast or unicast network services.

Typically, RTP uses UDP as its transport protocol. RTP does not have a well known UDP port. Instead, the ports are allocated dynamically and then signaled using a different protocol such as SIP or H245.

Page 10: ANALYSIS OF VOIP · 2010-05-31 · Introduction to VoIP Definition Voice over Internet Protocol (VoIP) is a general term for a family of transmission technologies for delivery of

Methodology

Packets sniffing

Page 11: ANALYSIS OF VOIP · 2010-05-31 · Introduction to VoIP Definition Voice over Internet Protocol (VoIP) is a general term for a family of transmission technologies for delivery of

Outgoing call attempt is cancelled

Dial the destination phone number Capture SIP packets Analysis

Page 12: ANALYSIS OF VOIP · 2010-05-31 · Introduction to VoIP Definition Voice over Internet Protocol (VoIP) is a general term for a family of transmission technologies for delivery of

Outgoing call attempt is cancelled

Page 13: ANALYSIS OF VOIP · 2010-05-31 · Introduction to VoIP Definition Voice over Internet Protocol (VoIP) is a general term for a family of transmission technologies for delivery of

Outgoing call attempt is cancelled

Page 14: ANALYSIS OF VOIP · 2010-05-31 · Introduction to VoIP Definition Voice over Internet Protocol (VoIP) is a general term for a family of transmission technologies for delivery of

Outgoing call attempt is cancelled

Page 15: ANALYSIS OF VOIP · 2010-05-31 · Introduction to VoIP Definition Voice over Internet Protocol (VoIP) is a general term for a family of transmission technologies for delivery of

Outgoing call is established

Dial the destination phone number Capture SIP packets Analysis

Page 16: ANALYSIS OF VOIP · 2010-05-31 · Introduction to VoIP Definition Voice over Internet Protocol (VoIP) is a general term for a family of transmission technologies for delivery of

Outgoing call is established

Page 17: ANALYSIS OF VOIP · 2010-05-31 · Introduction to VoIP Definition Voice over Internet Protocol (VoIP) is a general term for a family of transmission technologies for delivery of

Outgoing call is established

Page 18: ANALYSIS OF VOIP · 2010-05-31 · Introduction to VoIP Definition Voice over Internet Protocol (VoIP) is a general term for a family of transmission technologies for delivery of

RTP Analysis

Page 19: ANALYSIS OF VOIP · 2010-05-31 · Introduction to VoIP Definition Voice over Internet Protocol (VoIP) is a general term for a family of transmission technologies for delivery of

RTP Analysis

Page 20: ANALYSIS OF VOIP · 2010-05-31 · Introduction to VoIP Definition Voice over Internet Protocol (VoIP) is a general term for a family of transmission technologies for delivery of

RTP Analysis


Recommended