Beruflich Dokumente
Kultur Dokumente
PKT-SP-EC-MGCP-I10-040402
CONTENTS
SCOPE
Describe Media Gateway Control Protocol(MGCP) for Packet Cable Embedded Client Refer to as the Packet Cable NCS(Network-Based Call Signaling) Protocol Describe MGCI(Media Gateway Control Interface) and MGCP Based on the MGCP
ITU-T
H.GCP
IETF
Packet Cable
INTRODUCTION
Describe an abstract application programming interface (MGCI) and a corresponding protocol (MGCP) for controlling media gateways from external call control elements called media gateway
Call Control Architecture Call Agent : Call Control Element Gateway : Conversion audio signals and data packets
Connection Model
Basic constructs are endpoints and connections
Call Agent
Request Signals(L/dl)
Embedded Client
L/hd : hook-off in line package for an analog access line L/dl : dial-tone in line package for an analog access line
SDP USE Provide the gateways with the description of connection parameters (IP Address, UDP Port, RTP Profiles..)
ex) RequestedEvents(R) : L/hu, L/ft, D/[0-9*#] RequestIdentifier(X) : Used to correlate this request DigitMap(D) : X.T SignalRequests(S) : rt, rg, bz.. QuarantineHandling(Q) : Optional Parameter DetectEvents(T) : Optional Parameter
CreateConnection(CallId , EndpointId [, NotifiedEntity] [, LocalConnectionOptions] , Mode [, RemoteConnectionDescriptor] ex) Call ID(C) : Identify the call (or session) to which this connection belongs. LocalConnectionOptons(L) : Encoding Method, Packetization Period, Echo Cancel, Silence Suppression.. L:nt:IN, a:PCMA, e:on, s:off RemoteConnectionDescriptor:SDP
ex) RequestedInfo(F) : AUEP TID EndpointId F: ES, A, I 200 TID OK ES:I/hu A: a:PCMU;G723;G729, s:off
ex) Restart Method(RM) : Graceful : That the specified endpoint(s) will be taken out of service after The specified restart delay(RD) Cancel-graceful : Indicates that a gateway is canceling a previously issued "graceful restart method for the same endpoints Forced : Indicates that the specified endpoints are taken out of service abruptly Restart : Indicates that service will be restored on the endpoints after the Specified restart delay Disconnected : Indicates that the endpoint has become disconnected Established connections are not affected
CRCX(Local Connection Option) 200 OK SDP:Local Connection Descriptor CRCX(Local Connection Option) SDP:Remote Connection Descriptor 200 OK SDP:Local Connection Descriptor
MDCX(Local Connection Option) SDP:Remote Connection Descriptor 200 OK SDP:Local Connection Descriptor
Codec and packetization period selection EX) CRCX(L: a:G723) RCD(m=4 18 0 8) 200 OK LCD(m=4)
cmd Ex)
parameters
SDPs
CRCX 2005 aaln/1@mta2.icablesystem.com MGCP 1.0 NCS 1.0 C: 0 L: p:20, a:PCMU;PCMA;G.723.1-5.3;G.723;G.729A, s:on, e:on M: recvonly X: 3 R: hu S: rt
TID(Transaction ID) : Value between 1 and 999999999 Correlate commands and responses
ReCode
tid
comment
parameters
SDPs
EX)
200 2005 OK I: 686B v=0 o=- 26731 2005 IN IP4 218.232.96.222 s=c=IN IP4 218.232.96.222 t=0 0 m=audio 3456 RTP/AVP 0 8 4 18 a=recvonly a=ptime:20
CallId(C) ,DigitMap(D) EX) CRCX 1120660 isup/1/1/18@x-mg1.hanaro.com MGCP 1.0 C: 22002a4 L: nt:IN, a:G723, fx:t38, e:on, s:off M: sendrecv D: ([0-9*#]) X: 22002a4 R: fxr/t38, D/[0-9*#](D)
DeleteConnection The response line may be followed by a Connection Parameters parameter line
Ex) 250 1210 OK P: PS=1245, OS=62345, PR=780, OR=45123, PL=10, JI=27, LA=48
MGCP- Piggy-Backing
Separated by a line of text that contains a single dot
200 2005 OK . DLCX 1244 aaln/2@rgw.whatever.net MGCP 1.0 NCS 1.0 C: A3C47F21456789F0 I: FDE234C8
Used to guarantee in-order delivery of messages Used to Fate-Sharing of message delivery
Questions ?