Media Gateway Control Protocol

Slides:



Advertisements
Similar presentations
1 IP Telephony (VoIP) CSI4118 Fall Introduction (1) A recent application of Internet technology – Voice over IP (VoIP): Transmission of voice.
Advertisements

Figure 7-1 Softswitch Components Signaling Gateway Feature Server Softswitch Universal Media Gateway SGCP SIP MGCP MGCP (Media Gateway Control Protocol)
Building Applications Using SIP Scott Hoffpauir Vice President, Engineering Fall 1999 VON, Atlanta.
Gateway and Trunk Concepts Chapter 07. The Process of Converting Voice to Packet 0.
H. 323 Chapter 4.
Basics of Protocols SIP / H
Voice over IP Fundamentals
1 Roch H. Glitho- Ericsson/Concordia UniversityJanuary 2008 INSE 7110 – Winter 2008 Value Added Services Engineering in Next Generation Networks Week #4,
Voice over IP Protocols
VoIP alarm monitoring. Traditional alarm systems Motion sensor Smoke detector Camera Premise Controll Unit Fire station Security service Central station.
VOIP Switch Monitoring and Traffic Management
CHAPTER 13 Gateway Control Protocols. Media Gateway Control Protocol: MGC: Media Gateway Controller MG: Media Gateway Master/Slave relationship MG handles:
Session Initiation Protocol (SIP) By: Zhixin Chen.
VoIP Using SIP/RTP by George Fu, UCCS CS 522 Semester Project Fall 2004.
SIP, Session Initiation Protocol Internet Draft, IETF, RFC 2543.
Internet Telephony System implementation (SIP User Agent, MGCP Library and RTP Replicator) AT&T Research Lab Xiaotao Wu.
Voice over Internet Protocol (VoIP) Training and Development.
Scott Hoffpauir BroadSoft, Inc. Vice President, Engineering OPENSIG October 15, 1999 The Enhanced Services Layer in a Distributed Packet Network.
Signaling interworks in PSTN and Voice-over-IP networks
Media Gateway Control and the Softswitch Architecture
Fall Forum -- Keystone, Colorado USA -- November, 1999.
1 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public IP Telephony Introduction to VoIP Cisco Networking Academy Program.
1 Leveraging SS7 to Deliver IP Services Carl Bergstrom Director – IN & IP Services VeriSign Telecommunication Services Internet Telephony Conference, February.
What is internet telephony?  IP telephony uses the Internet to send audio, video, fax etc between two or more users in real time, so the users can converse.
Signaling & Network Control Dr. Eng. Amr T. Abdel-Hamid NETW 704 Winter 2006 Intelligent Networks.
3. VoIP Concepts.
Session Initiation Protocol Team Members: Manjiri Ayyar Pallavi Murudkar Sriusha Kottalanka Vamsi Ambati Girish Satya LeeAnn Tam.
© 2008 Cisco Systems, Inc. All rights reserved.CIPT1 v6.0—4-1 Enabling Single-Site On-Net Calling Implementing MGCP Gateways in Cisco Unified Communications.
The Basics of Voice over the Internet Protocol Frank M. Groom, Ph.D. Professor of Information and Communication Sciences Ball State University.
Media Gateway Control Protocol (MGCP) PTCL Training & Development MGCP.
VoIP Protocol Introduction(MGCP) PKT-SP-EC-MGCP-I
Designing a Voice over IP Network Chapter 9. Internet Telephony 2 Introduction The design of any network involves striking a balance between three requirements.
MGCP Megaco H.248 by Bob Young. MGCP - Megaco - H.248 "It's all one."
VoIP Technology Briefing
Call Control with SIP Brian Elliott, Director of Engineering, NMS.
Applied Communications Technology Voice Over IP (VOIP) nas1, April 2012 How does VOIP work? Why are we interested? What components does it have? What standards.
B2BUA – A New Type of SIP Server Name: Stephen Cipolli Title: System Architect Date: Feb. 12, 2004.
Introduction to SIP Based ENUM IP Telephony Infrastructure 資策會 網路及通訊實驗室 Conference over IP Team 楊政遠 博士
A Conference Gateway Supporting Interoperability Between SIP and H.323 Jiann-Min Ho (Presenter) Jia-Cheng Hu Information Networking Institute Peter Steenkiste.
Presented By Team Netgeeks SIP Session Initiation Protocol.
Voice over IP by Rahul varikuti course instructor: Vicky Hsu.
NATIONAL INSTITUTE OF SCIENCE & TECHNOLOGY VOICE OVER INTERNET PROTOCOL SHREETAM MOHANTY [1] VOICE OVER INTERNET PROTOCOL SHREETAM MOHANTY ROLL # EC
PTCL Training & Development
E Multimedia Communications Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia.
Voice over IP B 林與絜.
VoIP Signaling Protocols A signaling protocol is a common language spoken by telephones and call-management servers, the PSTN, and legacy PBX systems as.
RSVP Myungchul Kim From Ch 12 of book “ IPng and the TCP/IP protocols ” by Stephen A. Thomas, 1996, John Wiley & Sons. Resource Reservation.
TBE 2710 Chapter 12 Signaling.
Softswitch SIP Proxy Server Call Manager IP Telephony Router Tablet PC IP PBX Class 5 Switch Class 4 Switch PBX Access Gateway Broadband Router Voice Gateway.
May 1998 Page 1 SOLIANT Internet Systems SGCP - Simple Gateway Control Protocol Christian Huitema
Voice Over IP (VoIP): Internet Telephony Dr. Najla Al-nabhan 1.
SIP & H.323 Interworking Name: Amir Zmora Title: PM Date: Feb
1 IWF and CCF for VoIP Protocols Ming-Feng Chang Professor CSIE, NCTU.
Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.
The Session Initiation Protocol - SIP
3/10/2016 Subject Name: Computer Networks - II Subject Code: 10CS64 Prepared By: Madhuleena Das Department: Computer Science & Engineering Date :
by Kiran Kumar Devaram Varsha Mahadevan Shashidhar Rampally
VoIP ALLPPT.com _ Free PowerPoint Templates, Diagrams and Charts.
IP Telephony (VoIP).
Voice over internet protocol
NET 3710 Signaling.
Session Initiation Protocol
VOICE AND VIDEO OVER IP VOIP, RTP, RSVP.
Presentation 8 - MGCP and Megaco/H.248
VoIP Signaling and Call Control
VOIP Introduction -MGCP
Overview of ETS in IPCablecom Networks
Modified from the talk by
The Interworking of IP Telephony with Legacy Networks
VoIP Signaling Protocols Framework
Presentation transcript:

Media Gateway Control Protocol Introduction Media gateway Control Interface Entity Naming (Endpoint, Call, Connection, CA) Digit Maps Events Commands Protocol Description Call Flow for RGW to TGW Usage of Commands

Introduction Components Internet SS7 Network MGCP MGCP RTP SCP Signaling (SS7) Gateway SIGTRAN Call Agent STP MGCP MGCP Trunking Gateway Residential Gateway Trunking Gateway Residential Gateway CO Switch Trunking Gateway Residential Gateway RTP

Introduction Types of Media Gateway Concept of Call Agent Trunking Gateway to CO/Switches Residential Gateway to PSTN Phones Access Gateway Business Gateway Concept of Call Agent call control intelligent outside gateways master/slave undefined CA to CA: maybe H.323, SIP+

Introduction Relation with H.323 Standards Internet Signaling (SS7) Gateway Internet SS7/ISUP SIGTRAN Gatekeeper CO Switch Call Agent H.225/RAS H.225/Q.931 H.245 Terminal or Gateway MGCP Trunking Gateway RTP

H323, SIP & MGCP Concept H.323 , SIP Problems MGCP peer-to-peer internet oriented intelligent endpoint optional GK decentralized Problems maintenance cost & scalability of large systems signaling & media control are coupled interoperability with SS7 MGCP client-server traditional telephony intelligent server “dumb” terminal centralized Concept gateway decomposed separate call control from media ports CA, MG, SG interoperability with PSTN

Media gateway Control Interface Endpoints Types Digital Channel Analog line IVR endpoint Naming: GW’s Domain Name + Local Name Local Name physical interface name / circuit number e.g., galant.ccl.itri.org.tw/X35V3+A4/15 Wild-carded e.g., galant.ccl.itri.org.tw/X35V3+A4/* e.g., galant.ccl.itri.org.tw/X35V3+A4/$ (Channel) DS0 endpoint Analog endpoint (Line) (Connections) IVR endpoint

Media gateway Control Interface Calls & Connections & Call Agents Call Identifier (Call ID) Created by CA Unique in the Whole System Connection ID Created by GW Unique under Its GW Usage of a Connection ID on the same EP Waiting Period at least 3 minutes CA Identifier (its domain name) Redundant CAs : reliability CA & GW keep “time-to-live” record they read from DNS

Media gateway Control Interface Digit Map CA ask GW to collect user dialed digits Created by CA Sent to Gateways Usage Gateways detect digits, letters, or timer e.g., (11x|080xxxxxx|03xxxxxxx|002x.T) Match accumulated digits under-qualified, do nothing further matched, send the collected digits to CA over-qualified, send the digits to CA Inter-digit Timer

Media gateway Control Interface Events package name(o) / event name package: Generic Media (G) DTMF (D) MF (M) Trunk (T) Line (L) Handset (H) RTP (R) Network Access Server (N) Announcement Server (A) Script Gateway Supported packages Trunk GW (ISUP) Trunk GW (MF) Network Access Server Combined NAS/VOIP GW Access GW (VOIP) Access GW (VOIP + NAS) Residential GW Announcement GW G, D, T, R G, M, D, T, R G, M, T, N G, M, D, T, N, R G, M, D, R G, M, D, N, R G, D, L, R A, R

Media Gateway Control Interface Commands 9 commands to handle Connection/Endpoints EndpointConfiguration (coding charateristics) NotificationRequest (requested events) Notify (GW : detected events) CreateConnection ModifyConnection DeleteConnection (GW also) AuditEndpoint (query status) AuditConnection (query status) RestartInProgress (GW : taken in/out of service) All commands are acknowledged. EPCF RQNT NTFY CRCX MDCX DLCX AUEP AUCX RSIP

Protocol Description Transactions (simple text format) command header a command line (case insensitive) Action + TransId + Endpoint + Version RQNT 1201 endpoint/1@rgw.net MGCP 1.0 a set of parameter lines parameter name (upper case): value X: 0123456789B1 (RequestIdentifier) R: hd (requestedEvent: hang down) S: rg (signalRequest: ring tone) session description

Protocol Description Transactions response header a response line Response code + TransId + Commentary 200 1201 OK a set of parameter lines (optional) after CreateCX(/MDCX/DLCX/Audit/Restart) I: A3C47F21456789F0 (ConnectionId) session description Session Description Protocol separated from header by an empty line

Call Flow for RGW to TGW

Call Flow for RGW to TGW

Call Flow for RGW to TGW RQNT(1) : NotificationRequest ACK to RQNT(1) RQNT 1201 hrd3/15@rgw.whatever.net MGCP 1.0 N: CA@ca.whatever.net:5678 X: 0123456789AC R: hd(E(R(hu(N)),S(dl),D/(D))) D: (11x|080xxxxxx|57xxxxx|002x.T) ACK to RQNT(1) 200 1201 OK N: NotifyEntity X: RequestIdentifier R: RequestEvents D: DigitMap E: Embedded(enable) Request R: Notification Request N: Notify immediately S: Signal Request D: Digit Map

Call Flow for RGW to TGW NTFY(2) : Notify from RGW ACK to NTFY(2) NTFY 2002 hrd3/15@rgw.whatever.net MGCP 1.0 N: CA@ca.whatever.net:5678 X: 0123456789AC O: 5721043 ACK to NTFY(2) 200 2002 OK N: NotifyEntity X: RequestIdentifier O: ObservedEvent

Call Flow for RGW to TGW CRCX(3) : CreateConnection ACK to CRCX(3) CRCX 1204 hrd3/15@rgw.whatever.net MGCP 1.0 C: A3C47F21456789F0 L: p:10, a: G.711; G.726-32 M: recvonly X: 0123456789AD R: hu ACK to CRCX(3) 200 1204 OK I: FDE234C8 Session Description C: CallId L: LocalCXOptions p: packetize period(ms) a: Compression Algo. M: Mode X: RequestIdentifier R: RequestEvents I: ConnectionId

Call Flow for RGW to TGW CRCX(4) : CreateConnection ACK to CRCX(4) CRCX 1205 card6/5@tgw.whatever.net MGCP 1.0 C: A3C47F21456789F0 L: p:10, a: G.711; G.726-32 M: sendrecv Session Description from ACK(3) ACK to CRCX(4) 200 1205 OK I: 32F345E2 Session Description C: CallId M: Mode I: ConnectionId

Call Flow for RGW to TGW MDCX(5) : ModifyConnection ACK to MDCX(5) MDCX 1206 hrd3/15@rgw.whatever.net MGCP 1.0 C: A3C47F21456789F0 I: FDE234C8 M: recvonly Session Description from ACK(4) ACK to MDCX(5) 200 1206 OK C: CallId I: ConnectionId M: Mode

Call Flow for RGW to TGW RQNT(6) : NotificationRequest ACK to RQNT(6) RQNT 1207 hrd3/15@rgw.whatever.net MGCP 1.0 N: CA@ca.whatever.net:5678 X: 012345789AE R: hu S: v (alerting) ACK to RQNT(6) 200 1207 OK N: NotifyEntity X: RequestIdentifier R: RequestEvents S: SignalRequests

Call Flow for RGW to TGW MDCX(7) : ModifyConnection ACK to MDCX(7) MDCX 1209 hrd3/15@rgw.whatever.net MGCP 1.0 C: A3C47F21456789F0 I: FDE234C8 M: sendrecv X: 012345789AF R: hu ACK to MDCX(7) 200 1209 OK C: CallId I: ConnectionId M: Mode

Call Flow for RGW to TGW DLCX(8) : DeleteConnection ACK to DLCX(8) DLCX 1210 hrd3/15@rgw.whatever.net MGCP 1.0 C: A3C47F21456789F0 I: FDE234C8 ACK to DLCX(8) 200 1210 OK P: PS=1245, OS=62345, PR=780, OR=45123, PL=10, JI=27, LA=48 C: CallId I: ConnectionId PS: Packets sent OS: Octets sent PR: Packets received OR: Octets received PL: Packets lost JI: Average Jitter (ms) LA: Average Latency (ms)

Usage of Commands NotificationRequest() EndpointId, [NotifiedEntity,] [RequestedEvents,] RequestIdentifier, [DigitMap,] [SignalRequests,] [QuarantineHandling,] [DetectEvents,] [encapsulated EndpointConfiguration] Request Notify Request Time Quarantine Period Q T Q: process/discard step/loop (notify) T: events to detect during quarantine

Usage of Commands CreateConnection() CallId, EndpointId, [NotifiedEntity,] [LocalConnectionOptiona,] Mode, [{RemoteConnectDescptr|SecondEndpointId}] [EncapsulatedNotificationRequest,] [encapsulated EndpointConfiguration] Hairpin Connection

Usage of Commands DeleteConnection() Delete one connection from Call Agent ConnectionId in the parameter line GW : Connection parameters Multiple connection from Call agent only EndpontId (and CallId) in the parameter line GW: No connection parameter From gateway Reason-Code & Connection-Parameters in Command

MGCP Applications (1) IP Switch IP Networks Call Agent PSTN Switch IP PBX IP Networks SS7 SGW SGW SS7 Call Agent TGW TGW

MGCP Applications (2) IP PBX IP Networks Call Agent PSTN PBX IP PBX SGW SS7 TGW Call Agent TGW