SlideShare a Scribd company logo
1
MGCP Overview
(a VoIP protocol)
William.L
wiliwe@gmail.com
2005-01-11
2
Agenda
What’s MGCP?
MGCP Internal
Basic Call Flows
3
What’s MGCP?
4
Media Gateway Control Protocol
Media Gateway (MG)
provides conversion between the audio signals
(telephone circuits) and data packets (Internet)
For controlling media gateway from call
control elements
Media Gateway Controller (MGC)
Call Agent (CA)
MGCP (1/2)
5
Master-Slave architecture
MGCP (2/2)
Media Gateway Media Gateway
IP network
Call Agent
MGCPMGCP
Analog
Phone A
Analog
Phone B
(RG, residential gateway)
RTP
(Endpoint) (Endpoint)
6
Streaming Multimedia Protocols -
SIP, H.323, MGCP, RTSP, RTP, RTCP
RTCPRTP
IP
MGCP
Signaling Protocols Media Data
Transport
H.225
Q.931
H.323
TCP
RAS
UDP
SIPH.245
Audio/
Video
RTSP
MGCP messages
are transmitted
over UDP.
7
MGCP Internal
8
MGCP Components
Endpoints
sources and sinks of data
Connection
point-to-point, multi-point ex: ATM, IP, PSTN…
Event
off-hook, on-hook, flash-hook, dialed digits …
Signal
dial tone, ringing, busy tone…
Package
group of signals and events ex: R:hu , S:dl …
9
Connections
Connections may be either point-to-point or
multipoint
Point-to-Point(p2p) connection
Associates two endpoints.
Once this association is established for both endpoints,
data transfer between these endpoints can begin
Multipoint connection
Established by connecting the endpoint to a multipoint
session
10
Events & Signals
The controlling primitives for MGCP operations
are
Signals sent from MGC to MG
Events sent from MG to MGC
The concepts of Signals and Events are used
for establishing and tearing down calls
Operations are performed by applying Signals
TO, and detecting Events FROM endpoints
11
MGCP Commands(Methods)
RQNT - Notification Request
NTFY - Notify
CRCX - Create Connection
MDCX - Modify Connection
DLCX - Delete Connection
AUEP - Audit Endpoint
RSIP - Restart In Progress
AUCX - Audit Connection
EPCF - Endpoint Configuration
12
MGCP Return(Status) Codes
Failure due to a permanent error (ex:522 – no such
event or signal)
(521 - redirect to another call agent)
500~599
Failure due to a transient error (ex:401 – already off-
hook)
400~499
Command Successful (ex: 200)
(250 -- only for DLCX)
Provisional responses; a final response will follow later
(ex: 100)
200~299
100~199
13
MGCP Digit Map
Digit maps are provided to the gateway by the Call
Agent
Local operator
Long distance operator
Local extension number
Local number
Shortcut to local number at other
corporate sites
Star services
Long distance number
International number
0
00
xxxx
8xxxxxxx
#xxxxxxx
*xx
91xxxxxxxxxx
9011 + up to 15 digits
(0T | 00T | [1-7]xxx | 8xxxxxxx | #xxxxxxx | *xx | 91xxxxxxxxxx | 9011x.T)
14
Basic Call Flows
15
MG Boot Up - Register to Call Agent
2. OK
3. AUEP
4. OK
1. RSIP
5. RQNT
6. OK
7. RSIP
8. OK
9. AUEP
10. OK
11. RQNT
12. OK
Endpoint 1 MG-1 Call Agent MG-2 Endpoint 2
16
Create a Call (1/2)
Endpoint 1 MG-1 Call Agent MG-2 Endpoint 2
3. OK
2. NTFY
19. OK
18. RQNT
1. Off hook
4. Dial tone
4. RQNT
5. OK
6. Press Digits
7. NTFY
8. OK
10. OK
9. CRCX
17. Ring
11. CRCX
12. OK
13. MDCX
14. OK
15. MDCX
16. OK
17
Create a Call (2/2)
Endpoint 1 MG-1 Call Agent MG-2 Endpoint 2
24. NTFY
23. Off hook
29. Remove ring tone
25. OK
Start media session
(transport Audio/Video data
using RTP/RTCP)
20. RQNT
22. OK
21. Ring tone
18
Terminate a Call
Endpoint 1 MG-1 Call Agent MG-2 Endpoint 2
3. OK
2. NTFY
9. NTFY
4. DLCX
1. On hook
5. DLCX
7. OK
11. RQNT
12. OK
8. On hook
6. OK
10. OK
13. RQNT
14. OK
Media session is terminated
when MGs receive RTCP BYE

More Related Content

What's hot

Voice over IP (VoIP)
Voice over IP (VoIP)Voice over IP (VoIP)
Voice over IP (VoIP)
Peter R. Egli
 
VoIP and multimedia networking
VoIP and multimedia networkingVoIP and multimedia networking
VoIP and multimedia networkingsangusajjan
 
Voice over IP (VOIP)
Voice over IP (VOIP)Voice over IP (VOIP)
Voice over IP (VOIP)
Ahmed Ayman
 
Packet-to-Packet Applications
Packet-to-Packet ApplicationsPacket-to-Packet Applications
Packet-to-Packet ApplicationsVideoguy
 
Yeastar TB BRI VoIP Gateways—Refresh and Restart
Yeastar TB BRI VoIP Gateways—Refresh and RestartYeastar TB BRI VoIP Gateways—Refresh and Restart
Yeastar TB BRI VoIP Gateways—Refresh and Restart
Yeastar
 
Surf Communication Solutions - Packet To Packet Apps
Surf Communication Solutions - Packet To Packet AppsSurf Communication Solutions - Packet To Packet Apps
Surf Communication Solutions - Packet To Packet Apps
Surf Communication Solutions, Ltd.
 
Surf Communication Solutions - Voice Video Gw
Surf Communication Solutions - Voice Video GwSurf Communication Solutions - Voice Video Gw
Surf Communication Solutions - Voice Video Gw
Surf Communication Solutions, Ltd.
 
Sip call flows all cases ccmigration
Sip call flows all cases ccmigrationSip call flows all cases ccmigration
Sip call flows all cases ccmigrationcoolrahul28
 
Sip technology overview
Sip technology overviewSip technology overview
Sip technology overviewOded Ben-Dori
 
Voice Quality Metrics in VoIP
Voice Quality Metrics in VoIPVoice Quality Metrics in VoIP
Voice Quality Metrics in VoIPFraj Alshahibi
 
Session Initiation Protocol
Session Initiation ProtocolSession Initiation Protocol
Session Initiation Protocol
Matt Bynum
 
Tlc 004 - take a sip of sip
Tlc 004 - take a sip of sipTlc 004 - take a sip of sip
Tlc 004 - take a sip of sip
Anna Volynkina
 
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
ALTANAI BISHT
 
SIP - Introduction to SIP Protocol
SIP - Introduction to SIP ProtocolSIP - Introduction to SIP Protocol
SIP - Introduction to SIP Protocol
LivePerson
 
Integrated Service Digital Network
Integrated Service Digital NetworkIntegrated Service Digital Network
Integrated Service Digital Network
Kishore Kumar
 
IMS ENUM and DNS Mechanism
IMS ENUM and DNS MechanismIMS ENUM and DNS Mechanism
IMS ENUM and DNS Mechanism
Kent Loh
 

What's hot (20)

Voice over IP (VoIP)
Voice over IP (VoIP)Voice over IP (VoIP)
Voice over IP (VoIP)
 
VoIP and multimedia networking
VoIP and multimedia networkingVoIP and multimedia networking
VoIP and multimedia networking
 
Voice over IP (VOIP)
Voice over IP (VOIP)Voice over IP (VOIP)
Voice over IP (VOIP)
 
Packet-to-Packet Applications
Packet-to-Packet ApplicationsPacket-to-Packet Applications
Packet-to-Packet Applications
 
Yeastar TB BRI VoIP Gateways—Refresh and Restart
Yeastar TB BRI VoIP Gateways—Refresh and RestartYeastar TB BRI VoIP Gateways—Refresh and Restart
Yeastar TB BRI VoIP Gateways—Refresh and Restart
 
Surf Communication Solutions - Packet To Packet Apps
Surf Communication Solutions - Packet To Packet AppsSurf Communication Solutions - Packet To Packet Apps
Surf Communication Solutions - Packet To Packet Apps
 
Surf Communication Solutions - Voice Video Gw
Surf Communication Solutions - Voice Video GwSurf Communication Solutions - Voice Video Gw
Surf Communication Solutions - Voice Video Gw
 
Sip call flows all cases ccmigration
Sip call flows all cases ccmigrationSip call flows all cases ccmigration
Sip call flows all cases ccmigration
 
Sip technology overview
Sip technology overviewSip technology overview
Sip technology overview
 
Voice Quality Metrics in VoIP
Voice Quality Metrics in VoIPVoice Quality Metrics in VoIP
Voice Quality Metrics in VoIP
 
Session Initiation Protocol
Session Initiation ProtocolSession Initiation Protocol
Session Initiation Protocol
 
Tlc 004 - take a sip of sip
Tlc 004 - take a sip of sipTlc 004 - take a sip of sip
Tlc 004 - take a sip of sip
 
SIP for geeks
SIP for geeksSIP for geeks
SIP for geeks
 
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
 
Internet multimedia
Internet multimediaInternet multimedia
Internet multimedia
 
Video telephony chanel
Video telephony chanel Video telephony chanel
Video telephony chanel
 
SIP - Introduction to SIP Protocol
SIP - Introduction to SIP ProtocolSIP - Introduction to SIP Protocol
SIP - Introduction to SIP Protocol
 
CCNA- part 9 isdn
CCNA- part 9 isdnCCNA- part 9 isdn
CCNA- part 9 isdn
 
Integrated Service Digital Network
Integrated Service Digital NetworkIntegrated Service Digital Network
Integrated Service Digital Network
 
IMS ENUM and DNS Mechanism
IMS ENUM and DNS MechanismIMS ENUM and DNS Mechanism
IMS ENUM and DNS Mechanism
 

Viewers also liked

Introduction to SIP(Session Initiation Protocol)
Introduction to SIP(Session Initiation Protocol)Introduction to SIP(Session Initiation Protocol)
Introduction to SIP(Session Initiation Protocol)
William Lee
 
Android Storage - StorageManager & OBB
Android Storage - StorageManager & OBBAndroid Storage - StorageManager & OBB
Android Storage - StorageManager & OBB
William Lee
 
2016-02-17 research seminar
2016-02-17 research seminar2016-02-17 research seminar
2016-02-17 research seminar
ifi8106tlu
 
VOIP QOS
VOIP QOSVOIP QOS
VOIP QOS
Thomas Mangin
 
Android Storage - Internal and External Storages
Android Storage - Internal and External StoragesAndroid Storage - Internal and External Storages
Android Storage - Internal and External Storages
William Lee
 
Quality of Servise
Quality of ServiseQuality of Servise
Quality of Servise
Raza_Abidi
 
VoIP Techniques and Challenges PRESENTATION
VoIP Techniques and Challenges PRESENTATIONVoIP Techniques and Challenges PRESENTATION
VoIP Techniques and Challenges PRESENTATIONKarama Said(BEng,MSc)
 
The Art of VoIP Hacking - Defcon 23 Workshop
The Art of VoIP Hacking - Defcon 23 WorkshopThe Art of VoIP Hacking - Defcon 23 Workshop
The Art of VoIP Hacking - Defcon 23 Workshop
Fatih Ozavci
 
MTP & PTP
MTP & PTPMTP & PTP
MTP & PTP
William Lee
 
Usage Note of Apache Thrift for C++ Java PHP Languages
Usage Note of Apache Thrift for C++ Java PHP LanguagesUsage Note of Apache Thrift for C++ Java PHP Languages
Usage Note of Apache Thrift for C++ Java PHP Languages
William Lee
 
Android Storage - Vold
Android Storage - VoldAndroid Storage - Vold
Android Storage - Vold
William Lee
 
SIP (Session Initiation Protocol) - Study Notes
SIP (Session Initiation Protocol) - Study NotesSIP (Session Initiation Protocol) - Study Notes
SIP (Session Initiation Protocol) - Study Notes
Marius FAILLOT DEVARRE
 
Android GDB Debugging (Chinese)
Android GDB Debugging (Chinese)Android GDB Debugging (Chinese)
Android GDB Debugging (Chinese)
William Lee
 
Mobile transport layer
 Mobile transport layer Mobile transport layer
Mobile transport layer
SonaliAjankar
 
GNOME GeoClue - The Geolocation Service in Gnome
GNOME GeoClue - The Geolocation Service in GnomeGNOME GeoClue - The Geolocation Service in Gnome
GNOME GeoClue - The Geolocation Service in GnomeWilliam Lee
 
Android Debugging (Chinese)
Android Debugging (Chinese)Android Debugging (Chinese)
Android Debugging (Chinese)
William Lee
 
Android Services and Managers Basic
Android Services and Managers BasicAndroid Services and Managers Basic
Android Services and Managers Basic
William Lee
 
Moblin2 - Window Manager(Mutter) Plugin
Moblin2 - Window Manager(Mutter) PluginMoblin2 - Window Manager(Mutter) Plugin
Moblin2 - Window Manager(Mutter) Plugin
William Lee
 
Usage Note of Qt ODBC Database Access on Linux
Usage Note of Qt ODBC Database Access on LinuxUsage Note of Qt ODBC Database Access on Linux
Usage Note of Qt ODBC Database Access on Linux
William Lee
 
CWMP TR-069 Training (Chinese)
CWMP TR-069 Training (Chinese)CWMP TR-069 Training (Chinese)
CWMP TR-069 Training (Chinese)William Lee
 

Viewers also liked (20)

Introduction to SIP(Session Initiation Protocol)
Introduction to SIP(Session Initiation Protocol)Introduction to SIP(Session Initiation Protocol)
Introduction to SIP(Session Initiation Protocol)
 
Android Storage - StorageManager & OBB
Android Storage - StorageManager & OBBAndroid Storage - StorageManager & OBB
Android Storage - StorageManager & OBB
 
2016-02-17 research seminar
2016-02-17 research seminar2016-02-17 research seminar
2016-02-17 research seminar
 
VOIP QOS
VOIP QOSVOIP QOS
VOIP QOS
 
Android Storage - Internal and External Storages
Android Storage - Internal and External StoragesAndroid Storage - Internal and External Storages
Android Storage - Internal and External Storages
 
Quality of Servise
Quality of ServiseQuality of Servise
Quality of Servise
 
VoIP Techniques and Challenges PRESENTATION
VoIP Techniques and Challenges PRESENTATIONVoIP Techniques and Challenges PRESENTATION
VoIP Techniques and Challenges PRESENTATION
 
The Art of VoIP Hacking - Defcon 23 Workshop
The Art of VoIP Hacking - Defcon 23 WorkshopThe Art of VoIP Hacking - Defcon 23 Workshop
The Art of VoIP Hacking - Defcon 23 Workshop
 
MTP & PTP
MTP & PTPMTP & PTP
MTP & PTP
 
Usage Note of Apache Thrift for C++ Java PHP Languages
Usage Note of Apache Thrift for C++ Java PHP LanguagesUsage Note of Apache Thrift for C++ Java PHP Languages
Usage Note of Apache Thrift for C++ Java PHP Languages
 
Android Storage - Vold
Android Storage - VoldAndroid Storage - Vold
Android Storage - Vold
 
SIP (Session Initiation Protocol) - Study Notes
SIP (Session Initiation Protocol) - Study NotesSIP (Session Initiation Protocol) - Study Notes
SIP (Session Initiation Protocol) - Study Notes
 
Android GDB Debugging (Chinese)
Android GDB Debugging (Chinese)Android GDB Debugging (Chinese)
Android GDB Debugging (Chinese)
 
Mobile transport layer
 Mobile transport layer Mobile transport layer
Mobile transport layer
 
GNOME GeoClue - The Geolocation Service in Gnome
GNOME GeoClue - The Geolocation Service in GnomeGNOME GeoClue - The Geolocation Service in Gnome
GNOME GeoClue - The Geolocation Service in Gnome
 
Android Debugging (Chinese)
Android Debugging (Chinese)Android Debugging (Chinese)
Android Debugging (Chinese)
 
Android Services and Managers Basic
Android Services and Managers BasicAndroid Services and Managers Basic
Android Services and Managers Basic
 
Moblin2 - Window Manager(Mutter) Plugin
Moblin2 - Window Manager(Mutter) PluginMoblin2 - Window Manager(Mutter) Plugin
Moblin2 - Window Manager(Mutter) Plugin
 
Usage Note of Qt ODBC Database Access on Linux
Usage Note of Qt ODBC Database Access on LinuxUsage Note of Qt ODBC Database Access on Linux
Usage Note of Qt ODBC Database Access on Linux
 
CWMP TR-069 Training (Chinese)
CWMP TR-069 Training (Chinese)CWMP TR-069 Training (Chinese)
CWMP TR-069 Training (Chinese)
 

Similar to MGCP Overview

VOIP Switch Monitoring and Traffic Management-Final.ppt
VOIP Switch Monitoring and Traffic Management-Final.pptVOIP Switch Monitoring and Traffic Management-Final.ppt
VOIP Switch Monitoring and Traffic Management-Final.ppt
JackTheMan1
 
Squire Technologies: Media Gateway Controller
Squire Technologies: Media Gateway ControllerSquire Technologies: Media Gateway Controller
Squire Technologies: Media Gateway Controller
Squire Technologies
 
Honeywell PLC TRAINING GUIDE created by deepak gorai
Honeywell PLC TRAINING GUIDE created by deepak goraiHoneywell PLC TRAINING GUIDE created by deepak gorai
Honeywell PLC TRAINING GUIDE created by deepak gorai
DEEPAK GORAI
 
Empower Your Business Communications with iPECS-CM
Empower Your Business Communications with iPECS-CMEmpower Your Business Communications with iPECS-CM
Empower Your Business Communications with iPECS-CM
Ericsson-LG Enterprise
 
Switching systems lecture7
Switching  systems lecture7Switching  systems lecture7
Switching systems lecture7
Jumaan Ally Mohamed
 
Basic of teleom gsm
Basic of teleom gsmBasic of teleom gsm
Basic of teleom gsm
Kartik Kalpande Patil
 
Brendan kearns berlin 2012 vn3
Brendan kearns berlin 2012 vn3Brendan kearns berlin 2012 vn3
Brendan kearns berlin 2012 vn3
Brendan Kearns
 
Demo Presentation . LEJ
Demo Presentation . LEJDemo Presentation . LEJ
Demo Presentation . LEJ
Muhammad Saeed
 
Squire Technologies: Media Gateway Controller Function
Squire Technologies: Media Gateway Controller FunctionSquire Technologies: Media Gateway Controller Function
Squire Technologies: Media Gateway Controller Function
Squire Technologies
 
Mobile Networks Overview (2G / 3G / 4G-LTE)
Mobile Networks Overview (2G / 3G / 4G-LTE)Mobile Networks Overview (2G / 3G / 4G-LTE)
Mobile Networks Overview (2G / 3G / 4G-LTE)
Hamidreza Bolhasani
 
ngn overview , next generation network
ngn overview , next generation networkngn overview , next generation network
ngn overview , next generation network
Tushar Kumar
 
Wireless intelligent networking
Wireless intelligent networkingWireless intelligent networking
Wireless intelligent networking
Manish Kumar
 
gsmbasedwirelessnoticeboard-160830052032.pdf
gsmbasedwirelessnoticeboard-160830052032.pdfgsmbasedwirelessnoticeboard-160830052032.pdf
gsmbasedwirelessnoticeboard-160830052032.pdf
SwamyNallabelli1
 
Introduction To Telecom
Introduction To TelecomIntroduction To Telecom
Introduction To Telecom
humannetwork
 
Datasheet com node Trans data management
Datasheet  com node Trans data managementDatasheet  com node Trans data management
Datasheet com node Trans data management
Puliyappottammal Jijesh
 
Παρουσίαση συστήματος Hunter-pro 896
Παρουσίαση συστήματος Hunter-pro 896 Παρουσίαση συστήματος Hunter-pro 896
Παρουσίαση συστήματος Hunter-pro 896
securitydsecc
 

Similar to MGCP Overview (20)

VOIP Switch Monitoring and Traffic Management-Final.ppt
VOIP Switch Monitoring and Traffic Management-Final.pptVOIP Switch Monitoring and Traffic Management-Final.ppt
VOIP Switch Monitoring and Traffic Management-Final.ppt
 
Squire Technologies: Media Gateway Controller
Squire Technologies: Media Gateway ControllerSquire Technologies: Media Gateway Controller
Squire Technologies: Media Gateway Controller
 
Honeywell PLC TRAINING GUIDE created by deepak gorai
Honeywell PLC TRAINING GUIDE created by deepak goraiHoneywell PLC TRAINING GUIDE created by deepak gorai
Honeywell PLC TRAINING GUIDE created by deepak gorai
 
Vo ip
Vo ipVo ip
Vo ip
 
Voip basics
Voip   basicsVoip   basics
Voip basics
 
Empower Your Business Communications with iPECS-CM
Empower Your Business Communications with iPECS-CMEmpower Your Business Communications with iPECS-CM
Empower Your Business Communications with iPECS-CM
 
Switching systems lecture7
Switching  systems lecture7Switching  systems lecture7
Switching systems lecture7
 
Basic of teleom gsm
Basic of teleom gsmBasic of teleom gsm
Basic of teleom gsm
 
Brendan kearns berlin 2012 vn3
Brendan kearns berlin 2012 vn3Brendan kearns berlin 2012 vn3
Brendan kearns berlin 2012 vn3
 
Project
ProjectProject
Project
 
Demo Presentation . LEJ
Demo Presentation . LEJDemo Presentation . LEJ
Demo Presentation . LEJ
 
Squire Technologies: Media Gateway Controller Function
Squire Technologies: Media Gateway Controller FunctionSquire Technologies: Media Gateway Controller Function
Squire Technologies: Media Gateway Controller Function
 
Mobile Networks Overview (2G / 3G / 4G-LTE)
Mobile Networks Overview (2G / 3G / 4G-LTE)Mobile Networks Overview (2G / 3G / 4G-LTE)
Mobile Networks Overview (2G / 3G / 4G-LTE)
 
ngn overview , next generation network
ngn overview , next generation networkngn overview , next generation network
ngn overview , next generation network
 
Wireless intelligent networking
Wireless intelligent networkingWireless intelligent networking
Wireless intelligent networking
 
gsmbasedwirelessnoticeboard-160830052032.pdf
gsmbasedwirelessnoticeboard-160830052032.pdfgsmbasedwirelessnoticeboard-160830052032.pdf
gsmbasedwirelessnoticeboard-160830052032.pdf
 
Introduction To Telecom
Introduction To TelecomIntroduction To Telecom
Introduction To Telecom
 
Report 2
Report 2Report 2
Report 2
 
Datasheet com node Trans data management
Datasheet  com node Trans data managementDatasheet  com node Trans data management
Datasheet com node Trans data management
 
Παρουσίαση συστήματος Hunter-pro 896
Παρουσίαση συστήματος Hunter-pro 896 Παρουσίαση συστήματος Hunter-pro 896
Παρουσίαση συστήματος Hunter-pro 896
 

More from William Lee

Usage Note of SWIG for PHP
Usage Note of SWIG for PHPUsage Note of SWIG for PHP
Usage Note of SWIG for PHP
William Lee
 
Upgrade GCC & Install Qt 5.4 on CentOS 6.5
Upgrade GCC & Install Qt 5.4 on CentOS 6.5 Upgrade GCC & Install Qt 5.4 on CentOS 6.5
Upgrade GCC & Install Qt 5.4 on CentOS 6.5
William Lee
 
Usage Notes of The Bro 2.2 / 2.3
Usage Notes of The Bro 2.2 / 2.3Usage Notes of The Bro 2.2 / 2.3
Usage Notes of The Bro 2.2 / 2.3
William Lee
 
Viewing Android Source Files in Eclipse (Chinese)
Viewing Android Source Files in Eclipse  (Chinese)Viewing Android Source Files in Eclipse  (Chinese)
Viewing Android Source Files in Eclipse (Chinese)
William Lee
 
Usage Note of Microsoft Dependency Walker
Usage Note of Microsoft Dependency WalkerUsage Note of Microsoft Dependency Walker
Usage Note of Microsoft Dependency Walker
William Lee
 
Usage Note of PlayCap
Usage Note of PlayCapUsage Note of PlayCap
Usage Note of PlayCap
William Lee
 
Qt4 App - Sliding Window
Qt4 App - Sliding WindowQt4 App - Sliding Window
Qt4 App - Sliding Window
William Lee
 
GTK+ 2.0 App - Desktop App Chooser
GTK+ 2.0 App - Desktop App ChooserGTK+ 2.0 App - Desktop App Chooser
GTK+ 2.0 App - Desktop App Chooser
William Lee
 
GTK+ 2.0 App - Icon Chooser
GTK+ 2.0 App - Icon ChooserGTK+ 2.0 App - Icon Chooser
GTK+ 2.0 App - Icon Chooser
William Lee
 
Note of CGI and ASP
Note of CGI and ASPNote of CGI and ASP
Note of CGI and ASP
William Lee
 
Asterisk (IP-PBX) CDR Log Rotation
Asterisk (IP-PBX) CDR Log RotationAsterisk (IP-PBX) CDR Log Rotation
Asterisk (IP-PBX) CDR Log Rotation
William Lee
 
L.A.M.P Installation Note --- CentOS 6.5
L.A.M.P Installation Note --- CentOS 6.5L.A.M.P Installation Note --- CentOS 6.5
L.A.M.P Installation Note --- CentOS 6.5
William Lee
 
C Program Runs on Wrong Target Platform(CPU Architecture)
C Program Runs on Wrong Target Platform(CPU Architecture)C Program Runs on Wrong Target Platform(CPU Architecture)
C Program Runs on Wrong Target Platform(CPU Architecture)
William Lee
 
Internationalization(i18n) of Web Page
Internationalization(i18n) of Web PageInternationalization(i18n) of Web Page
Internationalization(i18n) of Web Page
William Lee
 
Notes for SQLite3 Usage
Notes for SQLite3 UsageNotes for SQLite3 Usage
Notes for SQLite3 Usage
William Lee
 
Cygwin Install How-To (Chinese)
Cygwin Install How-To (Chinese)Cygwin Install How-To (Chinese)
Cygwin Install How-To (Chinese)
William Lee
 
Study of Chromium OS
Study of Chromium OSStudy of Chromium OS
Study of Chromium OSWilliam Lee
 
Introdunction To Network Management Protocols SNMP & TR-069
Introdunction To Network Management Protocols SNMP & TR-069Introdunction To Network Management Protocols SNMP & TR-069
Introdunction To Network Management Protocols SNMP & TR-069William Lee
 
More Details about TR-069 (CPE WAN Management Protocol)
More Details about TR-069 (CPE WAN Management Protocol)More Details about TR-069 (CPE WAN Management Protocol)
More Details about TR-069 (CPE WAN Management Protocol)William Lee
 
Qt Development Tools
Qt Development ToolsQt Development Tools
Qt Development ToolsWilliam Lee
 

More from William Lee (20)

Usage Note of SWIG for PHP
Usage Note of SWIG for PHPUsage Note of SWIG for PHP
Usage Note of SWIG for PHP
 
Upgrade GCC & Install Qt 5.4 on CentOS 6.5
Upgrade GCC & Install Qt 5.4 on CentOS 6.5 Upgrade GCC & Install Qt 5.4 on CentOS 6.5
Upgrade GCC & Install Qt 5.4 on CentOS 6.5
 
Usage Notes of The Bro 2.2 / 2.3
Usage Notes of The Bro 2.2 / 2.3Usage Notes of The Bro 2.2 / 2.3
Usage Notes of The Bro 2.2 / 2.3
 
Viewing Android Source Files in Eclipse (Chinese)
Viewing Android Source Files in Eclipse  (Chinese)Viewing Android Source Files in Eclipse  (Chinese)
Viewing Android Source Files in Eclipse (Chinese)
 
Usage Note of Microsoft Dependency Walker
Usage Note of Microsoft Dependency WalkerUsage Note of Microsoft Dependency Walker
Usage Note of Microsoft Dependency Walker
 
Usage Note of PlayCap
Usage Note of PlayCapUsage Note of PlayCap
Usage Note of PlayCap
 
Qt4 App - Sliding Window
Qt4 App - Sliding WindowQt4 App - Sliding Window
Qt4 App - Sliding Window
 
GTK+ 2.0 App - Desktop App Chooser
GTK+ 2.0 App - Desktop App ChooserGTK+ 2.0 App - Desktop App Chooser
GTK+ 2.0 App - Desktop App Chooser
 
GTK+ 2.0 App - Icon Chooser
GTK+ 2.0 App - Icon ChooserGTK+ 2.0 App - Icon Chooser
GTK+ 2.0 App - Icon Chooser
 
Note of CGI and ASP
Note of CGI and ASPNote of CGI and ASP
Note of CGI and ASP
 
Asterisk (IP-PBX) CDR Log Rotation
Asterisk (IP-PBX) CDR Log RotationAsterisk (IP-PBX) CDR Log Rotation
Asterisk (IP-PBX) CDR Log Rotation
 
L.A.M.P Installation Note --- CentOS 6.5
L.A.M.P Installation Note --- CentOS 6.5L.A.M.P Installation Note --- CentOS 6.5
L.A.M.P Installation Note --- CentOS 6.5
 
C Program Runs on Wrong Target Platform(CPU Architecture)
C Program Runs on Wrong Target Platform(CPU Architecture)C Program Runs on Wrong Target Platform(CPU Architecture)
C Program Runs on Wrong Target Platform(CPU Architecture)
 
Internationalization(i18n) of Web Page
Internationalization(i18n) of Web PageInternationalization(i18n) of Web Page
Internationalization(i18n) of Web Page
 
Notes for SQLite3 Usage
Notes for SQLite3 UsageNotes for SQLite3 Usage
Notes for SQLite3 Usage
 
Cygwin Install How-To (Chinese)
Cygwin Install How-To (Chinese)Cygwin Install How-To (Chinese)
Cygwin Install How-To (Chinese)
 
Study of Chromium OS
Study of Chromium OSStudy of Chromium OS
Study of Chromium OS
 
Introdunction To Network Management Protocols SNMP & TR-069
Introdunction To Network Management Protocols SNMP & TR-069Introdunction To Network Management Protocols SNMP & TR-069
Introdunction To Network Management Protocols SNMP & TR-069
 
More Details about TR-069 (CPE WAN Management Protocol)
More Details about TR-069 (CPE WAN Management Protocol)More Details about TR-069 (CPE WAN Management Protocol)
More Details about TR-069 (CPE WAN Management Protocol)
 
Qt Development Tools
Qt Development ToolsQt Development Tools
Qt Development Tools
 

Recently uploaded

Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfMeet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Florence Consulting
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
3ipehhoa
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Brad Spiegel Macon GA
 
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
Javier Lasa
 
Comptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guideComptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guide
GTProductions1
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
JeyaPerumal1
 
test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
Arif0071
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
JungkooksNonexistent
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
laozhuseo02
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
laozhuseo02
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
3ipehhoa
 
Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027
harveenkaur52
 
Bài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docxBài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docx
nhiyenphan2005
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
Rogerio Filho
 
This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
nirahealhty
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
ufdana
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
Gal Baras
 
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC
 
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
CIOWomenMagazine
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
3ipehhoa
 

Recently uploaded (20)

Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfMeet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
 
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
 
Comptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guideComptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guide
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
 
test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
 
Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027
 
Bài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docxBài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docx
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
 
This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
 
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
 
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
 

MGCP Overview

  • 1. 1 MGCP Overview (a VoIP protocol) William.L wiliwe@gmail.com 2005-01-11
  • 4. 4 Media Gateway Control Protocol Media Gateway (MG) provides conversion between the audio signals (telephone circuits) and data packets (Internet) For controlling media gateway from call control elements Media Gateway Controller (MGC) Call Agent (CA) MGCP (1/2)
  • 5. 5 Master-Slave architecture MGCP (2/2) Media Gateway Media Gateway IP network Call Agent MGCPMGCP Analog Phone A Analog Phone B (RG, residential gateway) RTP (Endpoint) (Endpoint)
  • 6. 6 Streaming Multimedia Protocols - SIP, H.323, MGCP, RTSP, RTP, RTCP RTCPRTP IP MGCP Signaling Protocols Media Data Transport H.225 Q.931 H.323 TCP RAS UDP SIPH.245 Audio/ Video RTSP MGCP messages are transmitted over UDP.
  • 8. 8 MGCP Components Endpoints sources and sinks of data Connection point-to-point, multi-point ex: ATM, IP, PSTN… Event off-hook, on-hook, flash-hook, dialed digits … Signal dial tone, ringing, busy tone… Package group of signals and events ex: R:hu , S:dl …
  • 9. 9 Connections Connections may be either point-to-point or multipoint Point-to-Point(p2p) connection Associates two endpoints. Once this association is established for both endpoints, data transfer between these endpoints can begin Multipoint connection Established by connecting the endpoint to a multipoint session
  • 10. 10 Events & Signals The controlling primitives for MGCP operations are Signals sent from MGC to MG Events sent from MG to MGC The concepts of Signals and Events are used for establishing and tearing down calls Operations are performed by applying Signals TO, and detecting Events FROM endpoints
  • 11. 11 MGCP Commands(Methods) RQNT - Notification Request NTFY - Notify CRCX - Create Connection MDCX - Modify Connection DLCX - Delete Connection AUEP - Audit Endpoint RSIP - Restart In Progress AUCX - Audit Connection EPCF - Endpoint Configuration
  • 12. 12 MGCP Return(Status) Codes Failure due to a permanent error (ex:522 – no such event or signal) (521 - redirect to another call agent) 500~599 Failure due to a transient error (ex:401 – already off- hook) 400~499 Command Successful (ex: 200) (250 -- only for DLCX) Provisional responses; a final response will follow later (ex: 100) 200~299 100~199
  • 13. 13 MGCP Digit Map Digit maps are provided to the gateway by the Call Agent Local operator Long distance operator Local extension number Local number Shortcut to local number at other corporate sites Star services Long distance number International number 0 00 xxxx 8xxxxxxx #xxxxxxx *xx 91xxxxxxxxxx 9011 + up to 15 digits (0T | 00T | [1-7]xxx | 8xxxxxxx | #xxxxxxx | *xx | 91xxxxxxxxxx | 9011x.T)
  • 15. 15 MG Boot Up - Register to Call Agent 2. OK 3. AUEP 4. OK 1. RSIP 5. RQNT 6. OK 7. RSIP 8. OK 9. AUEP 10. OK 11. RQNT 12. OK Endpoint 1 MG-1 Call Agent MG-2 Endpoint 2
  • 16. 16 Create a Call (1/2) Endpoint 1 MG-1 Call Agent MG-2 Endpoint 2 3. OK 2. NTFY 19. OK 18. RQNT 1. Off hook 4. Dial tone 4. RQNT 5. OK 6. Press Digits 7. NTFY 8. OK 10. OK 9. CRCX 17. Ring 11. CRCX 12. OK 13. MDCX 14. OK 15. MDCX 16. OK
  • 17. 17 Create a Call (2/2) Endpoint 1 MG-1 Call Agent MG-2 Endpoint 2 24. NTFY 23. Off hook 29. Remove ring tone 25. OK Start media session (transport Audio/Video data using RTP/RTCP) 20. RQNT 22. OK 21. Ring tone
  • 18. 18 Terminate a Call Endpoint 1 MG-1 Call Agent MG-2 Endpoint 2 3. OK 2. NTFY 9. NTFY 4. DLCX 1. On hook 5. DLCX 7. OK 11. RQNT 12. OK 8. On hook 6. OK 10. OK 13. RQNT 14. OK Media session is terminated when MGs receive RTCP BYE