What is Media Gateway Control Protocol?
The mgcp protocol is a media gateway control protocol made by ietf in 1999. The connection model defined by the mgcp protocol includes two main concepts of endpoints and connections: endpoints are data sources or data sinks.
- Chinese name
- Media Gateway Control Protocol
- Concept
- An endpoint is a data source or data sink.
- Make
- Media Gateway Control Protocol.
- Connection model
- Endpoints and connections
- The mgcp protocol is a media gateway control protocol made by ietf in 1999. The connection model defined by the mgcp protocol includes two main concepts of endpoints and connections: endpoints are data sources or data sinks.
Introduction to Media Gateway Control Protocol
- The mgcp protocol is a media gateway control protocol made by ietf in 1999. The connection model defined by the mgcp protocol includes two main concepts of endpoints and connections: endpoints are data sources or data sinks, which can be physical endpoints or virtual endpoints; endpoint types include digital channels, analog lines, and recording Server access point and interactive voice response access point; endpoint identification consists of the gateway domain name where the endpoint is located and the local name in the gateway. The connection can be a point-to-point connection or a multipoint connection. A point-to-point connection is an association between two endpoints that send data to each other. This association can start transmitting data after both endpoints are established.
Role of Media Gateway Control Protocol
- It is a slave protocol used by the controller (call agent) to control media operations. When the media gateway obtains instructions from the call agent and executes the commands of the call agent, the call agent is responsible for maintaining call control information and related call signaling. Call agent commands are mostly related to the establishment and disconnection of connections from one end of the gateway to the other. In most cases, the call agent requires the media gateway to establish a connection from the circuit-switched network side of the gateway or the trunk to the rtp channel of the gateway's ip side. The mgcp protocol and h. 223 and sip are different. H323 and sip propose two sets of 1-ton speech architectures. The two are completely independent and cannot be compatible with each other. They can only communicate with each other. mgcp does not involve the architecture of IP phones, it only involves the problem of gateway decomposition, so it can be used not only for h. The 323ip telephone system can also be used in the sop telephone system. The gateway can be decomposed into a media gateway (mg) and a media gateway controller (mgc). The mg can realize the cross-network media service under the control of the mgc (or softswitch). Logically, the report is simple. The gateway consists of mg and mgc.
- The mgcp protocol is a media gateway control protocol developed by the Internet Engineering Task Force (IETF) in 1999. The connection model defined by the mgcp protocol includes two main concepts: endpoints and connections. The endpoint is a data source or data sink, which can be a physical endpoint or a pseudo endpoint. The endpoint types include digital channels, analog lines, recording server access points, and interactive voice response access points. The endpoint ID consists of the domain name of the gateway where the endpoint is located and the local name in the gateway. The connection can be a point-to-point connection or a multipoint connection. A point-to-point connection is an association between two endpoints that send data to each other. This association can start transmitting data after both endpoints are established. A multipoint connection is a connection between multiple endpoints. Connections can be built on different types of bearer networks. The call agent may require the endpoint to notify it when certain events are detected (such as off-hook, on-hook, fork or dial), or it may request certain signals (such as dial tone, ringback tone, busy tone, etc.) Add to the endpoint. Events and signals are combined into packets, each of which is supported by a specific endpoint. Each event (including signal) can be represented by "package name / event name", each type of endpoint has a specific package, and each package contains regular events and signals, and the package name and event name are represented by alphanumeric strings.
- mgcp uses a text protocol. Protocol messages are divided into commands and responses. Each command requires the receiver to send back a response, which is confirmed by a three-way handshake. The command message consists of a command line and several parameter lines. The response message has a 3-digit response code. mgcp uses the media description protocol (sdp) to describe the connection parameters to the gateway. In order to reduce signaling transmission delay, mgcp uses User Datagram Protocol (udp) transmission. Protocol commands include:
- (1) Endpoint configuration command from call agent to gateway;
- (2) Notification request command (notification requeac), from the call agent to the gateway;
- (3) a notification command (notify) from the gateway to the call agent;
- (4) Create connection command (create connection). From the call agent to the gateway, the call agent uses this command to associate a certain endpoint with the specified IP address and udp Ruikou, and also sends a create connection command to the remote endpoint to establish two Connection between Swiss points;
- (5) Modify the connection command (modify connection), from the call agent to the gateway, modify the parameters of the previously established connection;
- (6) delete connection command (delete connetion), from the call agent to the gateway (also from the gateway to the call agent), delete the previously established connection;
- (7) the audit endpoint command (audit endpoint), from the call agent to the gateway;
- (8) Audit connection command (audit connection), from the call agent to the gateway;
- (9) A restart in progress command (restartinprogcess) from the gateway to the call agent.
- The main components in the MGCP protocol system include a media gateway controller (MGC: Media Gateway Controller), a media gateway (MG: Media Gateway), a signaling gateway (SG: Signaling Gateway), and a media resource (Media Resource). The media resources include Codec, Modem, Interactive Voice Response (IVR), Bridge, etc.