Media Gateway Control Media Gateway Control and the Softswitch - - PowerPoint PPT Presentation

media gateway control media gateway control and the
SMART_READER_LITE
LIVE PREVIEW

Media Gateway Control Media Gateway Control and the Softswitch - - PowerPoint PPT Presentation

Media Gateway Control Media Gateway Control and the Softswitch Softswitch and the Architecture Architecture Call Flow for RGW to TGW (1/18) Call Flow for RGW to TGW (1/18) CA@ca.whatever.net 140.113.65.24 DB CA ACC SG rgw.whatever.net


slide-1
SLIDE 1

Media Gateway Control Media Gateway Control and the and the Softswitch Softswitch Architecture Architecture

slide-2
SLIDE 2

2 IP Telephony

Call Flow for RGW to TGW Call Flow for RGW to TGW (1/18)

(1/18) CA RGW TGW CO Internet PSTN

A calls B A calls B

A: 5712826 B: 5721043 hrd3/15 card6/5

rgw.whatever.net 140.113.214.123 tgw.whatever.net 140.113.65.24

SG

CA@ca.whatever.net 140.113.65.24

DB ACC

slide-3
SLIDE 3

3 IP Telephony

Call Flow for RGW to TGW Call Flow for RGW to TGW (2/18)

(2/18) CA RGW TGW CO Internet PSTN

A calls B A calls B

A: 5712826 B: 5721043 hrd3 card6/5

rgw.whatever.net 140.113.214.123 tgw.whatever.net 140.113.65.24

SG

1

CA@ca.whatever.net 140.113.65.24

DB ACC

slide-4
SLIDE 4

4 IP Telephony

RQNT(1) : NotificationRequest

RQNT 1201 *@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 N: NotifyEntity X: RequestIdentifier R: RequestEvents D: DigitMap E: Embedded (enable) Request R: Notification Request S: Signal Request N: Notify immediately (default) D: Accumulate according to DigitMap Clear current dialed string E: Embedded (enable) Request R: Notification Request S: Signal Request N: Notify immediately (default) D: Accumulate according to DigitMap Clear current dialed string

Call Flow for RGW to TGW Call Flow for RGW to TGW (3/18)

(3/18)

slide-5
SLIDE 5

5 IP Telephony

Call Flow for RGW to TGW Call Flow for RGW to TGW (4/18)

(4/18) CA RGW TGW CO Internet PSTN

A calls B A calls B

A: 5712826 B: 5721043 hrd3 card6/5

rgw.whatever.net 140.113.214.123 tgw.whatever.net 140.113.65.24

SG

2 Off-hook Dial 5721043

CA@ca.whatever.net 140.113.65.24

DB ACC

slide-6
SLIDE 6

6 IP Telephony

NTFY(2) : Notify from RGW

NTFY 2002 hrd3@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 Reported in the detected order N: NotifyEntity X: RequestIdentifier O: ObservedEvent Reported in the detected order

Call Flow for RGW to TGW Call Flow for RGW to TGW (5/18)

(5/18)

slide-7
SLIDE 7

7 IP Telephony

Call Flow for RGW to TGW Call Flow for RGW to TGW (6/18)

(6/18) CA RGW TGW CO Internet PSTN

A calls B A calls B

A: 5712826 B: 5721043 hrd3 card6/5

rgw.whatever.net 140.113.214.123 tgw.whatever.net 140.113.65.24

SG

3

CA@ca.whatever.net 140.113.65.24

DB ACC

slide-8
SLIDE 8

8 IP Telephony

CRCX(3) : CreateConnection

CRCX 1204 hrd3@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 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 Call Flow for RGW to TGW (7/18)

(7/18)

slide-9
SLIDE 9

9 IP Telephony

Session Description - ACK to CRCX(3)

Convey info about media streams Use textual format, case sensitive

v=0 c=IN IP4 140.96.102.166 m=audio 3456 RTP/AVP 0 96 a=rtpmap:96 G726-32/8000

V=<protocol version> C=<nw-type> <addr-type> <conn-type> M=<media> <port> <transport> (A=<attribute> (:<value>)) V=<protocol version> C=<nw-type> <addr-type> <conn-type> M=<media> <port> <transport> (A=<attribute> (:<value>))

Call Flow for RGW to TGW Call Flow for RGW to TGW (8/18)

(8/18)

slide-10
SLIDE 10

10 IP Telephony

Call Flow for RGW to TGW Call Flow for RGW to TGW (9/18)

(9/18) CA RGW TGW CO Internet PSTN

A calls B A calls B

A: 5712826 B: 5721043 hrd3 card6/5

rgw.whatever.net 140.113.214.123 tgw.whatever.net 140.113.65.24 CA@ca.whatever.net 140.113.65.24

SG

4

DB ACC

Query E.164

slide-11
SLIDE 11

11 IP Telephony

CRCX(4) : CreateConnection

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 C: CallId M: Mode I: ConnectionId

Call Flow for RGW to TGW Call Flow for RGW to TGW (10/18)

(10/18)

slide-12
SLIDE 12

12 IP Telephony

Call Flow for RGW to TGW Call Flow for RGW to TGW (11/18)

(11/18) CA RGW TGW CO Internet PSTN

A calls B A calls B

A: 5712826 B: 5721043 hrd3 card6/5

rgw.whatever.net 140.113.214.123 tgw.whatever.net 140.113.65.24

SG

4 5 ISUP IAM

CA@ca.whatever.net 140.113.65.24

DB ACC

slide-13
SLIDE 13

13 IP Telephony

MDCX(5) : ModifyConnection

MDCX 1206 hrd3@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 C: CallId I: ConnectionId M: Mode

Call Flow for RGW to TGW Call Flow for RGW to TGW (12/18)

(12/18)

slide-14
SLIDE 14

14 IP Telephony

CA RGW TGW CO Internet PSTN

A calls B A calls B

A: 5712826 B: 5721043 hrd3 card6/5

rgw.whatever.net 140.113.214.123 tgw.whatever.net 140.113.65.24

SG

4 6 ISUP ACM

CA@ca.whatever.net 140.113.65.24

DB ACC

Call Flow for RGW to TGW Call Flow for RGW to TGW (13/18)

(13/18)

slide-15
SLIDE 15

15 IP Telephony

RQNT(6) : NotificationRequest

RQNT 1207 hrd3@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 N: NotifyEntity X: RequestIdentifier R: RequestEvents S: SignalRequests

Call Flow for RGW to TGW Call Flow for RGW to TGW (14/18)

(14/18)

slide-16
SLIDE 16

16 IP Telephony

CA RGW TGW CO Internet PSTN

A calls B A calls B

A: 5712826 B: 5721043 hrd3 card6/5

rgw.whatever.net 140.113.214.123 tgw.whatever.net 140.113.65.24

SG

4 7 ISUP ANM

CA@ca.whatever.net 140.113.65.24

DB ACC

Call Flow for RGW to TGW Call Flow for RGW to TGW (15/18)

(15/18)

slide-17
SLIDE 17

17 IP Telephony

MDCX(7) : ModifyConnection

MDCX 1209 hrd3@rgw.whatever.net MGCP 1.0 C: A3C47F21456789F0 I: FDE234C8 M: sendrecv X: 012345789AF R: hu S: (to stop alerting)

ACK to MDCX(7)

200 1209 OK

C: CallId I: ConnectionId M: Mode S: SignalRequests C: CallId I: ConnectionId M: Mode S: SignalRequests

Call Flow for RGW to TGW Call Flow for RGW to TGW (16/18)

(16/18)

slide-18
SLIDE 18

18 IP Telephony

CA RGW TGW CO Internet PSTN

A calls B A calls B

A: 5712826 B: 5721043 hrd3 card6/5

rgw.whatever.net 140.113.214.123 tgw.whatever.net 140.113.65.24

SG

9 8 ISUP REL

CA@ca.whatever.net 140.113.65.24

DB ACC

Call Flow for RGW to TGW Call Flow for RGW to TGW (17/18)

(17/18)

slide-19
SLIDE 19

19 IP Telephony

DLCX(8) : DeleteConnection

DLCX 1210 hrd3@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 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) PS: Packets sent OS: Octets sent PR: Packets received OR: Octets received PL: Packets lost JI: Average Jitter (ms) LA: Average Latency (ms)

Call Flow for RGW to TGW Call Flow for RGW to TGW (18/18)

(18/18)

slide-20
SLIDE 20

20 IP Telephony

Usage of Commands Usage of Commands (1/6)

(1/6)

NotificationRequest()

EndpointId, [NotifiedEntity,] [RequestedEvents,] RequestIdentifier, [DigitMap,] [SignalRequests,] [QuarantineHandling,] [DetectEvents,] [encapsulated EndpointConfiguration]

slide-21
SLIDE 21

21 IP Telephony

Usage of Commands Usage of Commands (2/6)

(2/6)

CreateConnection()

CallId, EndpointId, [NotifiedEntity,] [LocalConnectionOption,] Mode, [{RemoteConnectDescptr|SecondEndpointId}] [EncapsulatedNotificationRequest,] [Encapsulated EndpointConfiguration]

ReturnCode

ConnectionId, [SpecificEndPointId,] [SecondConnectionId,] [SecondEndPointId,] [LocalConnectionDescriptor]

Hairpin Connection Hairpin Connection Endpoint Endpoint

PSTN

slide-22
SLIDE 22

22 IP Telephony

RestartInProgress()

EndPointId RestartMethod [RestartDelay] [Reason-code]

ReturnCode

[NotifiedEntity]

RestartMethod

  • graceful (delay/null)
  • forced (null)
  • restart (delay in seconds)
  • disconnected (delay in seconds)

indicates EP disconnected & trying to reconnect it

  • cancel-graceful

RestartMethod

  • graceful (delay/null)
  • forced (null)
  • restart (delay in seconds)
  • disconnected (delay in seconds)

indicates EP disconnected & trying to reconnect it

  • cancel-graceful

Usage of Commands Usage of Commands (4/6)

(4/6)

slide-23
SLIDE 23

23 IP Telephony

AuditEndPoint()

EndpointId [RequestedInfo]

ReturnCode

  • EndPointIdList |
  • {RequestedEvents
  • DigitMap
  • SignalRequests
  • RequestIdentifier … }

If EndpointId is “all of wildcard”, EndPointIdList is returned

Usage of Commands Usage of Commands (5/6)

(5/6)

slide-24
SLIDE 24

24 IP Telephony

AuditConnection()

EndpointId ConnectionId RequestedInfo

ReturnCode

depend on RequestedInfo

CallId NotifiedEntity LocalConnectionOptions …

“Wildcard” shall not be used

Usage of Commands Usage of Commands (6/6)

(6/6)

slide-25
SLIDE 25

25 IP Telephony

Transmitted via UDP

default MGCP port for GW: 2427 default MGCP port for CA: 2727

Reliable Transmission

keeping recent list of transactions retransmission algorithm

Piggy-backing

multiple MGCP messages in one UDP packet

200 2005 OK DLCX 1244 card23/21@tgw.example.net MGCP 1.0 C: …

Transmission Transmission