<html><head><metahttp-equiv="X-UA-Compatible"content="IE=edge"/><linkrel="shortcut icon"href="../icons/favicon.ico"/><linkrel="stylesheet"type="text/css"href="../styles/branding.css"/><linkrel="stylesheet"type="text/css"href="../styles/branding-en-US.css"/><scripttype="text/javascript"src="../scripts/branding.js"></script><metahttp-equiv="Content-Type"content="text/html; charset=UTF-8"/><title>AGIScript.GetChannelStatus Method </title><metaname="Language"content="en-us"/><metaname="System.Keywords"content="GetChannelStatus method"/><metaname="System.Keywords"content="AGIScript.GetChannelStatus method"/><metaname="Microsoft.Help.F1"content="AsterNET.FastAGI.AGIScript.GetChannelStatus"/><metaname="Microsoft.Help.Id"content="M:AsterNET.FastAGI.AGIScript.GetChannelStatus"/><metaname="Description"content="Returns the status of the channel. Return values: 0 Channel is down and available1 Channel is down, but reserved2 Channel is off hook3 Digits (or equivalent) have been dialed4 Line is ringing5 Remote end is ringing6 Line is up7 Line is busy"/><metaname="Microsoft.Help.ContentType"content="Reference"/><metaname="BrandingAware"content="true"/><metaname="container"content="AsterNET.FastAGI"/><metaname="file"content="M_AsterNET_FastAGI_AGIScript_GetChannelStatus"/><metaname="guid"content="M_AsterNET_FastAGI_AGIScript_GetChannelStatus"/><linkrel="stylesheet"type="text/css"href="../styles/branding-Website.css"/><scripttype="text/javascript"src="../scripts/jquery-1.11.0.min.js"></script><scripttype="text/javascript"src="../scripts/branding-Website.js"></script></head><bodyonload="OnLoad('cs')"><inputtype="hidden"id="userDataCache"class="userDataStyle"/><divclass="pageHeader"id="PageHeader">AsterNet Class Library (Sandcastle documentation)<formid="SearchForm"method="get"action="#"onsubmit="javascript:TransferToSearchPage(); return false;"><inputid="SearchTextBox"type="text"maxlength="200"/><buttonid="SearchButton"type="submit"></button></form></div><divclass="pageBody"><divclass="leftNav"id="leftNav"><divid="tocNav"><divclass="toclevel0"data-toclevel="0"><aclass="tocCollapsed"onclick="javascript: Toggle(this);"href="#!"></a><adata-tochassubtree="true"href="79b6241e-05a3-441c-b6a1-51f2b5b7f265.htm"title="AsterNet Class Library (Sandcastle documentation)"tocid="roottoc">AsterNet Class Library (Sandcastle documentation)</a></div><divclass="toclevel0"data-toclevel="0"><aclass="tocCollapsed"onclick="javascript: Toggle(this);"href="#!"></a><adata-tochassubtree="true"href="N_AsterNET_FastAGI.htm"title="AsterNET.FastAGI"tocid="N_AsterNET_FastAGI">AsterNET.FastAGI</a></div><divclass="toclevel0"data-toclevel="0"><aclass="tocCollapsed"onclick="javascript: Toggle(this);"href="#!"></a><adata-tochassubtree="true"href="T_AsterNET_FastAGI_AGIScript.htm"title="AGIScript Class"tocid="T_AsterNET_FastAGI_AGIScript">AGIScript Class</a></div><divclass="toclevel1"data-toclevel="1"data-childrenloaded="true"><aclass="tocExpanded"onclick="javascript: Toggle(this);"href="#!"></a><adata-tochassubtree="true"href="Methods_T_AsterNET_FastAGI_AGIScript.htm"title="AGIScript Methods"tocid="Methods_T_AsterNET_FastAGI_AGIScript">AGIScript Methods</a></div><divclass="toclevel2"data-toclevel="2"><adata-tochassubtree="false"href="M_AsterNET_FastAGI_AGIScript_Answer.htm"title="Answer Method "tocid="M_AsterNET_FastAGI_AGIScript_Answer">Answer Method </a></div><divclass="toclevel2"data-toclevel="2"><aclass="tocCollapsed"onclick="javascript: Toggle(this);"href="#!"></a><adata-tochassubtree="true"href="Overload_AsterNET_FastAGI_AGIScript_ControlStreamFile.htm"title="ControlStreamFile Method "tocid="Overload_AsterNET_FastAGI_AGIScript_ControlStreamFile">ControlStreamFile Method </a></div><divclass="toclevel2"data-toclevel="2"><adata-tochassubtree="false"href="M_AsterNET_FastAGI_AGIScript_DatabaseDel.htm"title="DatabaseDel Method "tocid="M_AsterNET_FastAGI_AGIScript_DatabaseDel">DatabaseDel Method </a></div><divclass="toclevel2"data-t
Returns the status of the channel.<br/>
Return values:
<ul><li>0 Channel is down and available</li><li>1 Channel is down, but reserved</li><li>2 Channel is off hook</li><li>3 Digits (or equivalent) have been dialed</li><li>4 Line is ringing</li><li>5 Remote end is ringing</li><li>6 Line is up</li><li>7 Line is busy</li></ul></div><p></p><strong>Namespace:</strong><ahref="N_AsterNET_FastAGI.htm">AsterNET.FastAGI</a><br/><strong>Assembly:</strong>AsterNET (in AsterNET.dll) Version: 1.0.0.0 (1.0.0.0)<divclass="collapsibleAreaRegion"><spanclass="collapsibleRegionTitle"onclick="SectionExpandCollapse('ID1RB')"onkeypress="SectionExpandCollapse_CheckKey('ID1RB', event)"tabindex="0"><imgid="ID1RBToggle"class="collapseToggle"src="../icons/SectionExpanded.png"/>Syntax</span></div><divid="ID1RBSection"class="collapsibleSection"><divclass="codeSnippetContainer"><divclass="codeSnippetContainerTabs"><divid="ID0EDCA_tab1"class="codeSnippetContainerTab"><ahref="#"onclick="javascript:ChangeTab('ID0EDCA','cs','1','4');return false;">C#</a></div><divid="ID0EDCA_tab2"class="codeSnippetContainerTab"><ahref="#"onclick="javascript:ChangeTab('ID0EDCA','vb','2','4');return false;">VB</a></div><divid="ID0EDCA_tab3"class="codeSnippetContainerTab"><ahref="#"onclick="javascript:ChangeTab('ID0EDCA','cpp','3','4');return false;">C++</a></div><divid="ID0EDCA_tab4"class="codeSnippetContainerTab"><ahref="#"onclick="javascript:ChangeTab('ID0EDCA','fs','4','4');return false;">F#</a></div></div><divclass="codeSnippetContainerCodeContainer"><divclass="codeSnippetToolBar"><divclass="codeSnippetToolBarText"><aid="ID0EDCA_copyCode"href="#"onclick="javascript:CopyToClipboard('ID0EDCA');return false;"title="Copy">Copy</a></div></div><divid="ID0EDCA_code_Div1"class="codeSnippetContainerCode"style="display: block"><prexml:space="preserve"><spanclass="keyword">protected</span><spanclass="identifier">int</span><spanclass="identifier">GetChannelStatus</span>()</pre></div><divid="ID0EDCA_code_Div2"class="codeSnippetContainerCode"style="display: none"><prexml:space="preserve"><spanclass="keyword">Protected</span><spanclass="keyword">Function</span><spanclass="identifier">GetChannelStatus</span><spanclass="keyword">As</span><spanclass="identifier">Integer</span></pre></div><divid="ID0EDCA_code_Div3"class="codeSnippetContainerCode"style="display: none"><prexml:space="preserve"><spanclass="keyword">protected</span>:
</pre></div></div></div><scripttype="text/javascript">AddLanguageTabSet("ID0EDCA");</script><h4class="subHeading">Return Value</h4>Type:<ahref="http://msdn2.microsoft.com/en-us/library/td2s409d"target="_blank">Int32</a><br/> the status of the channel.