Академический Документы
Профессиональный Документы
Культура Документы
ISSUE 2.0
Objective
MGCP functions
MGCP commands
Meanings and usage of the
2
Confidential Information of Huawei. No Spreading without Permission. Security Level: Internal
References
Protocols -- MGCP
3
Confidential Information of Huawei. No Spreading without Permission. Security Level: Internal
4
Confidential Information of Huawei. No Spreading without Permission. Security Level: Internal
IP DATA
MGC
Confidential Information of Huawei. No Spreading without Permission. Security Level: Internal
MG
5
Concept
a master/slave protocol. The gateway needs to execute the commands sent from the MG controller.
6
Confidential Information of Huawei. No Spreading without Permission. Security Level: Internal
Terms
Gateway
Gateway : a network element that provides interconnection and interworking between networks of various architectures. In NGN architecture, NGN inter-works with other networks via certain gateways.
Residential Gateways (RG): It is an entity that provides traditional analog (RJ11) interfaces to VoIP network. Examples of residential gateways include cable modem/cable set-top boxes, xDSL devices, and broadband wireless devices
7
Confidential Information of Huawei. No Spreading without Permission. Security Level: Internal
Terms
Call Agent :
handles the signaling and call processing functions, and it is external call control element controlling Telephony Gateways. SoftX3000 system provides MGCP call agent functions. SoftX3000 can act as the access point for MGCP E-phones and softphones in the network.
End point:
It refers to the originating end or receiving end of data. It can be a physical concept or a virtual concept.
Terms
Terminal nameincludes
Examples:
gw23.example.net
Confidential Information of Huawei. No Spreading without Permission. Security Level: Internal
Terms
Call connection:
10
Confidential Information of Huawei. No Spreading without Permission. Security Level: Internal
MRS
IP Core
SoftPhone IAD TMG8010
SS7
PSTN
E1
E-phone
Confidential Information of Huawei. No Spreading without Permission. Security Level: Internal
E-phone
11
Inter-working Support
SIP: SIP User and SIP trunk; H.323: H.323 User and H.323 Trunk ISUP: PSTN user through ISUP trunk
MGCP
IAD
SIP H.323
H.323 Terminal
Confidential Information of Huawei. No Spreading without Permission. Security Level: Internal
12
Protocol Stack
13
Confidential Information of Huawei. No Spreading without Permission. Security Level: Internal
14
Confidential Information of Huawei. No Spreading without Permission. Security Level: Internal
Message Types:
types
they are called commands when being sent to MG or MGC, while called responses when being returned from MG or MGC.
Command and response are inseparable. Upon receiving a command, MG (or MGC) will return a response immediately.
15
Confidential Information of Huawei. No Spreading without Permission. Security Level: Internal
Command Line
Command name
Identification of transaction
End point
Protocol version
Command line
Parameter line
Command Name
Item Command Name Code Description MGCMG, used to inform the gateway about the 1 Endpoint Configuration EPCF coding characteristics expected by the "line-side" of the endpoint. MGCMG, used by call agent to associate an end point with a specified IP address and UDP port. 2 CreateConnection CRCX Apart from that, a CreateConnection command is also sent to the remote endpoint to create the connection between the two endpoints.
ModifyConnection
MDCX
17
Confidential Information of Huawei. No Spreading without Permission. Security Level: Internal
Command Name
Item 4 Command Name DeleteConnection Code DLCX Description MGCMG, used to delete a
NotificationRequest
RQNT
Command Name
Item. Command Name Code Description MGCMG, used by the Call Agent to 7 AuditEndpoints AUEP obtain the detailed information of an end point or a group of endpoints MGCMG, used by the Call Agent to
AuditConnection
RestartInProgress
RSIP
notify the Call Agent that an end point is getting out of or into service
19
Confidential Information of Huawei. No Spreading without Permission. Security Level: Internal
Command Example
N: abc@cal.infoinst.com: 5777
X: 45848484 R: hd
20
Confidential Information of Huawei. No Spreading without Permission. Security Level: Internal
21
Confidential Information of Huawei. No Spreading without Permission. Security Level: Internal
200 1203 OK
C: A3C47F21456789F0
N: [128.96.41.12] L: p: 10, a: PCMU; G726-32 M: sendrecv P: PS=1245, OS=62345, PR=780, OR=45123, PL=10,
JI=27,LA=48 v=0
22
Confidential Information of Huawei. No Spreading without Permission. Security Level: Internal
23
Confidential Information of Huawei. No Spreading without Permission. Security Level: Internal
24
Confidential Information of Huawei. No Spreading without Permission. Security Level: Internal
Scenario 1 MG Registration
MG
SoftX3000
RSIP
RSIP_RSP
25
Confidential Information of Huawei. No Spreading without Permission. Security Level: Internal
SoftX3000
MG
User
Dail tone
Dailing
5 CRCX ACK
6 CRCX ACK 7 RQNT
Ringbacktone
8 RQNT ACK
ACK 9 NTFY
ACK
Ringing
Off-hook
26
SoftX3000
10 MDCX
MG
ACK
User
ACK
CONVERSATION
12 NTFY ACK 13 MDCX ACK 14 DLCX 13 DLCX ACK 16 NTFY ACK 17 RQNT ACK
Confidential Information of Huawei. No Spreading without Permission. Security Level: Internal
On-hook
Busy tone
On-hook
27
SoftX3000
MG
User
Dail tone
Dailing
Summary
MGCP includes 9 commands and 3 types of responses. Each command consists of 4 parts; values 200~299 indicate success, and the other values indicate failure.
The role of each command in MGCP call flow must be mastered as the key point.
29
Confidential Information of Huawei. No Spreading without Permission. Security Level: Internal
30
Confidential Information of Huawei. No Spreading without Permission. Security Level: Internal