<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html xmlns:fn="http://www.w3.org/2005/02/xpath-functions"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../../../../doc/otp_doc.css" type="text/css"> <title>Erlang -- Megaco mib</title> </head> <body bgcolor="white" text="#000000" link="#0000ff" vlink="#ff00ff" alink="#ff0000"><div id="container"> <script id="js" type="text/javascript" language="JavaScript" src="../../../../doc/js/flipmenu/flipmenu.js"></script><script id="js2" type="text/javascript" src="../../../../doc/js/erlresolvelinks.js"></script><script language="JavaScript" type="text/javascript"> <!-- function getWinHeight() { var myHeight = 0; if( typeof( window.innerHeight ) == 'number' ) { //Non-IE myHeight = window.innerHeight; } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { //IE 6+ in 'standards compliant mode' myHeight = document.documentElement.clientHeight; } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { //IE 4 compatible myHeight = document.body.clientHeight; } return myHeight; } function setscrollpos() { var objf=document.getElementById('loadscrollpos'); document.getElementById("leftnav").scrollTop = objf.offsetTop - getWinHeight()/2; } function addEvent(obj, evType, fn){ if (obj.addEventListener){ obj.addEventListener(evType, fn, true); return true; } else if (obj.attachEvent){ var r = obj.attachEvent("on"+evType, fn); return r; } else { return false; } } addEvent(window, 'load', setscrollpos); //--></script><div id="leftnav"><div class="innertube"> <img alt="Erlang logo" src="../../../../doc/erlang-logo.png"><br><small><a href="users_guide.html">User's Guide</a><br><a href="index.html">Reference Manual</a><br><a href="release_notes.html">Release Notes</a><br><a href="../pdf/megaco-3.14.pdf">PDF</a><br><a href="../../../../doc/index.html">Top</a></small><p><strong>Megaco/H.248</strong><br><strong>User's Guide</strong><br><small>Version 3.14</small></p> <br><a href="javascript:openAllFlips()">Expand All</a><br><a href="javascript:closeAllFlips()">Contract All</a><p><small><strong>Chapters</strong></small></p> <ul class="flipMenu" imagepath="../../../../doc/js/flipmenu"> <li id="no" title="Introduction" expanded="false">Introduction<ul> <li><a href="megaco_intro.html"> Top of chapter </a></li> <li title="Scope and Purpose"><a href="megaco_intro.html#id2258808">Scope and Purpose</a></li> <li title="Prerequisites"><a href="megaco_intro.html#id2259591">Prerequisites</a></li> <li title="About This Manual"><a href="megaco_intro.html#id2259869">About This Manual</a></li> <li title="Where to Find More Information"><a href="megaco_intro.html#id2258833">Where to Find More Information</a></li> </ul> </li> <li id="no" title="Architecture" expanded="false">Architecture<ul> <li><a href="megaco_architecture.html"> Top of chapter </a></li> <li title="Network view"><a href="megaco_architecture.html#id2258814">Network view</a></li> <li title="General"><a href="megaco_architecture.html#id2252914">General</a></li> <li title="Single node config"><a href="megaco_architecture.html#id2253646">Single node config</a></li> <li title="Distributed config"><a href="megaco_architecture.html#id2260375">Distributed config</a></li> <li title="Message round-trip call flow"><a href="megaco_architecture.html#id2252848">Message round-trip call flow</a></li> </ul> </li> <li id="no" title="Running the stack" expanded="false">Running the stack<ul> <li><a href="megaco_run.html"> Top of chapter </a></li> <li title="Starting"><a href="megaco_run.html#id2260276">Starting</a></li> <li title="MGC startup call flow"><a href="megaco_run.html#id2262108">MGC startup call flow</a></li> <li title="MG startup call flow"><a href="megaco_run.html#id2257745">MG startup call flow</a></li> <li title="Configuring the Megaco stack"><a href="megaco_run.html#id2262154">Configuring the Megaco stack</a></li> <li title="Initial configuration"><a href="megaco_run.html#id2258660">Initial configuration</a></li> <li title="Changing the configuration"><a href="megaco_run.html#id2258456">Changing the configuration</a></li> <li title="The transaction sender"><a href="megaco_run.html#id2258486">The transaction sender</a></li> <li title="Segmentation of transaction replies"><a href="megaco_run.html#id2260130">Segmentation of transaction replies</a></li> </ul> </li> <li id="no" title="Internal form and its encodings" expanded="false">Internal form and its encodings<ul> <li><a href="megaco_encode.html"> Top of chapter </a></li> <li title="Internal form of messages"><a href="megaco_encode.html#id2261223">Internal form of messages</a></li> <li title="The different encodings"><a href="megaco_encode.html#id2261351">The different encodings</a></li> <li title="Configuration of Erlang distribution encoding module"><a href="megaco_encode.html#id2261547">Configuration of Erlang distribution encoding module</a></li> <li title="Configuration of text encoding module(s)"><a href="megaco_encode.html#id2261637">Configuration of text encoding module(s)</a></li> <li title="Configuration of binary encoding module(s)"><a href="megaco_encode.html#id2261872">Configuration of binary encoding module(s)</a></li> <li title="Handling megaco versions"><a href="megaco_encode.html#id2262678">Handling megaco versions</a></li> <li title="Encoder callback functions"><a href="megaco_encode.html#id2262951">Encoder callback functions</a></li> </ul> </li> <li id="no" title="Transport mechanisms" expanded="false">Transport mechanisms<ul> <li><a href="megaco_transport_mechanisms.html"> Top of chapter </a></li> <li title="Callback interface"><a href="megaco_transport_mechanisms.html#id2263046">Callback interface</a></li> <li title="Examples"><a href="megaco_transport_mechanisms.html#id2263118">Examples</a></li> </ul> </li> <li id="no" title="Implementation examples" expanded="false">Implementation examples<ul> <li><a href="megaco_examples.html"> Top of chapter </a></li> <li title="A simple Media Gateway Controller"><a href="megaco_examples.html#id2263215">A simple Media Gateway Controller</a></li> <li title="A simple Media Gateway"><a href="megaco_examples.html#id2263275">A simple Media Gateway</a></li> </ul> </li> <li id="loadscrollpos" title="Megaco mib" expanded="true">Megaco mib<ul> <li><a href="megaco_mib.html"> Top of chapter </a></li> <li title="Intro"><a href="megaco_mib.html#id2263412">Intro</a></li> <li title="Statistics counters"><a href="megaco_mib.html#id2263441">Statistics counters</a></li> <li title="Distribution"><a href="megaco_mib.html#id2263481">Distribution</a></li> </ul> </li> <li id="no" title="Performance comparison" expanded="false">Performance comparison<ul> <li><a href="megaco_performance.html"> Top of chapter </a></li> <li title="Comparison of encoder/decoders"><a href="megaco_performance.html#id2263568">Comparison of encoder/decoders</a></li> <li title="System performance characteristics"><a href="megaco_performance.html#id2264407">System performance characteristics</a></li> <li title="Description of encoders/decoders"><a href="megaco_performance.html#id2264450">Description of encoders/decoders</a></li> <li title="Setup"><a href="megaco_performance.html#id2264580">Setup</a></li> <li title="Summary"><a href="megaco_performance.html#id2264595">Summary</a></li> </ul> </li> <li id="no" title="Testing and tools" expanded="false">Testing and tools<ul> <li><a href="megaco_debug.html"> Top of chapter </a></li> <li title="Tracing"><a href="megaco_debug.html#id2264744">Tracing</a></li> <li title="Measurement and transformation"><a href="megaco_debug.html#id2264795">Measurement and transformation</a></li> </ul> </li> </ul> </div></div> <div id="content"> <div class="innertube"> <h1>7 Megaco mib</h1> <h3><a name="id2263412">7.1 Intro</a></h3> <p>The Megaco mib is as of yet not standardized and our implementation is based on <strong>draft-ietf-megaco-mib-04.txt</strong>. Almost all of the mib cannot easily be implemented by the megaco application. Instead these things should be implemented by a user (of the megaco application). </p> <p>So what part of the mib is implemented? Basically the relevant statistic counters of the <strong>MedGwyGatewayStatsEntry</strong>.</p> <h3><a name="id2263441">7.2 Statistics counters</a></h3> <p>The implementation of the statistic counters is lightweight. I.e. the statistic counters are handled separately by different entities of the application. For instance our two transport module(s) (see <span class="bold_code"><a href="megaco_tcp.html#stats">megaco_tcp</a></span> and <span class="bold_code"><a href="megaco_udp.html#stats">megaco_udp</a></span>) maintain their own counters and the application engine (see <span class="bold_code"><a href="megaco.html#stats">megaco</a></span>) maintain it's own counters.</p> <p>This also means that if a user implement their own transport service then it has to maintain it's own statistics.</p> <h3><a name="id2263481">7.3 Distribution</a></h3> <p>Each megaco application maintains it's own set of counters. So in a large (distributed) MG/MGC it could be necessary to collect the statistics from several nodes (each) running the megaco application (only one of them with the transport).</p> </div> <div class="footer"> <hr> <p>Copyright © 2000-2010 Ericsson AB. All Rights Reserved.</p> </div> </div> </div></body> </html>