<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">

<html>

<head>
<title>NaturalAccess GR303 and V5 Libraries Developer's Manual: NMS GR303 library structures </title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name=NMSConversion content="4.0.8">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="dialogic_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{   document.write("<link rel='stylesheet' href='dialogic.css'>");}
//-->
</script>
<style type="text/css">
<!--
table.whs1 {   x-border-left:1px table-solid; x-border-top:1px table-solid; x-border-right:1px table-solid; x-border-bottom:1px table-solid; border-collapse:separate; border-spacing:0px; }
tr.whs2 { background-color:#CCCCCC; x-cell-content-align:top; vertical-align:top; }
td.whs3 { vertical-align:top; padding-left:5px;  padding-right:5px;  }
p.whs4 { font-weight:bold; }
tr.whs5 { x-cell-content-align:top; vertical-align:top; }
p.whs6 { font-style:normal; font-weight:normal; x-text-overline:off; x-text-line-through:off; text-transform:none; vertical-align:baseline; text-decoration:none none; }
table.whs7 {   x-border-left:1px table-solid; x-border-top:1px table-solid; x-border-right:1px table-solid; x-border-bottom:1px table-solid; border-collapse:separate; border-spacing:0px; width:100%; }
col.whs8 { width:12.471%; }
col.whs9 { width:10.841%; }
col.whs10 { width:9.963%; }
col.whs11 { width:7.704%; }
col.whs12 { width:59.021%; }
col.whs13 { width:14.354%; }
col.whs14 { width:11.091%; }
col.whs15 { width:10.59%; }
col.whs16 { width:9.837%; }
col.whs17 { width:54.128%; }
p.whs18 { font-family:Verdana, sans-serif; }
col.whs19 { width:17.597%; }
col.whs20 { width:12.704%; }
col.whs21 { width:12.328%; }
col.whs22 { width:57.371%; }
col.whs23 { width:16.343%; }
col.whs24 { width:12.452%; }
col.whs25 { width:9.442%; }
col.whs26 { width:61.763%; }
div.whs27 { width:100%; }
p.whs28 { text-align:center; }
p.whs29 { text-align:center; font-size:xx-small; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
  var strNSS = "<style type='text/css'>";
  strNSS += "p.whs29 {font-size:x-small; }";
  strNSS +="</style>";
  document.write(strNSS);
}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
  if (innerWidth != origWidth || innerHeight != origHeight)
     location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
	origWidth = innerWidth;
	origHeight = innerHeight;
	onresize = reDo;
}
onerror = null; 
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
	if (window.addTocInfo)
	{
	addTocInfo("Structures\nNMS GR303 library structures");
addAvenueInfo("Untitled","nms_v5_library_channel_callback_events_.htm","nms_v5_library_structures.htm");
addButton("show",BTN_TEXT,"Show table of contents for this manual","","","","",0,0,"","","");

	}
	if (window.writeBtnStyle)
		writeBtnStyle();

	if (window.writeIntopicBar)
		writeIntopicBar(1);

	if (window.setRelStartPage)
	{
	setRelStartPage("default.htm");

		autoSync(1);
		sendSyncInfo();
		sendAveInfoOut();
	}
}
else
	if (window.gbIE4)
		document.location.reload();
//-->
</script>
<h1>NMS 
 GR303 library structures</h1>

<p>When using the NMS GR303 library, applications can send or receive the 
 following structures:<span style="color: #000000;
									font-style: normal;
									font-weight: normal;
									x-text-underline: off;
									x-text-overline: off;
									x-text-line-through: off;
									text-transform: none;
									vertical-align: baseline;
									/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "> 
 <font color=black ></font></span></p>

<table cellpadding="5" x-use-null-cells cellspacing="0" border="1" class="whs1">

<tr bgcolor="#CCCCCC" valign="top" class="whs2">
<td class="whs3">
<p class="whs4">Structure</p></td>
<td class="whs3">
<p class="whs4">Description</p></td></tr>

<tr valign="top" class="whs5">
<td class="whs3">
<p class="whs6"><a 
 href="#NMS_GR303_BOARD_FAMILY_T">NMS_GR303_BOARD_FAMILY_T</a></p></td>
<td class="whs3">
<p>Applications send this structure to specify the board family (CG boards) 
 used on the host system.</p></td></tr>

<tr valign="top" class="whs5">
<td class="whs3">
<p class="whs6"><a 
 href="#NMS_GR303_DS1_LOCATION_T">NMS_GR303_DS1_LOCATION_T</a></p></td>
<td class="whs3">
<p>Applications send this structure to specify the location of a DS1 link 
 on a CG board.</p></td></tr>

<tr valign="top" class="whs5">
<td class="whs3">
<p class="whs6"><a 
 href="#NMS_GR303_CHANNEL_LOCATION_T">NMS_GR303_CHANNEL_LOCATION_T</a></p></td>
<td class="whs3">
<p>Applications send this structure to specify the location of an HDLC 
 channel on a CG board.</p></td></tr>

<tr valign="top" class="whs5">
<td class="whs3">
<p><a href="#NMS_GR303_DS1_STATUS_T">NMS_GR303_DS1_STATUS_T</a></p></td>
<td class="whs3">
<p>The NMS GR303 library returns this structure to indicate the status 
 of a particular DS1 link.</p></td></tr>

<tr valign="top" class="whs5">
<td class="whs3">
<p><a href="#NMS_GR303_CHANNEL_STATISTICS_T">NMS_GR303_CHANNEL_STATISTICS_T</a></p></td>
<td class="whs3">
<p>The NMS GR303 library returns this structure to provide statistics about 
 the transmit or receive operations on HDLC channels.</p></td></tr>
</table><br>

<h2><a name=NMS_GR303_BOARD_FAMILY_T></a>NMS_GR303_BOARD_FAMILY_T</h2>

<p>When applications initialize the NMS GR303 library, they specify the 
 board family with <span style="color: #000000;
								font-style: normal;
								font-weight: normal;
								x-text-underline: off;
								x-text-overline: off;
								x-text-line-through: off;
								text-transform: none;
								vertical-align: baseline;
								/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >NMS_GR303_BOARD_FAMILY_T</font></span>:</p>

<p class=Example>typedef&nbsp;enum&nbsp;_NMS_GR303_BOARD_T<br>
{<br>
&nbsp;&nbsp;&nbsp;&nbsp;NMS_BOARD_FAMILY_CG<br>
}&nbsp;NMS_GR303_BOARD_FAMILY_T;</p>

<p class="whs4"><span style="font-weight: normal;">Dependent 
 function:</span> <a href="nmsgr303initialize.html">NMS_GR303Initialize</a></p>

<table cellpadding="5" x-use-null-cells cellspacing="0" border="1" class="whs1">

<tr bgcolor="#CCCCCC" valign="top" class="whs2">
<td class="whs3">
<p class="whs4">Field name</p></td>
<td class="whs3">
<p class="whs4">Type</p></td>
<td class="whs3">
<p class="whs4">Default</p></td>
<td class="whs3">
<p class="whs4">Description</p></td></tr>

<tr valign="top" class="whs5">
<td class="whs3">
<p>NMS_BOARD_FAMILY_CG</p></td>
<td class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >NMS_BOARD_FAMILY_CG</font></span></p></td>
<td class="whs3">
<p>N/A</p></td>
<td class="whs3">
<p>Specifies the board family (CG boards) used on the system.</p></td></tr>
</table><br>

<h2><a name=NMS_GR303_DS1_LOCATION_T></a>NMS_GR303_DS1_LOCATION_T</h2>

<p>When applications obtain or reset DS1 link status information, they 
 specify the DS1 link information through <span style="color: #000000;
														font-style: normal;
														font-weight: normal;
														x-text-underline: off;
														x-text-overline: off;
														x-text-line-through: off;
														text-transform: none;
														vertical-align: baseline;
														/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >NMS_GR303_DS1_LOCATION_T</font></span>: 
 </p>

<p class=Example>typedef&nbsp;union&nbsp;_NMS_GR303_DS1_LOCATION_T<br>
{<br>
&nbsp;&nbsp;&nbsp;&nbsp;struct&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DWORD&nbsp;boardNb;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DWORD&nbsp;trunkNb;<br>
&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;CG;<br>
}&nbsp;NMS_GR303_DS1_LOCATION_T;</p>

<p>Dependent functions: <a href="nmsgr303getds1status.html"><span style="color: #0000ff;
	font-weight: bold;
	x-text-underline: off;
	/*begin!kadov{{*/ text-decoration: none; /*}}end!kadov*/ "><font color=blue ><B>NMS_GR303GetDS1Status</B></font></span></a> 
 or <a href="nmsgr303resetds1status.html"><span style="color: #0000ff;
														font-weight: bold;
														x-text-underline: off;
														/*begin!kadov{{*/ text-decoration: none; /*}}end!kadov*/ "><font color=blue ><B>NMS_GR303ResetDS1Status</B></font></span></a></p>

<table cellpadding="5" x-use-null-cells width="100%" cellspacing="0" border="1" class="whs7">
<col class="whs8">
<col class="whs9">
<col class="whs10">
<col class="whs11">
<col class="whs12">

<tr bgcolor="#CCCCCC" valign="top" class="whs2">
<td width="12.471%" class="whs3">
<p class="whs4">Field name</p></td>
<td width="10.841%" class="whs3">
<p class="whs4">Type</p></td>
<td width="9.963%" class="whs3">
<p class="whs4">Default</p></td>
<td width="7.704%" class="whs3">
<p class="whs4">Units</p></td>
<td width="59.021%" class="whs3">
<p class="whs4">Description</p></td></tr>

<tr valign="top" class="whs5">
<td width="12.471%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >boardNb</font></span></p></td>
<td width="10.841%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >DWORD</font></span></p></td>
<td width="9.963%" class="whs3">
<p>N/A</p></td>
<td width="7.704%" class="whs3">
<p>N/A</p></td>
<td width="59.021%" class="whs3">
<p>Logical board number of the board where the DS1 link is located (as 
 defined by NMS OAM).</p></td></tr>

<tr valign="top" class="whs5">
<td width="12.471%" class="whs3">
<p>trunkNb</p></td>
<td width="10.841%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >DWORD</font></span></p></td>
<td width="9.963%" class="whs3">
<p>N/A</p></td>
<td width="7.704%" class="whs3">
<p>N/A</p></td>
<td width="59.021%" class="whs3">
<p>Logical trunk number associated with the T1 link (as defined by NMS 
 OAM).</p></td></tr>
</table><br>

<h2><a name=NMS_GR303_CHANNEL_LOCATION_T></a>NMS_GR303_CHANNEL_LOCATION_T</h2>

<p>When applications obtain or reset HDLC channel statistics or modify 
 a channel location, they specify the HDLC channel information through 
 <span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >NMS_GR303_CHANNEL_LOCATION_T</font></span>: 
 </p>

<p class=Example>typedef&nbsp;union&nbsp;_NMS_GR303_CHANNEL_LOCATION_T<br>
{<br>
&nbsp;&nbsp;&nbsp;&nbsp;struct&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DWORD&nbsp;boardNb;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DWORD&nbsp;trunkNb;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DWORD&nbsp;timeslotNb;<br>
&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;CG;<br>
}&nbsp;NMS_GR303_CHANNEL_LOCATION_T;</p>

<p>Dependent functions: <a href="nmsgr303getchannelstatistics.html"><span 
 style="color: #0000ff;
		font-weight: bold;
		x-text-underline: off;
		/*begin!kadov{{*/ text-decoration: none; /*}}end!kadov*/ "><font color=blue ><B>NMS_GR303GetChannelStatistics</B></font></span></a>, 
 <a href="nmsgr303resetchannelstatistics.html"><span style="color: #0000ff;
															font-weight: bold;
															x-text-underline: off;
															/*begin!kadov{{*/ text-decoration: none; /*}}end!kadov*/ "><font color=blue ><B>NMS_GR303ResetChannelStatistics</B></font></span></a>, 
 or <a href="nmsgr303modifychannellocation.html"><span style="color: #0000ff;
	font-weight: bold;
	x-text-underline: off;
	/*begin!kadov{{*/ text-decoration: none; /*}}end!kadov*/ "><font color=blue ><B>NMS_GR303ModifyChannelLocation</B></font></span></a></p>

<table cellpadding="5" x-use-null-cells width="100%" cellspacing="0" border="1" class="whs7">
<col class="whs13">
<col class="whs14">
<col class="whs15">
<col class="whs16">
<col class="whs17">

<tr bgcolor="#CCCCCC" valign="top" class="whs2">
<td width="14.354%" class="whs3">
<p class="whs4">Field name</p></td>
<td width="11.091%" class="whs3">
<p class="whs4">Type</p></td>
<td width="10.59%" class="whs3">
<p class="whs4">Default</p></td>
<td width="9.837%" class="whs3">
<p class="whs4">Units</p></td>
<td width="54.128%" class="whs3">
<p class="whs4">Description</p></td></tr>

<tr valign="top" class="whs5">
<td width="14.354%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >boardNb</font></span></p></td>
<td width="11.091%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >DWORD</font></span></p></td>
<td width="10.59%" class="whs3">
<p>N/A</p></td>
<td width="9.837%" class="whs3">
<p>N/A</p></td>
<td width="54.128%" class="whs3">
<p>Logical board number of the board where the HDLC instance is located 
 as defined by NMS OAM.</p></td></tr>

<tr valign="top" class="whs5">
<td width="14.354%" class="whs3">
<p>trunkNb</p></td>
<td width="11.091%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >DWORD</font></span></p></td>
<td width="10.59%" class="whs3">
<p>N/A</p></td>
<td width="9.837%" class="whs3">
<p>N/A</p></td>
<td width="54.128%" class="whs3">
<p>Logical trunk number associated with the HDLC instance (as defined by 
 NMS OAM).</p></td></tr>

<tr valign="top" class="whs5">
<td width="14.354%" class="whs3">
<p>timeslotNb</p></td>
<td width="11.091%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >DWORD</font></span></p></td>
<td width="10.59%" class="whs3">
<p>N/A</p></td>
<td width="9.837%" class="whs3">
<p>N/A</p></td>
<td width="54.128%" class="whs3">
<p>Physical timeslot number associated with the HDLC instance.</p></td></tr>
</table><br>

<h2><a name=NMS_GR303_DS1_STATUS_T></a>NMS_GR303_DS1_STATUS_T</h2>

<p>When the NMS GR303 library returns information about the status of a 
 DS1 link, it provides the information in <span style="color: #000000;
														font-style: normal;
														font-weight: normal;
														x-text-underline: off;
														x-text-overline: off;
														x-text-line-through: off;
														text-transform: none;
														vertical-align: baseline;
														/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >NMS_GR303_DS1_STATUS_T</font></span>: 
 </p>

<p class=Example>typedef&nbsp;struct&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;DWORD&nbsp;Size;<br>
&nbsp;&nbsp;&nbsp;&nbsp;NMS_GR303_DS1_STATUSMASK_T&nbsp;StatusMask;<br>
&nbsp;&nbsp;&nbsp;&nbsp;DWORD&nbsp;Slips;<br>
&nbsp;&nbsp;&nbsp;&nbsp;DWORD&nbsp;Es;<br>
&nbsp;&nbsp;&nbsp;&nbsp;DWORD&nbsp;Ses;<br>
&nbsp;&nbsp;&nbsp;&nbsp;DWORD&nbsp;Uas;<br>
&nbsp;&nbsp;&nbsp;&nbsp;DWORD&nbsp;LineErrors;<br>
&nbsp;&nbsp;&nbsp;&nbsp;DWORD&nbsp;FrameErrors;<br>
&nbsp;&nbsp;&nbsp;&nbsp;DWORD&nbsp;ElaspedTime;<br>
}&nbsp;NMS_GR303_DS1_STATUS_T;</p>

<p>Dependent function: <a href="nmsgr303getds1status.html"><span style="color: #0000ff;
	font-weight: bold;
	x-text-underline: off;
	/*begin!kadov{{*/ text-decoration: none; /*}}end!kadov*/ "><font color=blue ><B>NMS_GR303GetDS1Status</B></font></span></a></p>

<table cellpadding="5" x-use-null-cells cellspacing="0" border="1" class="whs1">

<tr bgcolor="#CCCCCC" valign="top" class="whs2">
<td class="whs3">
<p class="whs4">Field name</p></td>
<td class="whs3">
<p class="whs4">Type</p></td>
<td class="whs3">
<p class="whs4">Units</p></td>
<td class="whs3">
<p class="whs4">Description</p></td></tr>

<tr valign="top" class="whs5">
<td class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >Size</font></span></p></td>
<td class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >DWORD</font></span></p></td>
<td class="whs3">
<p>N/A</p></td>
<td class="whs3">
<p>Size of the structure.</p></td></tr>

<tr valign="top" class="whs5">
<td class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >StatusMask</font></span></p></td>
<td class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >NMS_GR303_DS1_<br>
STATUSMASK_T</font></span></p></td>
<td class="whs3">
<p>N/A</p></td>
<td class="whs3">
<p>Current DS1 status bit mask. This can combine the following values:</p>
<p>NMSGR303_DS1_LO<span style="font-family: Verdana, sans-serif;">S (</span><span 
 class=ExampleChar
	style="font-family: Verdana, sans-serif;">0x01</span><span style="font-family: Verdana, sans-serif;">)<br>
Loss of signal.</span></p>
<p class="whs18">NMSGR303_DS1_LOF (<span class=ExampleChar
	style="font-family: Verdana, sans-serif;">0x02</span>)<br>
Loss of frame.</p>
<p class="whs18">NMSGR303_DS1_AIS (<span class=ExampleChar
	style="font-family: Verdana, sans-serif;">0x04</span>)<br>
Alarm indication signal.</p>
<p><span style="font-family: Verdana, sans-serif;">NMSGR303_DS1_RAI (</span><span 
 class=ExampleChar
	style="font-family: Verdana, sans-serif;">0x08</span><span style="font-family: Verdana, sans-serif;">)</span><br>
Remote alarm indicator.</p></td></tr>

<tr valign="top" class="whs5">
<td class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >Slips</font></span></p></td>
<td class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >DWORD</font></span></p></td>
<td class="whs3">
<p>count</p></td>
<td class="whs3">
<p>Number of slips.</p></td></tr>

<tr valign="top" class="whs5">
<td class="whs3">
<p>Es</p></td>
<td class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >DWORD</font></span></p></td>
<td class="whs3">
<p>count</p></td>
<td class="whs3">
<p>Number of errors seconds.</p></td></tr>

<tr valign="top" class="whs5">
<td class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >Ses</font></span></p></td>
<td class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >DWORD</font></span></p></td>
<td class="whs3">
<p>count</p></td>
<td class="whs3">
<p>Number of severely errored seconds.</p></td></tr>

<tr valign="top" class="whs5">
<td class="whs3">
<p>Uas</p></td>
<td class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >DWORD</font></span></p></td>
<td class="whs3">
<p>count</p></td>
<td class="whs3">
<p>Number of unavailable seconds.</p></td></tr>

<tr valign="top" class="whs5">
<td class="whs3">
<p>LineErrors</p></td>
<td class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >DWORD</font></span></p></td>
<td class="whs3">
<p>count</p></td>
<td class="whs3">
<p>Number of line code violations.</p></td></tr>

<tr valign="top" class="whs5">
<td class="whs3">
<p>FrameErrors</p></td>
<td class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >DWORD</font></span></p></td>
<td class="whs3">
<p>count</p></td>
<td class="whs3">
<p>Number of frame bit errors and CRC errors.</p></td></tr>

<tr valign="top" class="whs5">
<td class="whs3">
<p>ElaspedTime</p></td>
<td class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >DWORD</font></span></p></td>
<td class="whs3">
<p>count</p></td>
<td class="whs3">
<p>Seconds since counters started. This represents the duration of the 
 observation time (in seconds). All statistics are the count of particular 
 events that occur during the <span style="color: #000000;
											font-style: normal;
											font-weight: normal;
											x-text-underline: off;
											x-text-overline: off;
											x-text-line-through: off;
											text-transform: none;
											vertical-align: baseline;
											/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >ElaspedTime</font></span> 
 interval.</p></td></tr>
</table><br>

<h2><a name=NMS_GR303_CHANNEL_STATISTICS_T></a>NMS_GR303_CHANNEL_STATISTICS_T</h2>

<p>When the NMS GR303 library returns HDLC channel statistics, it provides 
 the information in <span style="color: #000000;
									font-style: normal;
									font-weight: normal;
									x-text-underline: off;
									x-text-overline: off;
									x-text-line-through: off;
									text-transform: none;
									vertical-align: baseline;
									/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >NMS_GR303_CHANNEL_STATISTICS_T</font></span> 
 (which includes both a <span style="color: #000000;
										font-style: normal;
										font-weight: normal;
										x-text-underline: off;
										x-text-overline: off;
										x-text-line-through: off;
										text-transform: none;
										vertical-align: baseline;
										/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >CHANNEL_STATISTICS_RECEIVE_T 
 </font></span>or <span style="color: #000000;
						font-style: normal;
						font-weight: normal;
						x-text-underline: off;
						x-text-overline: off;
						x-text-line-through: off;
						text-transform: none;
						vertical-align: baseline;
						/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >CHANNEL_STATISTICS_TRANSMIT_T</font></span> 
 subtype):</p>

<p class=Example>typedef&nbsp;struct&nbsp;{<br>
&nbsp;&nbsp;&nbsp;DWORD&nbsp;Size;&nbsp;/*&nbsp;Size&nbsp;of&nbsp;this&nbsp;structure&nbsp;*/<br>
&nbsp;&nbsp;&nbsp;CHANNEL_STATISTICS_RECEIVE_T&nbsp;&nbsp;chan_stat_rx;<br>
&nbsp;&nbsp;&nbsp;CHANNEL_STATISTICS_TRANSMIT_T&nbsp;chan_stat_tx;<br>
}&nbsp;NMS_GR303_CHANNEL_STATISTICS_T;<br>
<br>
typedef&nbsp;struct&nbsp;{<br>
&nbsp;&nbsp;DWORD&nbsp;Octets;<br>
&nbsp;&nbsp;&nbsp;DWORD&nbsp;Frames;<br>
&nbsp;&nbsp;&nbsp;DWORD&nbsp;Drops;<br>
&nbsp;&nbsp;&nbsp;DWORD&nbsp;FifoOverruns;<br>
&nbsp;&nbsp;&nbsp;DWORD&nbsp;Aborts;<br>
&nbsp;&nbsp;&nbsp;DWORD&nbsp;CrcErrors;<br>
&nbsp;&nbsp;DWORD&nbsp;NonAlignedOctets;<br>
&nbsp;&nbsp;&nbsp;DWORD&nbsp;BufferOverflows;<br>
}&nbsp;CHANNEL_STATISTICS_RECEIVE_T;<br>
<br>
typedef&nbsp;struct&nbsp;{<br>
&nbsp;&nbsp;&nbsp;DWORD&nbsp;Octets;<br>
&nbsp;&nbsp;&nbsp;DWORD&nbsp;Frames;<br>
&nbsp;&nbsp;&nbsp;DWORD&nbsp;Drops;<br>
&nbsp;&nbsp;&nbsp;DWORD&nbsp;FifoUnderruns;<br>
&nbsp;&nbsp;&nbsp;DWORD&nbsp;FifoOverruns;<br>
}&nbsp;CHANNEL_STATISTICS_TRANSMIT_T;</p>

<h3>CHANNEL_STATISTICS_RECEIVE_T</h3>

<p>Dependent function: <a href="nmsgr303getchannelstatistics.html"><span 
 style="color: #0000ff;
		font-weight: bold;
		x-text-underline: off;
		/*begin!kadov{{*/ text-decoration: none; /*}}end!kadov*/ "><font color=blue ><B>NMS_GR303GetChannelStatistics</B></font></span></a></p>

<table cellpadding="5" x-use-null-cells width="100%" cellspacing="0" border="1" class="whs7">
<col class="whs19">
<col class="whs20">
<col class="whs21">
<col class="whs22">

<tr bgcolor="#CCCCCC" valign="top" class="whs2">
<td width="17.597%" class="whs3">
<p class="whs4">Field name</p></td>
<td width="12.704%" class="whs3">
<p class="whs4">Type</p></td>
<td width="12.328%" class="whs3">
<p class="whs4">Units</p></td>
<td width="57.371%" class="whs3">
<p class="whs4">Description</p></td></tr>

<tr valign="top" class="whs5">
<td width="17.597%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >Octets</font></span></p></td>
<td width="12.704%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >DWORD</font></span></p></td>
<td width="12.328%" class="whs3">
<p>count</p></td>
<td width="57.371%" class="whs3">
<p>Bytes received count.</p></td></tr>

<tr valign="top" class="whs5">
<td width="17.597%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >Frames</font></span></p></td>
<td width="12.704%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >DWORD</font></span></p></td>
<td width="12.328%" class="whs3">
<p>count</p></td>
<td width="57.371%" class="whs3">
<p>Frames received count.</p></td></tr>

<tr valign="top" class="whs5">
<td width="17.597%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >Drops</font></span></p></td>
<td width="12.704%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >DWORD</font></span></p></td>
<td width="12.328%" class="whs3">
<p>count</p></td>
<td width="57.371%" class="whs3">
<p>Frames dropped count.</p></td></tr>

<tr valign="top" class="whs5">
<td width="17.597%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >FifoOverruns</font></span></p></td>
<td width="12.704%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >DWORD</font></span></p></td>
<td width="12.328%" class="whs3">
<p>count</p></td>
<td width="57.371%" class="whs3">
<p>FIFO overrun count. </p>
<p>Not supported on CG 6100C or CG 6500C boards.</p></td></tr>

<tr valign="top" class="whs5">
<td width="17.597%" class="whs3">
<p>Aborts</p></td>
<td width="12.704%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >DWORD</font></span></p></td>
<td width="12.328%" class="whs3">
<p>count</p></td>
<td width="57.371%" class="whs3">
<p>Receive abort count.</p></td></tr>

<tr valign="top" class="whs5">
<td width="17.597%" class="whs3">
<p>CrcErrors</p></td>
<td width="12.704%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >DWORD</font></span></p></td>
<td width="12.328%" class="whs3">
<p>count</p></td>
<td width="57.371%" class="whs3">
<p>Receive CRC errors count.</p></td></tr>

<tr valign="top" class="whs5">
<td width="17.597%" class="whs3">
<p>NonAlignedOctets</p></td>
<td width="12.704%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >DWORD</font></span></p></td>
<td width="12.328%" class="whs3">
<p>count</p></td>
<td width="57.371%" class="whs3">
<p>Non-aligned octets count. </p>
<p>Not supported on CG 6100C or CG 6500C boards.</p></td></tr>

<tr valign="top" class="whs5">
<td width="17.597%" class="whs3">
<p>BufferOverflows</p></td>
<td width="12.704%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >DWORD</font></span></p></td>
<td width="12.328%" class="whs3">
<p>count</p></td>
<td width="57.371%" class="whs3">
<p>Buffer overflows count. </p>
<p>Not supported on CG 6100C or CG 6500C boards.</p></td></tr>
</table><br>

<h3>CHANNEL_STATISTICS_TRANSMIT_T</h3>

<p>Dependent function: <a href="nmsgr303getchannelstatistics.html"><span 
 style="color: #0000ff;
		font-weight: bold;
		x-text-underline: off;
		/*begin!kadov{{*/ text-decoration: none; /*}}end!kadov*/ "><font color=blue ><B>NMS_GR303GetChannelStatistics</B></font></span></a></p>

<table cellpadding="5" x-use-null-cells width="100%" cellspacing="0" border="1" class="whs7">
<col class="whs23">
<col class="whs24">
<col class="whs25">
<col class="whs26">

<tr bgcolor="#CCCCCC" valign="top" class="whs2">
<td width="16.343%" class="whs3">
<p class="whs4">Field name</p></td>
<td width="12.452%" class="whs3">
<p class="whs4">Type</p></td>
<td width="9.442%" class="whs3">
<p class="whs4">Units</p></td>
<td width="61.763%" class="whs3">
<p class="whs4">Description</p></td></tr>

<tr valign="top" class="whs5">
<td width="16.343%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >Octets</font></span></p></td>
<td width="12.452%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >DWORD</font></span></p></td>
<td width="9.442%" class="whs3">
<p>count</p></td>
<td width="61.763%" class="whs3">
<p>Bytes transmitted count.</p></td></tr>

<tr valign="top" class="whs5">
<td width="16.343%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >Frames</font></span></p></td>
<td width="12.452%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >DWORD</font></span></p></td>
<td width="9.442%" class="whs3">
<p>count</p></td>
<td width="61.763%" class="whs3">
<p>Frames transmitted count.</p></td></tr>

<tr valign="top" class="whs5">
<td width="16.343%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >Drops</font></span></p></td>
<td width="12.452%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >DWORD</font></span></p></td>
<td width="9.442%" class="whs3">
<p>count</p></td>
<td width="61.763%" class="whs3">
<p>Frames dropped count.</p></td></tr>

<tr valign="top" class="whs5">
<td width="16.343%" class="whs3">
<p>FifoUnderruns</p></td>
<td width="12.452%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >DWORD</font></span></p></td>
<td width="9.442%" class="whs3">
<p>count</p></td>
<td width="61.763%" class="whs3">
<p>FIFO underrun count.</p>
<p>Not supported on CG 6100C or CG 6500C boards.</p></td></tr>

<tr valign="top" class="whs5">
<td width="16.343%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >FifoOverruns</font></span></p></td>
<td width="12.452%" class="whs3">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >DWORD</font></span></p></td>
<td width="9.442%" class="whs3">
<p>count</p></td>
<td width="61.763%" class="whs3">
<p>FIFO overrun count. </p>
<p>Not supported on CG 6100C or CG 6500C boards.</p></td></tr>
</table><br>

<div placeholder id="footer" class="whs27">
 <p align="center" class="whs28">&nbsp;</p>
 <p align="center" class="whs28"><script type="text/javascript" language="JavaScript1.2">var mailSubject = 'Documentation link: ' + document.title;
var mailBody = 'Link to reference this topic:%0A %0A' + location.href;
var mailDisplay = '<img src="send_link.gif" border="0" alt="Send link to this topic">'; 
document.write( 
'<a href="mailto:Enter recipient email address' 
+ '?subject=' + escape(mailSubject) 
+ '&body=' + (mailBody) 
+ '">' + mailDisplay + '</a>' 
);</script></p>
 <p align="center" class="whs29">&#169; 
 Copyright 2009 Dialogic Corporation. All rights reserved.</p>
</div>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
	writeIntopicBar(0);
//-->
</script>
</body>
</html>

