?? constnts_6t0z.htm
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML DIR="LTR"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso8859-1">
</HEAD>
<TITLE>LINECALLSTATE_ Constants</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HKWD" CONTENT="LINECALLSTATE_ Constants">
<META NAME="MS-HAID" CONTENT="_tapi2_linecallstate__constants">
</HEAD>
<BODY TOPMARGIN="0">
<!--TOOLBAR_START-->
<!--TOOLBAR_EXEMPT-->
<!--TOOLBAR_END-->
<!--SYNC_START-->
<script language="JavaScript" src='/library/synch.js'></script>
<!--SYNC_END-->
<H1><A NAME="_tapi2_linecallstate__constants"></A>LINECALLSTATE_ Constants</H1>
<P>The LINECALLSTATE_ bit-flag constants describe the call states a call can be in.
<DL>
<DT>LINECALLSTATE_ACCEPTED </DT>
<DD>The call was in the offering state and has been accepted. This indicates to other (monitoring) applications that the current owner application has claimed responsibility for answering the call. In ISDN, the <I>accepted</I> state is entered when the called-party equipment sends a message to the switch indicating that it is willing to present the call to the called person. This has the side effect of alerting (ringing) the users at both ends of the call. An incoming call can always be immediately answered without first being separately accepted. </DD>
<DT>LINECALLSTATE_BUSY </DT>
<DD>The call is receiving a busy tone. A busy tone indicates that the call cannot be completed梕ither a circuit (trunk) or the remote party's station are in use. See <A HREF="constnts_4q5v.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_4q5v.htm">LINEBUSYMODE_ Constants</A>.</DD>
<DT>LINECALLSTATE_CONFERENCED </DT>
<DD>The call is a member of a conference call and is logically in the connected state. </DD>
<DT>LINECALLSTATE_CONNECTED </DT>
<DD>The call has been established and the connection is made. Information is able to flow over the call between the originating address and the destination address. </DD>
<DT>LINECALLSTATE_DIALING </DT>
<DD>The originator is dialing digits on the call. The dialed digits are collected by the switch. Note that neither <A HREF="func1_8ir7.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_8ir7.htm"><B>lineGenerateDigits</B></A> nor <A HREF="javascript:if(confirm('http://msdn.microsoft.com/library/psdk/tspi21/func1_4m7n.htm \n\n這個文件不能通過 Teleport Pro 取回, 因為 地址在一個域或為它的開始地址設定的邊界的外部路徑上. \n\n你想從服務器打開它嗎?'))window.location='http://msdn.microsoft.com/library/psdk/tspi21/func1_4m7n.htm'" tppabs="http://msdn.microsoft.com/library/psdk/tspi21/func1_4m7n.htm"><B>TSPI_lineGenerateDigits</B></A> will place the line into the <I>dialing</I> state.</DD>
<DT>LINECALLSTATE_DIALTONE </DT>
<DD>The call is receiving a dial tone from the switch, which means that the switch is ready to receive a dialed number. See <A HREF="constnts_2dbn.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_2dbn.htm">LINEDIALTONEMODE_ Constants</A> for identifiers of special dial tones, such as a stutter tone of normal voice mail.</DD>
<DT>LINECALLSTATE_DISCONNECTED </DT>
<DD>The remote party has disconnected from the call. </DD>
<DT>LINECALLSTATE_IDLE </DT>
<DD>The call exists but has not been connected. No activity exists on the call, which means that no call is currently active. A call can never transition out of the idle state.</DD>
<DT>LINECALLSTATE_OFFERING </DT>
<DD>The call is being offered to the station, signaling the arrival of a new call. The offering state is not the same as causing a phone or computer to ring. In some environments, a call in the offering state does not ring the user until the switch instructs the line to ring. An example use might be where an incoming call appears on several station sets but only the primary address rings. The instruction to ring does not affect any call states.</DD>
<DT>LINECALLSTATE_ONHOLD </DT>
<DD>The call is on hold by the switch. This frees the physical line, which allows another call to use the line. </DD>
<DT>LINECALLSTATE_ONHOLDPENDCONF </DT>
<DD>The call is currently on hold while it is being added to a conference. </DD>
<DT>LINECALLSTATE_ONHOLDPENDTRANSFER </DT>
<DD>The call is currently on hold awaiting transfer to another number. </DD>
<DT>LINECALLSTATE_PROCEEDING </DT>
<DD>Dialing has completed and the call is proceeding through the switch or telephone network. This occurs after dialing is complete and before the call reaches the dialed party, as indicated by ringback, busy, or answer. </DD>
<DT>LINECALLSTATE_RINGBACK </DT>
<DD>The station to be called has been reached, and the destination's switch is generating a ring tone back to the originator. A <I>ringback</I> means that the destination address is being alerted to the call. </DD>
<DT>LINECALLSTATE_SPECIALINFO </DT>
<DD>The call is receiving a special information signal, which precedes a prerecorded announcement indicating why a call cannot be completed. See <A HREF="constnts_812r.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_812r.htm">LINESPECIALINFO_ Constants</A>.</DD>
<DT>LINECALLSTATE_UNKNOWN </DT>
<DD>The call exists, but its state is currently unknown. This may be the result of poor call progress detection by the service provider. A call state message with the call state set to unknown may also be generated to inform the TAPI DLL about a new call at a time when the actual call state of the call is not exactly known.
</DD>
</DL>
<P>The high-order 8 bits can define a device-specific substate of any of the predefined states, provided that one of the LINECALLSTATE_ bits defined above is also set. The low-order 24 bits are reserved for predefined states. </P>
<P>The LINECALLSTATE_ constants are used as parameters by the <A HREF="msgs_1xid.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/msgs_1xid.htm">LINE_CALLSTATE</A> message sent to the application. The message carries the new call state that the call transitioned to. These constants are also used as members in the <A HREF="struc1_7vxu.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_7vxu.htm"><B>LINECALLSTATUS</B></A> structure returned by the <A HREF="func1_7iur.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_7iur.htm"><B>lineGetCallStatus</B></A> function. </P>
<H4><A HREF="javascript:if(confirm('http://msdn.microsoft.com/library/psdk/sdkintro/guide_927n.htm \n\n這個文件不能通過 Teleport Pro 取回, 因為 地址在一個域或為它的開始地址設定的邊界的外部路徑上. \n\n你想從服務器打開它嗎?'))window.location='http://msdn.microsoft.com/library/psdk/sdkintro/guide_927n.htm'" tppabs="http://msdn.microsoft.com/library/psdk/sdkintro/guide_927n.htm">Requirements</A> </H4>
<P><B> Windows NT/2000: </B>Requires Windows NT 4.0 SP3 or later.<BR>
<B> Windows 95/98: </B>Requires Windows 95 or later.<BR>
<B> Version: </B>Requires TAPI 2.0 or later.<BR>
<B> Header: </B>Declared in Tapi.h.</P>
<H4>See Also</H4>
<P><A HREF="msgs_1xid.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/msgs_1xid.htm">LINE_CALLSTATE</A>, <A HREF="struc1_7vxu.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_7vxu.htm"><B>LINECALLSTATUS</B></A>, <A HREF="func1_8ir7.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_8ir7.htm"><B>lineGenerateDigits</B></A>, <A HREF="func1_7iur.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_7iur.htm"><B>lineGetCallStatus</B></A></P>
<DIV CLASS="footer">Built on Monday, August 14, 2000</DIV>
<!--FOOTER_START-->
<DIV CLASS="footer" STYLE="color:#000000;font-size:90%;">
<A HREF="mailto:sdkfdbk@microsoft.com">Send feedback</A> to the Platform SDK.</P>
<P><A HREF="javascript:if(confirm('http://msdn.microsoft.com/isapi/gomscom.asp?TARGET=/info/cpyright.htm \n\n這個文件不能通過 Teleport Pro 取回, 因為 地址在一個域或為它的開始地址設定的邊界的外部路徑上. \n\n你想從服務器打開它嗎?'))window.location='http://msdn.microsoft.com/isapi/gomscom.asp?TARGET=/info/cpyright.htm'" tppabs="http://msdn.microsoft.com/isapi/gomscom.asp?TARGET=/info/cpyright.htm" TARGET="_top">© 1999 Microsoft Corporation. All rights reserved. Terms of use.</A></P>
</DIV>
<!--FOOTER_END-->
</BODY>
</HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -