?? constnts_3243.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>LINECALLREASON_ Constants</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HKWD" CONTENT="LINECALLREASON_ Constants">
<META NAME="MS-HAID" CONTENT="_tapi2_linecallreason__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_linecallreason__constants"></A>LINECALLREASON_ Constants</H1>
<P>The LINECALLREASON_ bit-flag constants describe the reason for a call.
<DL>
<DT>LINECALLREASON_CALLCOMPLETION </DT>
<DD>The call was the result of a call completion request. </DD>
<DT>LINECALLREASON_CAMPEDON </DT>
<DD>The call was camped on the address. Usually, it appears initially in the <I>onhold</I> state, and can be switched to using <A HREF="func2_4rxg.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_4rxg.htm"><B>lineSwapHold</B></A>. If an active call becomes <I>idle</I>, the camped-on call may change to the <I>offering</I> state and the device start ringing. </DD>
<DT>LINECALLREASON_DIRECT </DT>
<DD>This is a direct incoming or outgoing call. </DD>
<DT>LINECALLREASON_FWDBUSY </DT>
<DD>This call was forwarded from another extension that was busy at the time of the call. </DD>
<DT>LINECALLREASON_FWDNOANSWER </DT>
<DD>The call was forwarded from another extension that didn't answer the call after some number of rings. </DD>
<DT>LINECALLREASON_FWDUNCOND </DT>
<DD>The call was forwarded unconditionally from another number. </DD>
<DT>LINECALLREASON_INTRUDE </DT>
<DD>The call intruded onto the line, either by a call completion action invoked by another station or by operator action. Depending on switch implementation, the call may appear either in the <I>connected</I> state, or <I>conferenced</I> with an existing active call on the line. </DD>
<DT>LINECALLREASON_PARKED </DT>
<DD>The call was parked on the address. Usually, it appears initially in the <I>onhold</I> state. </DD>
<DT>LINECALLREASON_PICKUP </DT>
<DD>The call was picked up from another extension. </DD>
<DT>LINECALLREASON_REDIRECT </DT>
<DD>The call was redirected to this station. </DD>
<DT>LINECALLREASON_REMINDER </DT>
<DD>The call is a reminder (or "recall") that the user has a call parked or on hold for (potentially) a long time. </DD>
<DT>LINECALLREASON_ROUTEREQUEST </DT>
<DD>The call appears on the address because the switch needs routing instructions from the application. The application should examine the <B>CalledID</B> member in <A HREF="struc1_4oky.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_4oky.htm"><B>LINECALLINFO</B></A>, and use the <A HREF="func2_0yt0.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_0yt0.htm"><B>lineRedirect</B></A> function to provide a new dialable address for the call. If the call is to be blocked instead, the application may call <A HREF="func1_1i5s.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_1i5s.htm"><B>lineDrop</B></A>. If the application fails to take action within a switch-defined timeout period, a default action will be taken. A service provider can use this constant only if the negotiated version on the line is 2.0 or higher. Otherwise the service provider should substitute LINECALLREASON_UNAVAIL.</DD>
<DT>LINECALLREASON_TRANSFER </DT>
<DD>The call has been transferred from another number. </DD>
<DT>LINECALLREASON_UNAVAIL </DT>
<DD>The reason for the call is unavailable and will not become known later. </DD>
<DT>LINECALLREASON_UNKNOWN </DT>
<DD>The reason for the call is currently unknown but may become known later. </DD>
<DT>LINECALLREASON_UNPARK </DT>
<DD>The call was retrieved as a parked call.
</DD>
</DL>
<P>No extensibility. All 32 bits are reserved. </P>
<P>The LINECALLREASON_ constants are used in the <B>dwReason</B> member of the <A HREF="struc1_4oky.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_4oky.htm"><B>LINECALLINFO</B></A> data structure. </P>
<H4><A HREF="javascript:if(confirm('http://msdn.microsoft.com/library/psdk/sdkintro/guide_927n.htm \n\n這個(gè)文件不能通過 Teleport Pro 取回, 因?yàn)?地址在一個(gè)域或?yàn)樗拈_始地址設(shè)定的邊界的外部路徑上. \n\n你想從服務(wù)器打開它嗎?'))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="struc1_4oky.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_4oky.htm"><B>LINECALLINFO</B></A>, <A HREF="func1_1i5s.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_1i5s.htm"><B>lineDrop</B></A>, <A HREF="func2_0yt0.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_0yt0.htm"><B>lineRedirect</B></A>, <A HREF="func2_4rxg.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_4rxg.htm"><B>lineSwapHold</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這個(gè)文件不能通過 Teleport Pro 取回, 因?yàn)?地址在一個(gè)域或?yàn)樗拈_始地址設(shè)定的邊界的外部路徑上. \n\n你想從服務(wù)器打開它嗎?'))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>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -