a. Draw a network diagram, showing how a telephone in the US would make calls to a telephone on Deception Island. (15 points).

Similar documents
TSM350G Midterm Exam MY NAME IS March 12, 2007

SOHO 3G Gateway Series

GSM VoIP Gateway Series

SIP Reliable Provisional Response on CUBE and CUCM Configuration Example

Application Notes for Configuring SIP Trunking between Cincinnati Bell Any Distance evantage and Avaya IP Office Issue 1.0

How to set FAX on asterisk

SIP Protocol Debugging Service

Abstract. Avaya Solution & Interoperability Test Lab

Application Notes for Configuring SIP Trunking between McLeodUSA SIP Trunking Solution and an Avaya IP Office Telephony Solution Issue 1.

Avaya IP Office 4.1 SIP Customer Configuration Guide For use with AT&T IP Flexible Reach. Issue th April 2008

ENSC 833-3: NETWORK PROTOCOLS AND PERFORMANCE. Implement Session Initiation Protocol (SIP) User Agent Prototype

Application Notes for Configuring SIP Trunking between Bandwidth.com SIP Trunking Solution and an Avaya IP Office Telephony Solution Issue 1.

Application Notes for Configuring Avaya IP Office 8.1 with Etisalat SIP Trunk service Issue 1.0

Voice over IP (VoIP)

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

Application Notes for Configuring SIP Trunking between TelePacific SmartVoice SIP Connect and an Avaya IP Office Telephony Solution 1.

Application Notes for Configuring SIP Trunking between Global Crossing SIP Trunking Service and an Avaya IP Office Telephony Solution Issue 1.

Just how vulnerable is your phone system? by Sandro Gauci

Signaling trace on GSM/CDMA VoIP Gateway

Configuring SIP MWI Features

Application Notes for Windstream SIP Trunking Service using Broadsoft Platform with Avaya IP Office Issue 1.0

Application Notes for IntelePeer CoreCloud SIP Trunking Service with Avaya IP Office Release Issue 1.0

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

Abstract. Avaya Solution & Interoperability Test Lab

RFC 3665 Basic Call Flow Examples

TSIN02 - Internetworking

OpenSIPS Workshop. Federated SIP with OpenSIPS and RTPEngine

Domain-Based Routing Support on the Cisco UBE

PCP NAT64 Experiments

RFC 3666 SIP PSTN Call Flows 2 SIP to PSTN Dialing

2010 Avaya Inc. All Rights Reserved.

SIP Tutorial. Leonid Consulting V1.4. Copyright Leonid Consulting, LLC (2007) All rights reserved.

Technical specifications for connecting SIP PBX to the Business Trunk service by Slovak Telekom.

B.Eng. (Hons.) Telecommunications. Examinations for / Semester 1

ICE: the ultimate way of beating NAT in SIP

Mohammad Hossein Manshaei 1393

Multimedia networking: outline

ControlONE Technical Guide

SIP Core SIP Technology Enhancements

Analysing Protocol Implementations

Overview of the Session Initiation Protocol

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

Mid-call Re-INVITE/UPDATE Consumption

Understanding SIP exchanges by experimentation

AddPac VoIP Gateway Series

VoIP Basics. VoIP Basics, X/Stra, Oct 2,

Abstract. Avaya Solution & Interoperability Test Lab

RFC 3666 SIP PSTN Call Flows 2 SIP to PSTN Dialing

Media Communications Internet Telephony and Teleconference

Real-time Services BUPT/QMUL

Session Initiation Protocol (SIP) Overview

Technical User Guide. Baseband IP Voice handover interface specification

FreeSWITCH IP PBX with Secure Twilio Elastic SIP Trunking

Real-Time Control Protocol (RTCP)

Interworking Signaling Enhancements for H.323 and SIP VoIP

Real Time Protocols. Overview. Introduction. Tarik Cicic University of Oslo December IETF-suite of real-time protocols data transport:

Kommunikationssysteme [KS]

Session Initiation Protocol (SIP) Overview

Internet Telephony: Advanced Services. Overview

It's only software. Mark Spencer

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

VoIP Basics. 2005, NETSETRA Corporation Ltd. All rights reserved.

Reserving N and N+1 Ports with PCP

OHLONE COLLEGE Ohlone Community College District OFFICIAL COURSE OUTLINE

Internet Streaming Media. Reji Mathew NICTA & CSE UNSW COMP9519 Multimedia Systems S2 2006

RFC 3666 SIP PSTN Call Flows 2 SIP to PSTN Dialing

Multimedia networking: outline

Scanning the Intertubes for VOIP

Tech-invite RFC SIP PSTN Call Flows 3 PSTN to SIP Dialing. 3.1 Successful PSTN to SIP call

SIP Trunk 2 IP-PBX User Guide (Asterisk) Ver /11/21

SIP Trunking & Peering Operation Guide

Non. Interworking between SIP and H.323, MGCP, Megaco/H.248 LS'LDORJ,QF 7HFKQRORJ\ 'ULYH 6XLWH 3KRQH )D[

Implementation Profile for Interoperable Bridging Systems Interfaces (Phase 1)

SIP (Session Initiation Protocol)

ZyXEL V120 Support Notes. ZyXEL V120. (V120 IP Attendant 1 Runtime License) Support Notes

Spectrum Enterprise SIP Trunking Service Avaya (Nortel) BCM50 Firmware IP PBX Configuration Guide

Allstream NGNSIP Security Recommendations

Internet Streaming Media. Reji Mathew NICTA & CSE UNSW COMP9519 Multimedia Systems S2 2007

PORTA ONE. PortaSwitch Handbook: SIP Services Maintenance Release 17. Part I.

Troubleshoot One Way Audio Issue Using CLI Debug Outputs from Cisco IP Phone 7800/8800 Series

ALE Application Partner Program Inter-Working Report

Real-time Services BUPT/QMUL

Cisco PGW 2200 and HSI Softswitch Out of band DTMF for SIP and H.323

Multimedia Systems Multimedia Networking Part II Mahdi Amiri December 2015 Sharif University of Technology


Application Notes for Configuring SIP Trunking between TelePacific SmartVoice SIP Connect and an Avaya Quick Edition Telephony Solution 1.

Application Scenario 1: Direct Call UA UA

The Session Initiation Protocol

Troubleshooting Voice Over IP with WireShark

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

Z24: Signalling Protocols

SIP Trunk design and deployment in Enterprise UC networks

Multimedia Communication

SIP Trunk 2 IP-PBX User Guide Asterisk

REACTION PAPER 01 TEL 500

Information About SIP Compliance with RFC 3261

Multimedia Applications. Classification of Applications. Transport and Network Layer

Compliance with RFC 3261

Secure Telephony Enabled Middle-box (STEM)

SIP Compliance APPENDIX

Transcription:

TSM 350 IP Telephony Fall 2004 E Eichen Exam 1 (Midterm): November 10 Solutions 1 True or False: a Call signaling in a SIP network is routed on a hop-by-hop basis, while call signaling in an H323 network (GK direct model) is be routed directly between VoIP endpoints (5 pts) True or False answer: True Just as it says proxies forward signaling messages hop by hop, where as H323 Gatekeeper Direct, endpoints signal directly to each other after resolving the endpoint address using RAS through gatekeeper(s) b Media (RTP) in a SIP network is routed on a hop-by-hop basis, while media in an H323 network (GK direct model) is be routed directly between VoIP endpoints (5 pts) True or False answer: False Media is typically endpoint-to-endpoint in both H323 and SIP The only exceptions are where there is an intermediate point (such as in a Session Border Controller) where the media is terminated an re-launched 2 Background: Under The Radar Telecom (UTRT Inc) is providing long distance calling, through a calling card server, between the US and The South Shetland Islands Their VoIP Gateway in the US has PSTN connectivity via a channelized T1 to Northeastern's PBX; the US VoIP Gateway also has an Ethernet connection connection to Northeastern s LAN The calling card server, which is the Asterisk PBX in the VoIP lab, is also connected to Northeastern s LAN On Deception Island, UTRT has purchased a fractional T1 from Penguin Net for WAN connectivity to their VoIP gateway in Port Foster The VoIP gateway connects has analog loops to the PSTN switch in Port Foster UTRT is rate limited to ½ of the full clear channel bandwidth on the clear channel T1 from Penguin Net UTRT has decided to use the G723 codec (53 kb/s) because of its low bandwidth, and the fact that most of their customers are penguins who talk slowly As Penguins don t like email or web surfing, you can assume that voice RTP packets are the only traffic on the Penguin Net WAN a Draw a network diagram, showing how a telephone in the US would make calls to a telephone on Deception Island (15 points) b How many analog loops should UTRT purchase from the PSTN provider on Deception Island (Hint calculate the bandwidth for a single voice connection, and then divide the total WAN bandwidth by the bandwidth for a single session ) - (20 points) TSM350 Midterm exam p 1

Calling Card Server NEU PBX Channel T1 VoIP GW NEU LAN Telephone Public Internet POTS Telephone Port Foster PSTN Switch POTS POTS VoIP GW Figure of UTRT network and service Penguin Net b: answer One half of a T1 is 144Mbits/sec divided by 2, or 720 Kbits/sec The ip packet size will be 53kb/s * 10msec = 53 bits, or 7 bytes, along with a 20 byte IP header, an 8 byte UDP header, 12 bytes for RTP, and 8 bytes for layer 2 headertrailer => 55 bytes The bandwidth required is thus 55 bytes x 8 bits/byte / 10 msec = 44 kbits/sec The number of 44 kb/s channels that can fit inside 720 kb/s is 720/44 = 1636 Thus, the fractional T1 can support 16 phone conversations, and they must buy 16 analog loops Figure of the Layer2 frame for question 2 all numbers are in bytes (octets for the purists) c EEichen, Northeastern CIO (and Vice-President of Greed) has learned of UTRT s service from his contacts at the NSA Rather than shutting down the service, he has asked UTRT to pay for bandwidth, based on the peak bandwidth used during a month Dr Eichen will charge UTRT $1 each month for each kbits/s of peak bandwidth (made payable to a numbered account in Switzerland) Assuming that, at peak, all voice channels on Deception Island are full, how much money will Dr Eichen be collection from UTRT? (Hint this is a little tricky, think about how much bandwidth is required on the NEastern LAN) (20 points) c: answer So, this is a little tricky If the media is terminated by the asterisk server, then there 2x the ethernet media on the LAN If the media is mapped directly to the VoIP GW in Port Foster (more likely) using either a REFER or a RE-INVITE (because the call must first be sent to the calling card server to collect the pin digits), then it s only 16 (per solution to b) simultaneous calls x bandwidth per call For ethernet, we remove the 8 bytes of layer 2, and add 18 bytes for ethernet => 65 byte TSM350 Midterm exam p 2

packets The peak bandwidth is thus 16*65 bytes * 8 bits/byte/10 msec = 832 kbits/s I am thus going to make $832/month Not bad 3 Please draw a ladder diagram based on the attached diagram and a snippet of SIP debugs What s going on here? (35 points) Router Ethernet Switch 1921680101 IP Phone ext 3004 1921680105 IP Phone ext 3002 Network Diagram for problem 3 1921680110 Asterisk Server So what s going on here is that 101 (ext 3004) is calling 105 (ext 3002), but the media and signaling are being forced through the PBX The phone at 3002 is busy (in this case, I set it to Do Not Disturb), and the voice mail is being left on the server and a NOTIFY message is sent to the phone (3002) to turn on the message waiting indicator light Here s the ladder diagram: 1921680101 ext 3004 1921680110 Asterisk 1921680105 ext 3002 INVITE TRYING INVITE BUSY OK ACK ACK RTP (although, you can't see this from the SIP debug) NOTIFY OK BYE OK TSM350 Midterm exam p 3

U 1921680101:5060 -> 1921680110:5060 INVITE sip:3002@1921680110;user=phone SIP/20 Via: SIP/20/UDP 1921680101:5060 From: <sip:3004@1921680110;user=phone>;tag=705048313 To: <sip:3002@1921680110;user=phone> Call-ID: 4107902737@1921680101 CSeq: 2 INVITE Contact: <sip:3004@1921680101:5060;user=phone;transport=udp> User-Agent: Cisco ATA 186 v310 atasip (040211A) Proxy-Authorization: Digest username="3004",realm="asterisk",nonce="1fdb7e7b",uri="sip:3002@1921680110",respons e="a1bb3a7501b0982650a93bffacca0568" Expires: 300 Allow: ACK, BYE, CANCEL, INVITE, NOTIFY, OPTIONS, REFER, REGISTER Content-Length: 247 Content-Type: application/sdp v=0 o=3004 1882 1882 IN IP4 1921680101 s=ata186 Call c=in IP4 1921680101 t=0 0 m=audio 10002 RTP/AVP 0 4 8 101 a=rtpmap:0 PCMU/8000/1 a=rtpmap:4 G723/8000/1 a=rtpmap:8 PCMA/8000/1 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 U 1921680110:5060 -> 1921680101:5060 SIP/20 100 Trying Via: SIP/20/UDP 1921680101:5060 From: <sip:3004@1921680110;user=phone>;tag=705048313 To: <sip:3002@1921680110;user=phone>;tag=as6ce511fd Call-ID: 4107902737@1921680101 CSeq: 2 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: <sip:3002@1921680110> Content-Length: 0 U 1921680110:5060 -> 1921680105:5060 INVITE sip:3002@1921680105 SIP/20 Via: SIP/20/UDP 1921680110:5060;branch=z9hG4bK06dae12e From: "3004" <sip:3004@1921680110>;tag=as39b4da84 To: <sip:3002@1921680105> Contact: <sip:3004@1921680110> Call-ID: 637e4707796938ad07d4e39a7e6ef404@1921680110 CSeq: 102 INVITE User-Agent: Asterisk PBX Date: Sun, 14 Nov 2004 19:19:49 GMT Alert-info: Bellcore-dr1 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Content-Type: application/sdp Content-Length: 238 v=0 o=root 28925 28925 IN IP4 1921680110 s=session c=in IP4 1921680110 t=0 0 m=audio 22062 RTP/AVP 0 3 8 101 TSM350 Midterm exam p 4

a=rtpmap:0 PCMU/8000 a=rtpmap:3 GSM/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 U 1921680105:50196 -> 1921680110:5060 SIP/20 486 Busy here Via: SIP/20/UDP 1921680110:5060;branch=z9hG4bK06dae12e From: "3004" <sip:3004@1921680110>;tag=as39b4da84 To: <sip:3002@1921680105>;tag=000628f0f9f2000d7a71ad55-38f1a626 Call-ID: 637e4707796938ad07d4e39a7e6ef404@1921680110 Date: Sun, 14 Nov 2004 19:19:49 GMT CSeq: 102 INVITE Server: CSCO/4 Contact: <sip:3005@1921680105:5060> Content-Length: 0 U 1921680110:5060 -> 1921680105:5060 ACK sip:3005@1921680105:5060 SIP/20 Via: SIP/20/UDP 1921680110:5060;branch=z9hG4bK06dae12e From: "3004" <sip:3004@1921680110>;tag=as39b4da84 To: <sip:3002@1921680105>;tag=000628f0f9f2000d7a71ad55-38f1a626 Contact: <sip:3004@1921680110> Call-ID: 637e4707796938ad07d4e39a7e6ef404@1921680110 CSeq: 102 ACK User-Agent: Asterisk PBX Content-Length: 0 U 1921680110:5060 -> 1921680101:5060 SIP/20 200 OK Via: SIP/20/UDP 1921680101:5060 From: <sip:3004@1921680110;user=phone>;tag=705048313 To: <sip:3002@1921680110;user=phone>;tag=as6ce511fd Call-ID: 4107902737@1921680101 CSeq: 2 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: <sip:3002@1921680110> Content-Type: application/sdp Content-Length: 237 v=0 o=root 28925 28925 IN IP4 1921680110 s=session c=in IP4 1921680110 t=0 0 m=audio 5812 RTP/AVP 0 3 8 101 a=rtpmap:0 PCMU/8000 a=rtpmap:3 GSM/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 U 1921680101:5060 -> 1921680110:5060 ACK sip:3002@1921680110 SIP/20 Via: SIP/20/UDP 1921680101:5060 TSM350 Midterm exam p 5

From: <sip:3004@1921680110;user=phone>;tag=705048313 To: <sip:3002@1921680110;user=phone>;tag=as6ce511fd Call-ID: 4107902737@1921680101 CSeq: 2 ACK User-Agent: Cisco ATA 186 v310 atasip (040211A) Proxy-Authorization: Digest username="3004",realm="asterisk",nonce="1fdb7e7b",uri="sip:3002@1921680110",respons e="a1bb3a7501b0982650a93bffacca0568" Content-Length: 0 U 1921680110:5060 -> 1921680105:5060 NOTIFY sip:3002@1921680105 SIP/20 Via: SIP/20/UDP 1921680110:5060;branch=z9hG4bK361f812f From: "asterisk" <sip:asterisk@1921680110>;tag=as39e043e0 To: <sip:3002@1921680105> Contact: <sip:asterisk@1921680110> Call-ID: 3a86cecd339da70710f761f11e0515d4@1921680110 CSeq: 102 NOTIFY User-Agent: Asterisk PBX Event: message-summary Content-Type: application/simple-message-summary Content-Length: 37 Messages-Waiting: yes Voicemail: 2/0 U 1921680105:50268 -> 1921680110:5060 SIP/20 200 OK Via: SIP/20/UDP 1921680110:5060;branch=z9hG4bK361f812f From: "asterisk" <sip:asterisk@1921680110>;tag=as39e043e0 To: <sip:3002@1921680105> Call-ID: 3a86cecd339da70710f761f11e0515d4@1921680110 Date: Sun, 14 Nov 2004 19:20:04 GMT CSeq: 102 NOTIFY Content-Length: 0 U 1921680110:5060 -> 1921680101:5060 BYE sip:3004@1921680101:5060 SIP/20 Via: SIP/20/UDP 1921680110:5060;branch=z9hG4bK216fee2d From: <sip:3002@1921680110;user=phone>;tag=as6ce511fd To: <sip:3004@1921680110;user=phone>;tag=705048313 Contact: <sip:3002@1921680110> Call-ID: 4107902737@1921680101 CSeq: 102 BYE User-Agent: Asterisk PBX Content-Length: 0 U 1921680101:5060 -> 1921680110:5060 SIP/20 200 OK Via: SIP/20/UDP 1921680110:5060;branch=z9hG4bK216fee2d From: <sip:3002@1921680110;user=phone>;tag=as6ce511fd To: <sip:3004@1921680110;user=phone>;tag=705048313 Call-ID: 4107902737@1921680101 CSeq: 102 BYE Server: Cisco ATA 186 v310 atasip (040211A) Allow: ACK, BYE, CANCEL, INVITE, NOTIFY, OPTIONS, REFER, REGISTER Content-Length: 0 TSM350 Midterm exam p 6