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

<html>

<head>
<title>NaturalAccess GR303 and V5 Libraries Developer's Manual: NMS_V5GetE1Status </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 { width:100%;   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; }
col.whs2 { width:12.171%; }
col.whs3 { width:87.829%; }
td.whs4 { background-color:#CCCCCC; vertical-align:top;   padding-right:10px; padding-left:10px; }
p.whs5 { font-weight:bold; }
td.whs6 { background-color:#ffffff; vertical-align:top;   padding-right:10px; padding-left:10px; }
p.whs7 { font-style:italic; font-weight:bold; }
col.whs8 { width:28.105%; }
col.whs9 { width:71.895%; }
table.whs10 {   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-spacing:0px; border-collapse:separate; width:100%; }
col.whs11 { width:8.407%; }
col.whs12 { width:91.593%; }
tr.whs13 { background-color:#CCCCCC; x-cell-content-align:top; vertical-align:top; }
td.whs14 { vertical-align:top; padding-left:5px;  padding-right:5px;  }
tr.whs15 { x-cell-content-align:top; vertical-align:top; }
table.whs16 {   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.whs17 { width:11.543%; }
col.whs18 { width:88.457%; }
div.whs19 { width:100%; }
p.whs20 { text-align:center; }
p.whs21 { 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.whs21 {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("NMS V5 function reference\nNMS_V5GetE1Status");
addAvenueInfo("Untitled","nmsv5getchannelstatistics.html","nmsv5initialize.html");
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_V5GetE1Status</h1>

<p>Returns the status information for a specified E1 link provisioned on 
 an active variant of an interface. </p>

<h4>Prototype</h4>

<p>NMS_V5_RESULT_T<span style="font-weight: bold;"><B> NMS_V5GetE1Status </B></span>( 
 NMS_V5_INTERFACE_ID_T <span style="font-style: italic; font-weight: bold;"><I><B>interfaceId</B></I></span>, 
 NMS_V5_E1_LOCATION_T <span style="font-style: italic; font-weight: bold;"><I><B>e1_loc</B></I></span>, 
 NMS_V5_E1_STATUS_T *<span style="font-style: italic; font-weight: bold;"><I><B>e1_status</B></I></span>)</p>

<table cellpadding="5" x-use-null-cells cellspacing="0" width="100%" border="1" class="whs1">
<col class="whs2">
<col class="whs3">

<tr>
<td bgcolor="#CCCCCC" width="12.171%" class="whs4">
<p class="whs5">Argument</p></td>
<td bgcolor="#CCCCCC" width="87.829%" class="whs4">
<p class="whs5">Description</p></td></tr>

<tr>
<td bgcolor="#FFFFFF" width="12.171%" class="whs6">
<p class="whs7">interfaceId</p></td>
<td bgcolor="#FFFFFF" width="87.829%" class="whs6">
<p>Interface ID of a provisioned interface.</p></td></tr>

<tr>
<td bgcolor="#FFFFFF" width="12.171%" class="whs6">
<p class="whs7">e1_loc</p></td>
<td bgcolor="#FFFFFF" width="87.829%" class="whs6">
<p>E1 link location specified in the following structure:</p>
<p class=Example>typedef&nbsp;union&nbsp;_NMS_V5_E1_LOCATION_T<br>
{<br>
&nbsp; &nbsp;struct&nbsp;{<br>
&nbsp; &nbsp;DWORD&nbsp;&nbsp;boardNb;<br>
&nbsp; &nbsp;DWORD&nbsp;&nbsp;trunkNb;<br>
 }&nbsp;CG;<br>
}NMS_V5_E1_LOCATION_T</p>
<p>See the <a href="#Details">Details</a> section for field descriptions.</p></td></tr>

<tr>
<td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="12.171%" class="whs6">
<p class="whs7">e1_status</p></td>
<td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="87.829%" class="whs6">
<p>Pointer to an application-provided buffer for receiving the following 
 structure:</p>
<p class=Example>typedef&nbsp;struct&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DWORD&nbsp;Size;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NMS_V5_E1_STATUSMASK_T&nbsp;StatusMask;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DWORD&nbsp;Slips;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DWORD&nbsp;Es;&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DWORD&nbsp;Ses;&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DWORD&nbsp;Uas;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DWORD&nbsp;LineErrors;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DWORD&nbsp;FrameErrors;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DWORD&nbsp;ElaspedTime;<br>
}&nbsp;NMS_V5_E1_STATUS_T;</p>
<p>See the <a href="#Details">Details</a> section for field descriptions.</p></td></tr>
</table><br>

<h4>Return values</h4>

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

<tr>
<td bgcolor="#CCCCCC" width="28.105%" class="whs4">
<p class="whs5">Return value</p></td>
<td bgcolor="#CCCCCC" width="71.895%" class="whs4">
<p class="whs5">Description</p></td></tr>

<tr>
<td bgcolor="#FFFFFF" width="28.105%" class="whs6">
<p>NMSV5_SUCCESS</p></td>
<td bgcolor="#FFFFFF" width="71.895%" class="whs6">
<p>&nbsp;</p></td></tr>

<tr>
<td bgcolor="#FFFFFF" width="28.105%" class="whs6">
<p>NMSV5_INTERNAL_FAILURE</p></td>
<td bgcolor="#FFFFFF" width="71.895%" class="whs6">
<p>Internal failure. Refer to the trace log for more information.</p></td></tr>

<tr>
<td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="28.105%" class="whs6">
<p>NMSV5_INVALID_E1</p></td>
<td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="71.895%" class="whs6">
<p>E1 link is not provisioned on the interface.</p></td></tr>

<tr>
<td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="28.105%" class="whs6">
<p>NMSV5_INVALID_INTERFACE_ID</p></td>
<td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="71.895%" class="whs6">
<p>Specified interface is not provisioned.</p></td></tr>

<tr>
<td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="28.105%" class="whs6">
<p>NMSV5_INVALID_PARMS</p></td>
<td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="71.895%" class="whs6">
<p><span style="font-style: italic; font-weight: bold;"><I><B>channel_stat</B></I></span> 
 buffer is NULL.</p></td></tr>

<tr>
<td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="28.105%" class="whs6">
<p>NMSV5_NOT_INITIALIZED</p></td>
<td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="71.895%" class="whs6">
<p>NMS V5 library was not initialized with <span style="font-weight: bold;"><B><a href="nmsv5initialize.html">NMS_V5Initialize</a></B></span>.</p></td></tr>
</table><br>

<h4><a name=Details></a>Details</h4>

<p><span style="font-weight: bold;"><B>NMS_V5GetE1Status</B></span>&nbsp;gets 
 status information about a specified E1 link. The E1 link must be provisioned 
 on an active variant of the interface. All status information values represent 
 counts of events that occur within a time interval defined by the Elasped_time 
 parameter. </p>

<p>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 >NMS_V5_E1_LOCATION_T</font></span> 
 structure includes the following fields: </p>

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

<tr bgcolor="#CCCCCC" valign="top" class="whs13">
<td width="8.407%" class="whs14">
<p class="whs5">Field</p></td>
<td width="91.593%" class="whs14">
<p class="whs5">Description</p></td></tr>

<tr valign="top" class="whs15">
<td width="8.407%" class="whs14">
<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="91.593%" class="whs14">
<p>Logical board number where the E1 link is located (as defined by NMS 
 OAM).</p></td></tr>

<tr valign="top" class="whs15">
<td width="8.407%" class="whs14">
<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 >trunkNb</font></span></p></td>
<td width="91.593%" class="whs14">
<p>Trunk number associated with the E1 link as defined by NMS OAM.</p></td></tr>
</table><br>

<p>The NMS_V5_E1_STATUS_T structure returns the following data: </p>

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

<tr bgcolor="#CCCCCC" valign="top" class="whs13">
<td width="11.543%" class="whs14">
<p class="whs5">Field</p></td>
<td width="88.457%" class="whs14">
<p class="whs5">Description</p></td></tr>

<tr valign="top" class="whs15">
<td width="11.543%" class="whs14">
<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 width="88.457%" class="whs14">
<p>Size of the structure.</p></td></tr>

<tr valign="top" class="whs15">
<td width="11.543%" class="whs14">
<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 width="88.457%" class="whs14">
<p>Current E1 status bit mask. This can be a combination of the following 
 values:</p>
<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 >NMSV5_E1_LOS</font></span><br>
Loss of signal.</p>
<p><span style="vertical-align: baseline;">NMSV5_E1_LOF</span><br>
Loss of frame.</p>
<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 >NMSV5_E1_AIS</font></span><br>
Alarm indication signal.</p>
<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 >NMSV5_E1_RAI</font></span><br>
Remote alarm indicator.</p>
<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 >NMSV5_E1_CRC_BLOCK_ERR</font></span><br>
CRC block error.</p>
<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 >NMSV5_E1_CRC_BLOCK_INFO<br>
C</font></span>RC block information (FEBE).</p>
<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 >NMSV5_E1_NORMAL_FRAMES_0</font></span><br>
Normal E1 frames (remote SA7 = 0).</p>
<p>NMSV5_E1_NORMAL_FRAMES_1<br>
Normal E1 frames (remote SA7 = 1).</p></td></tr>

<tr valign="top" class="whs15">
<td width="11.543%" class="whs14">
<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 width="88.457%" class="whs14">
<p>Slip count.</p></td></tr>

<tr valign="top" class="whs15">
<td width="11.543%" class="whs14">
<p>Es</p></td>
<td width="88.457%" class="whs14">
<p>Errored seconds count.</p></td></tr>

<tr valign="top" class="whs15">
<td width="11.543%" class="whs14">
<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 width="88.457%" class="whs14">
<p>Severely errored seconds count.</p></td></tr>

<tr valign="top" class="whs15">
<td width="11.543%" class="whs14">
<p>Uas</p></td>
<td width="88.457%" class="whs14">
<p>Unavailable seconds count.</p></td></tr>

<tr valign="top" class="whs15">
<td width="11.543%" class="whs14">
<p>LineErrors</p></td>
<td width="88.457%" class="whs14">
<p>Line code violation count.</p></td></tr>

<tr valign="top" class="whs15">
<td width="11.543%" class="whs14">
<p>FrameErrors</p></td>
<td width="88.457%" class="whs14">
<p>Frame bit error and CRC error count.</p></td></tr>

<tr valign="top" class="whs15">
<td width="11.543%" class="whs14">
<p>ElaspedTime</p></td>
<td width="88.457%" class="whs14">
<p>Seconds since counters started. This represents the duration of the 
 observation period (in seconds).</p></td></tr>
</table><br>

<h4>See also</h4>

<p><a href="nmsv5getchannelstatistics.html"><span style="color: #0000ff;
															font-style: normal;
															font-weight: bold;
															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=blue ><B>NMS_V5GetChannelStatistics</B></font></span></a>, 
 <a href="nmsv5resete1status.html"><span style="color: #0000ff;
												font-style: normal;
												font-weight: bold;
												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=blue ><B>NMS_V5ResetE1Status</B></font></span></a></p>

<h4>Example</h4>

<p class=Example>void&nbsp;&nbsp;GetE1Status(&nbsp;void&nbsp;)<br>
{<br>
&nbsp;&nbsp;&nbsp;&nbsp;NMS_V5_RESULT_T&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NmsResult;<br>
&nbsp;&nbsp;&nbsp;&nbsp;DWORD&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;InterfaceId;<br>
&nbsp;&nbsp;&nbsp;&nbsp;NMS_V5_E1_LOCATION_T&nbsp;&nbsp;&nbsp;&nbsp;E1Location;<br>
&nbsp;&nbsp;&nbsp;&nbsp;NMS_V5_E1_STATUS_T&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;E1Status&nbsp;=&nbsp;{0};<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;NMS_V5GetE1Status:\n&quot;);<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;/*&nbsp;Get&nbsp;parameters&nbsp;*/<br>
&nbsp;&nbsp;&nbsp;&nbsp;promptdw_nodft(&quot;Enter&nbsp;InterfaceId&quot;,&nbsp;&amp;InterfaceId);<br>
&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;Enter&nbsp;E1&nbsp;location:\n&quot;);<br>
&nbsp;&nbsp;&nbsp;&nbsp;GetE1LocationNMS(&nbsp;&amp;E1Location&nbsp;);<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;NmsResult&nbsp;=&nbsp;<span style="font-weight: bold;"><B>NMS_V5GetE1Status</B></span>(&nbsp;InterfaceId,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;E1Location,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;E1Status);<br>
&nbsp;&nbsp;&nbsp;&nbsp;printf&nbsp;(&quot;NMS_V5GetE1Status:Result=%s\n&quot;,&nbsp;PRINT_RESULT(NmsResult));<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(NmsResult&nbsp;==&nbsp;NMSV5_SUCCESS)<br>
&nbsp;&nbsp;&nbsp;&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;StatusMask:&nbsp;LOS=%i&nbsp;LOF=%i&nbsp;AIS=%i&nbsp;RAI=%i&nbsp;CRCErr=%i<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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&nbsp;&nbsp;E1Status.LineErrors);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;FrameErrors&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=%i\n&quot;,&nbsp;&nbsp;&nbsp;E1Status.FrameErrors);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;ElaspedTime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=%i\n&quot;,&nbsp;&nbsp;&nbsp;E1Status.ElaspedTime);<br>
&nbsp;&nbsp;&nbsp;&nbsp;}<br>
}</p>

<div placeholder id="footer" class="whs19">
 <p align="center" class="whs20">&nbsp;</p>
 <p align="center" class="whs20"><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="whs21">&#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>

