Problems on Voice over IP (VoIP)

Similar documents
Tech-invite. RFC 3261's SIP Examples. biloxi.com Registrar. Bob's SIP phone

Information About SIP Compliance with RFC 3261

Compliance with RFC 3261

SIP Compliance APPENDIX

Session Initiation Protocol (SIP) Overview

SIP Devices Configuration

SIP Devices Configuration

Department of Computer Science. Burapha University 6 SIP (I)

SIP Session Initiation Protocol

Application Scenario 1: Direct Call UA UA

Session Initiation Protocol (SIP) Overview

Overview of SIP. Information About SIP. SIP Capabilities. This chapter provides an overview of the Session Initiation Protocol (SIP).

DNS SRV Usage. All Mediatrix Units

Capture and Analysis of SIP Packets

Configuring SIP Registration Proxy on Cisco UBE

Politecnico di Torino. Porto Institutional Repository

Grandstream Networks, Inc. DNS SRV Guide

SIP Server Deployment Guide. SRV address support in Contact and Record-Route headers

Configuring Multi-Tenants on SIP Trunks

S Postgraduate Course in Radio Communications. Application Layer Mobility in WLAN. Antti Keurulainen,

Session Initiation Protocol (SIP)

Configuration guide for Switchvox and Bandwidth.com

Overview of the Session Initiation Protocol

INTERFACE SPECIFICATION SIP Trunking. 8x8 SIP Trunking. Interface Specification. Version 2.0

The main purpose of this release is improving voice quality and addressing stability issues observed in previous releases.

BLF Presence. Configure BLF Presence

Secure Telephony Enabled Middle-box (STEM)

Ericsson-LG Enterprise. Ericsson-LG Enterprise Co., Ltd Proprietary Page 1

Configuring Triggers. Viewing and Deleting Triggers

Session Initiation Protocol (SIP) Ragnar Langseth University of Oslo April 26th 2013

Researching New SIP Carriers

Using Genband E911 on Yealink IP Phones

The Session Initiation Protocol

SIP Session Initiation Protocol Part 2. ITS VoIP; 2009 P. Campbell, H.Kruse

Understanding SIP exchanges by experimentation

2015/04/13 11:41 1/22 UNIVERGE 3C

This sequence diagram was generated with EventStudio System Designer (

Configuration guide for Switchvox and PAETEC

2018/05/18 23:05 1/2 UNIVERGE 3C

A. On the VCS, navigate to Configuration, Protocols, H.323, and set Auto Discover to off.

PPreferredID = "P-Preferred-Identity" HCOLON PPreferredID-value. *(COMMA PPreferredID-value)

Step 1: Checking Computer Network Settings:

Technical Configuration Notes

Matching Inbound Dial Peers by URI

Chapter 3: IP Multimedia Subsystems and Application-Level Signaling

Application Notes for Configuring SIP Trunking between the Skype SIP Service and an Avaya IP Office Telephony Solution Issue 1.0

DMP 128 Plus C V DMP 128 Plus C V AT. Avaya Aura Configuration Guide REVISION: DATE: MARCH 7 TH 2018

SIPPING Working Group A. Johnston, Ed. Internet-Draft Avaya Intended status: BCP R. Sparks Expires: January 12, 2009 Estacado Systems C. Cunningham S.

DMP 128 Plus C V DMP 128 Plus C V AT

DMP 128 Plus C V DMP 128 Plus C V AT. Avaya IP Office Configuration Guide REVISION: 1.2 DATE: JANUARY 9 TH 2018

DEPLOYMENT GUIDE Version 1.2. Deploying the BIG-IP LTM for SIP Traffic Management. Archived

Cisco VCS Expressway Starter Pack

SIP SIP Stack Portability

OpenSIPS Workshop. Federated SIP with OpenSIPS and RTPEngine

Call Back supports Suspend/Resume CallBack notification for both intracluster and intercluster QSIG

Cisco ATA 191 Analog Telephone Adapter Overview

HT801/HT802 Firmware Release Note IMPORTANT UPGRADING NOTE

SIP Trunk design and deployment in Enterprise UC networks

CCIE Collaboration.

Session Initiation Protocol (SIP) Basic Description Guide

Desktop sharing with the Session Initiation Protocol

PANASONIC. Optimum Business Trunking and the Panasonic KX-NCP500 IP PBX V Configuration Guide

Higher layer protocols

2.2 Interface Capabilities Supported

This sequence diagram was generated with EventStudio System Designer (

ThinkTel ITSP with Registration Setup

SIP System Features. SIP Timer Values. Rules for Configuring the SIP Timers CHAPTER

Voice over IP (VoIP)

Request for Comments: Category: Standards Track Columbia U. G. Camarillo Ericsson A. Johnston WorldCom J. Peterson Neustar R.

Adding Telephony to Java Technology-Based Enterprise Applications

Calling/Connected Line Identification Presentation on Yealink IP Phones

Journal of Information, Control and Management Systems, Vol. X, (200X), No.X SIP OVER NAT. Pavel Segeč

Technical specifications for connecting SIP PBX to the Business Trunk service by Slovak Telekom without registration, with static routing.

Unofficial IRONTON ITSP Setup Guide

Latest Peer-to-Peer Technologies II Artjom Lind 1

IP Multimedia Subsystem Part 3 Marek Średniawa

Multimedia Communication

SIP Trunk design and deployment in Enterprise UC networks

Transparent Tunneling of QSIG and Q.931 over SIP TDM Gateway and SIP-SIP Cisco Unified Border Element

Cisco TelePresence Video Communication Server Update. Arne B. Østensen, Team Lead

Broadvox Fusion Platform Version 1.2 ITSP Setup Guide

Request for Comments: 4083 Category: Informational May 2005

Configuration guide for Switchvox and XO Communications

Brekeke SIP Server Version 3 Administrator s Guide Brekeke Software, Inc.

The Sys-Security Group

SIP Trunking & Peering Operation Guide

P2PNS: A Secure Distributed Name Service for P2PSIP

SIP Trunking Application Notes V2.0

Cisco Cisco Voice over IP (CVOICE) Practice Test. Version QQ:

RTO/RPO numbers for different resiliency scenarios

SIP Trunking using Optimum Business SIP Trunk Adaptor and the Nortel BCM50 IP-PBX (Release 5.0)- V

Extensions to Session Initiation Protocol (SIP) and Peer-to-Peer SIP

SIP System Features. SIP Timer Values. Rules for Configuring the SIP Timers CHAPTER

Avaya PBX SIP TRUNKING Setup & User Guide


Soft Phone Quick Start Guide

SPA400 Internet Telephony Gateway with 4 FXO Ports

Voice over IP Consortium

Technical Note FLX UC 1000/1500 Registering with Shoretel ShoreGear

Installation & Configuration Guide Version 1.6

Transcription:

1 Problems on Voice over IP (VoIP)

Problem 1 The following trace refers to the regostration phase of a SIP user. Answer the following questions: 1. What is the IP address of the SIP client? 2. What is the IP address of the SIP proxy? 3. Why the first registration attempt does fail? 4. provide a brief explanation of the whole registration process 2

Problem 1 - answers 1. The IP address of the UA SIP is 130.192.225.36 2. The IP address of the SIP proxy is 130.192.225.79 3. The first registration attempt fails because SIP UA did not include credentials for authentication in the REGISTER message 4. The registration procedure is required for 1. Authenticating a user that tries to access a SIP domain 2. Associating the SIP URI with the SIP UA (host) where the user is connected 1. In this way, the user can be reached using his SIP URI 2. If the user moves to a different IP address, he should re-register with his domain SIP server 3

Problem 2 Explain the meaning and the role of the main SIP headers of the following message 4

Problem 2 - solution The To header stores the URI identifying the SIP user Period of validity of the registration The contact header stores the information about the current position of the user (IP+port number) Authentication credentials 5

Problem 3 Given the following SIP REGISTER message, assuming a correct configuration for the SIP client, what could be the answer to this request? 6

Problem 3 - answer Since most of the SIP server require a user to authenticate itself, the most likely answer is 401 Unauthorized, because the message does not include credentials for the authentication. No username IP association will be created and the server response will include a challenge for the authentication. 7

Problem 4 The following is a trace of an INVITE session, assuming that the caller is in the SIP domain ipv6.polito.it, answer the following questions: 1. What is the username of both clients? 2. What is the IP address and port number for both clients? 3. What is the meaning of the 100 Trying messagg? 4. What is the meaning of the 180 Ringing message? 5. Record-routing is enabled in the SIP proxy(ies)? 6. What is the minimum number of Sip proxies that can be traversed by an INVITE message? 8

Problem 4: answers (1/3) 1. Caller username : test_user ; called username: livio 2. Caller address:130.192.225.135:7226 Called address: 130.192.225.36:63772 IP addresses and port numbers can be read from the messages ACK and BYE (respectively) Once the dialog is established. the two UAs can communicate directly, using the addresses and port numbers discovered during the INVITE process 9

Problem 4: answers (2/3) 3. The message 100 Trying is sent from the proxy ato the caller UA to signal that the request has been received, and it is under process 4. The message 180 Ringing is sent from the called UA to the caller one (through the proxies) to confirm the reception of the request and for notifying the caller that the called phone is now ringing Only when the human user will take the phone "off-hook" the response 200 OK is generated 10

Problem 4: answers (3/3) 5. It is possible to see that the proxy is always involved in all the SIP messages. Hence record routing is enabled. 6. Since both users belong to the same SIP domain, the minimum number of proxies traversed is 1 (it would be 2 if they were in 2 different domains) 11

Problem 5 (without solution) The following is a trace of an INVITE session, assuming that the caller is in the SIP domain ipv6.polito.it, answer the following questions: What is the IP address and port number of both SIP UA? Is record routing enabled? 12

Problem 6 If two SIP users have the following URI correctly registered in their domain: alice@ipv6.polito.it bob@ipv6.polito.it 1. Draw a diagram with all the messages exchanged between Alice and Bob, in oder to set up a call, including: 1. Possible auxiliary messages 2. Messages sent by the proxy 13

Problem 6 - answer The requested diagram is shown below since the registration has already taken place, both UAs can access the proxy without additional DNS queries, but taking advantage of their DNS caches Domain ipv6.polito.it alice@ipv6.polito.it proxy SIP ipv6.polito.it bob@ipv6.polito.it INVITE 100 Trying 180 Ringing 200 OK INVITE 180 Ringing 200 OK ACK 14

Problem 7 If two SIP users have the following URI correctly registered in their domain alice@ipv6.polito.it bob@iptel.org 1. Draw a diagram with all the messages exchanged between Alice and Bob, in oder to set up a call, including: 1. Possible auxiliary messages 2. Messages sent by the proxies 15

Esercizio 7 - soluzione Domain ipv6.polito.it alice@ipv6.polito.it proxy SIP ipv6.polito.it DNS server proxy SIP Iptel.org Domain iptel.org bob@ipv6.polito.it INVITE 100 Trying DNS NAPTR query DNS NAPTR resp DNS SRV query DNS SRV resp DNS A query DNS A resp 180 Ringing 200 OK INVITE 180 Ringing 200 OK ACK INVITE 180 Ringing 200 OK 16