megaco h 248 h323 sip mgcp megaco
play

MEGACO/H.248 H323, SIP & MGCP, MEGACO SS7 PSTN CA SG MGCP - PowerPoint PPT Presentation

MEGACO/H.248 H323, SIP & MGCP, MEGACO SS7 PSTN CA SG MGCP GW TN GK GK GW TN PSTN CO TGW RGW H.323 RTP MCU TN TN MCU TN TN CA : Call Agent GW : Gateway TGW : Trunking Gateway GK : Gatekeeper RGW : Residential


  1. MEGACO/H.248

  2. H323, SIP & MGCP, MEGACO SS7 PSTN CA SG MGCP GW TN GK GK GW TN PSTN CO TGW RGW H.323 RTP MCU TN TN MCU TN TN CA : Call Agent GW : Gateway TGW : Trunking Gateway GK : Gatekeeper RGW : Residential Gateway TN : Terminal SG : Singling Gateway MCU : Multipoint Control Unit 2003/4/16 2 MEGACO

  3. H323, SIP & MGCP, MEGACO � H.323, SIP � MGCP, MEGACO � peer-to-peer � client-server � internet oriented � traditional telephony � intelligent endpoint � intelligent server � optional GK � “dumb” terminal � “stateless” terminal � decentralized � centralized � Problems � Concept � maintenance � cost & scalability of � gateway decomposed large systems � separate call control from � signaling & media media ports control are coupled � CA, MG, SG � interoperability with SS7 � interoperability with PSTN 2003/4/16 3 MEGACO

  4. MEGACO Connection Model MGCP MEGACO 1 Endpoint Termination 2 Connection Context Media Gateway 3 Call Agent (CA) Controller (MGC) 2003/4/16 4 MEGACO

  5. MEGACO Termination � A logical entity on a MG that sources/sinks media/control streams � � Termination ID an arbitrary string assigned by the MG � at the time of their creation � � Two kinds of Termination Physical Interface � RTP stream � � Root Termination The entire MG itself � 2003/4/16 5 MEGACO

  6. MEGACO Context � An association between a collection of Terminations (within an media gateway) � Context ID � A 32 bit integer chosen by the MG � ∗ : ALL ; - : NULL; $ : Choosing one � Null Context � Containing all Terminations that are not associated to any other Termination 2003/4/16 6 MEGACO

  7. MEGACO Connection Model � Media Flow � Topology of a Context Context SCN 1 SCN 1 � describe the media flow between Terminations within a Context RTP RTP � refer to Topology Descriptor SCN 2 SCN 2 � Mode of a Termination � describe the media flow at the ingress/egress of the media gateway � refer to Media Descriptor Stream Descriptor Contexts in GW Local Control Descriptor (receive-only, send/receive, …) SCN 1 SCN 1 RTP RTP SCN 1 SCN 1 2003/4/16 7 MEGACO

  8. Concept of Context MGCP MEGACO MGC CA MEGACO MGCP MG MG RGW RTP RGW RTP Context IP � � Endpoint Endpoint IP Termination Termination � Connection SCN Channel RTP Stream established after CRCX Add 2 Terminations into 1 context 2003/4/16 8 MEGACO

  9. MEGACO Command Naming MEGACO Similar Commands in MGCP (1) Add (Termination to Context) (1) CreateConnection (Endpoint) (2) Modify (Termination- descriptor ) (2) ModifyConnection (Endpoint) (3) Subtract (Termination) (3) DeleteConnection (Endpoint) ≈ CreateConnection + DeleteConnection (4) Move (Termination) (5) AuditValue (Termination-cur) (4) AuditEndpoint (6) AuditCapability (Termination) (NONE) (7) Notify (Termination) (5) Notify (Endpoint) (8) ServiceChange (Termination) (6) RestartInProgress (Endpoint) (NONE) (7) AuditConnection ∋ Add, Modify, Move (8) NotificationRequest (Endpoint) ∋ Add, Modify, Move (9) EndpointConfiguration (Endpoint- encode ) 2003/4/16 9 MEGACO

  10. Transaction & Message � Transaction � Multiple commands can be grouped. � Commands are executed in sequence � If a command fails, the subsequent commands are not processed � Not the case for optional commands � O- ” command-name ” � Messages � Concatenate multiple transactions � The transactions are treated independently 2003/4/16 10 MEGACO

  11. MEGACO Transactions MGC to MG1: MGC to MG1: Transaction MEGACO/1 [123.123.123.41]:5555 MEGACO/1 [123.123.123.41]:5555 Transaction = 10003 { Action 1 for One Context Transaction = 10003 { Context = $ { Command Command Command Context = $ { Add = A4444, 1 2 3 Add = A4444, Add = $ { Add = $ { Media { Media { Action 2 for the Other Context Stream = 1 { Stream = 1 { Command LocalControl { LocalControl { 1 …} …} Local { Local { v=0 Action 3 for Another Context v=0 c=IN IP4 $ c=IN IP4 $ Command Command m= audio $ RTP/AVP 4 m= audio $ RTP/AVP 4 1 2 …} …} }}}}} }}}}} 2003/4/16 11 MEGACO

  12. Descriptors � To form the parameters of the commands/ responses � To provide additional information to qualify a given command/response � Termination Descriptors � Context Descriptors 2003/4/16 12 MEGACO

  13. Termination Descriptors Media Descriptors Transaction Media Descriptors Modem Descriptors Modem Descriptors Action 1 for One Context MUX Descriptors Topology Descriptor MUX Descriptors Events Descriptors Events Descriptors Command Command Command Signals Descriptors Signals Descriptors 1 2 3 Digit Map Descriptors Digit Map Descriptors Audit Descriptors (no reply) Audit Descriptors (no reply) Service Change Descriptors Service Change Descriptors ---------------------------- ---------------------------- Observed Events Descriptors Observed Events Descriptors Action 2 for Another Context Event Buffer Descriptors Command Command Event Buffer Descriptors Statistics Descriptors 1 2 Statistics Descriptors Error Descriptors Error Descriptors 2003/4/16 13 MEGACO

  14. Media Descriptor � Describe the various media streams � A hierarchical descriptor Media descriptor Termination state descriptor Stream descriptor Local control descriptor Local descriptor Remote descriptor 2003/4/16 14 MEGACO

  15. Termination State Descriptor � ServiceStates � To indicate whether the termination is available for use � “test”, “out of service”, “in service” � EventBufferControl � To specify whether events detected by the termination are to be buffered following detection or processed immediately � Other properties of a termination that are not specific to any media stream 2003/4/16 15 MEGACO

  16. Stream Descriptor � Stream ID � LocalControlDescriptor � Mode: sendonly, receiveonly, sendreceive, inactive, and loopback � With respect to the exterior of the context � MGC specifies a set of choices for the session � ReserveGroup and ReserveValue indicate the resources should be reserved � LocalDescriptor and Remote Descriptor � Usage of SDP 2003/4/16 16 MEGACO

  17. Event & Signal Descriptors � Event Descriptor � RequestIdentifier � A list of events that the MG should detect and report � Signal Descriptor � On/off � Timeout � Brief 2003/4/16 17 MEGACO

  18. ServiceChange Descriptor � Used only in association with the ServiceChange command � ServiceChangeMethod (The type of service change) � Graceful, the removal of existing terminations w/o interrupting existing connections � Forced, an abrupt removal � Restart, after a specified delay � Disconnected, applied to the entire MG � Handoff, from the old MGC; a new MGC is taking over � Failover, from MG to MGC � ServiceChangeDelay, a number of seconds � ServiceChangeReason 2003/4/16 18 MEGACO

  19. DigitMap Descriptor � A dialing plan � A start timer, to start � A short timer, when more digits are needed � A long timer, to differentiate different routing 2003/4/16 19 MEGACO

  20. ObservedEvents Descriptor � Mandatory in the Notify command � RequestIdentifier � Optional time-stamp for each observed event � Except for the response of a ServiceChange command � In a response to the AuditValue command � Events stored in the event buffer 2003/4/16 20 MEGACO

  21. Context Descriptors Context 1 Context 2 Context 3 Transaction T2 T2 T2 T2 T2 T2 Action 1 for One Context Topology Descriptor T1 T1 T3 T3 T1 T1 T3 T3 T1 T1 T3 T3 Command Command 1 2 1. No topology 2. T1, T2 3. T3, T2 descriptor isolate one way Context 4 Context 5 Context 6 T2 T2 T2 T2 T2 T2 Action 3 for Another Context Command T1 T1 T3 T3 T1 T1 T3 T3 T1 T1 T3 T3 1 4. T2, T3 5. T2, T3 6. T1, T2 oneway bothway bothway 2003/4/16 21 MEGACO

  22. Call Flow: RGW to RGW 123.123.123.4 MGC 124.124.124.222 125.125.125.5 3 1 4 2 Internet RGW RGW � A5555 A4444 � NULL Context NULL Context 1.(3) ServiceChange(ROOT): MG register with MGC 2.(4) Modify(A4444): MGC set Mode(SendReceive) & Events(al/of) 2003/4/16 23 MEGACO

  23. Call Flow: RGW to RGW 123.123.123.4 MGC 124.124.124.222 125.125.125.5 5 6 Internet RGW RGW � A5555 A4444 � NULL Context NULL Context DTMF detection/ 5. Notify(A4444): MG report an off hook event (time) Digit Map Complete Event 6. Modify(A4444): MGC set Events (al/on, dd/ce, {DigitMap = Dialplan0}) Signals(cg/dt) Call Progress Tone Generator/Dial Tone 2003/4/16 24 MEGACO

  24. Call Flow: RGW to RGW 123.123.123.4 MGC 124.124.124.222 125.125.125.5 7 8 Internet RGW RGW � A5555 A4444 � A4445 Context ID = 2000 Full Match Digit String 7. Notify(A4444): MG report a Digit Map Complete event(ds=916135551212,Meth=FM) 8. Add(A4444,$:Mode(ReceiveOnly), Local(RTP)) 2003/4/16 25 MEGACO

  25. Call Flow: RGW to RGW 123.123.123.4 MGC 124.124.124.222 125.125.125.5 9 10 Internet RGW RGW � A5555 A4444 � A4445 A5556 Context ID = 2000 Context ID = 5003 9. Add(A5555: Mode(SendReceive), Events(al/of), Signals(al/ri), $: Mode(SendReceive), Local(RTP), Remote(...)) 10. Modify(A4444: Signals(cg/rt), A4445: Remote(…))) 2003/4/16 26 MEGACO

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend