⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 constnts_05pv.htm

📁 TAPI Exampple
💻 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>LINEFORWARDMODE_ Constants</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HKWD" CONTENT="LINEFORWARDMODE_ Constants">
<META NAME="MS-HAID" CONTENT="_tapi2_lineforwardmode__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_lineforwardmode__constants"></A>LINEFORWARDMODE_ Constants</H1>

<P>The LINEFORWARDMODE_ bit-flag constants describe the conditions under which calls to an address can be forwarded. 

<DL>
<DT>LINEFORWARDMODE_BUSY </DT>

<DD>Forward all calls on busy, irrespective of their origin. Use this value when forwarding for internal and external calls on busy and on no answer cannot be controlled separately. </DD>

<DT>LINEFORWARDMODE_BUSYEXTERNAL </DT>

<DD>Forward all external calls on busy. Use this value when forwarding for internal and external calls on busy and on no answer can be controlled separately. </DD>

<DT>LINEFORWARDMODE_BUSYINTERNAL </DT>

<DD>Forward all internal calls on busy. Use this value when forwarding for internal and external calls on busy and on no answer can be controlled separately. </DD>

<DT>LINEFORWARDMODE_BUSYNA </DT>

<DD>Forward all calls on busy/no answer, irrespective of their origin. Use this value when forwarding for internal and external calls on busy and on no answer cannot be controlled separately. </DD>

<DT>LINEFORWARDMODE_BUSYNAEXTERNAL </DT>

<DD>Forward all external calls on busy/no answer. Use this value when call forwarding on busy and on no answer cannot be controlled separately for internal calls. </DD>

<DT>LINEFORWARDMODE_BUSYNAINTERNAL </DT>

<DD>Forward all internal calls on busy/no answer. Use this value when call forwarding on busy and on no answer cannot be controlled separately for internal calls. </DD>

<DT>LINEFORWARDMODE_BUSYNASPECIFIC </DT>

<DD>Forward on busy/no answer all calls that originated at a specified address (selective call forwarding). </DD>

<DT>LINEFORWARDMODE_BUSYSPECIFIC </DT>

<DD>Forward on busy all calls that originated at a specified address (selective call forwarding). </DD>

<DT>LINEFORWARDMODE_NOANSW </DT>

<DD>Forward all calls on no answer, irrespective of their origin. Use this value when call forwarding for internal and external calls on no answer cannot be controlled separately. </DD>

<DT>LINEFORWARDMODE_NOANSWEXTERNAL </DT>

<DD>Forward all external calls on no answer. Use this value when forwarding for internal and external calls on no answer can be controlled separately. </DD>

<DT>LINEFORWARDMODE_NOANSWINTERNAL </DT>

<DD>Forward all internal calls on no answer. Use this value when forwarding for internal and external calls on no answer can be controlled separately. </DD>

<DT>LINEFORWARDMODE_NOANSWSPECIFIC </DT>

<DD>Forward on no answer all calls that originated at a specified address (selective call forwarding). </DD>

<DT>LINEFORWARDMODE_UNAVAIL </DT>

<DD>Calls are forwarded, but the conditions under which forwarding will occur are not known, and will never be known by the service provider. (TAPI versions 1.4 and later)</DD>

<DT>LINEFORWARDMODE_UNCOND </DT>

<DD>Forward all calls unconditionally, irrespective of their origin. Use this value when unconditional forwarding for internal and external calls cannot be controlled separately. Unconditional forwarding overrides forwarding on busy and/or no answer conditions. </DD>

<DT>LINEFORWARDMODE_UNCONDEXTERNAL </DT>

<DD>Forward all external calls unconditionally. Use this value when unconditional forwarding for internal and external calls can be controlled separately. </DD>

<DT>LINEFORWARDMODE_UNCONDINTERNAL </DT>

<DD>Forward all internal calls unconditionally. Use this value when unconditional forwarding for internal and external calls can be controlled separately. </DD>

<DT>LINEFORWARDMODE_UNCONDSPECIFIC </DT>

<DD>Unconditionally forward all calls that originated at a specified address (selective call forwarding). </DD>

<DT>LINEFORWARDMODE_UNKNOWN </DT>

<DD>Calls are forwarded, but the conditions under which forwarding will occur are not known at this time. It is possible that the conditions may become known at a future time. (TAPI versions 1.4 and later)
</DD>
</DL>

<P>No extensibility. All 32 bits are reserved. </P>

<P>The bit flags defined by LINEFORWARDMODE_ are not orthogonal. Unconditional forwarding ignores any specific condition such as busy or no answer. If unconditional forwarding is not in effect, then forwarding on busy and on no answer can be controlled separately or not separately. If controlled separately, the LINEFORWARDMODE_BUSY and LINEFORWARDMODE_NOANSW flags can be used separately. If not controlled separately, the flag LINEFORWARDMODE_BUSYNA must be used. Similarly, if forwarding of internal and external calls can be controlled separately, then LINEFORWARDMODE_INTERNAL and LINEFORWARDMODE_EXTERNAL flags can be used separately; otherwise the combination is used. </P>

<P>Address capabilities indicate which forwarding modes are available for each address assigned to a line. An application can use <A HREF="func1_36jo.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_36jo.htm"><B>lineForward</B></A> to set forwarding conditions at the switch. </P>

<P>For backward compatibility, it is the responsibility of the service provider to examine the negotiated API version on the line, and to not use these LINEFORWARDMODE_ values if the negotiated version does not support them. </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>&nbsp;&nbsp;Windows NT/2000: </B>Requires Windows NT 4.0 SP3 or later.<BR>
<B>&nbsp;&nbsp;Windows 95/98: </B>Requires Windows 95 or later.<BR>
<B>&nbsp;&nbsp;Version: </B>Requires TAPI 2.0 or later.<BR>
<B>&nbsp;&nbsp;Header: </B>Declared in Tapi.h.</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">&#169; 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 + -