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

📄 java.telephony.callcontrol.callcontrolforwarding.html

📁 JTAPI_html 用于JTAPI的HTML文档.
💻 HTML
字号:
<!--NewPage--><html><head><!-- Generated by javadoc on Fri Feb 07 16:42:30 PST 1997 --><a name="_top_"></a><title>  Class java.telephony.callcontrol.CallControlForwarding</title></head><body><pre><a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.telephony.callcontrol.html">This Package</a>  <a href="Package-java.telephony.callcontrol.html">Previous</a>  <a href="Package-java.telephony.callcontrol.html">Next</a>  <a href="AllNames.html">Index</a></pre><hr><h1>  Class java.telephony.callcontrol.CallControlForwarding</h1><pre><a href="java.lang.Object.html#_top_">java.lang.Object</a>   |   +----java.telephony.callcontrol.CallControlForwarding</pre><hr><dl>  <dt> public class <b>CallControlForwarding</b>  <dt> extends <a href="java.lang.Object.html#_top_">Object</a></dl>The CallControlForwarding class represents a "forwarding instruction".This instruction tells how the switch should forward incoming telephonecall to a specific address. There are several attributes to a forwardinginstruction. <p>The first attribute is it "type". The forwarding instruction's type tellsthe switch when the forward the call. There are currently three types ofinstructions: telling the switch to always forwarding incoming calls,telling the switch to forward incoming calls when the address is busy, andtelling the switch to forward incoming calls when no one answers.<p>The second attribute of a forwarding instruction is its "filter". The filterindicates which type of incoming calls should this forwarding instructionapply. This forwarding instruction can apply to all call, to external callsonly, to internal calls only, or to a specific calling address.<hr><a name="index"></a><h2>  <img src="images/variable-index.gif" width=207 height=38 alt="Variable Index"></h2><dl>  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#ALL_CALLS"><b>ALL_CALLS</b></a>  <dd> Forwarding filter: apply instruction to all incomingcalls  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#EXTERNAL_CALLS"><b>EXTERNAL_CALLS</b></a>  <dd> Forwarding filter: apply instruction to calls originating from outside the provider domain  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#FORWARD_ON_BUSY"><b>FORWARD_ON_BUSY</b></a>  <dd> Forwarding type: forward calls on busy  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#FORWARD_ON_NOANSWER"><b>FORWARD_ON_NOANSWER</b></a>  <dd> Forwarding type: forward calls on no answer  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#FORWARD_UNCONDITIONALLY"><b>FORWARD_UNCONDITIONALLY</b></a>  <dd> Forwarding type: forward calls unconditionally  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#INTERNAL_CALLS"><b>INTERNAL_CALLS</b></a>  <dd> Forwarding filter: apply instruction to calls originating from the provider domain  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#SPECIFIC_ADDRESS"><b>SPECIFIC_ADDRESS</b></a>  <dd> Forwarding filter: apply instruction to calls originating from a specific address</dl><h2>  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index"></h2><dl>  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#CallControlForwarding()"><b>CallControlForwarding</b></a>()  <dd> </dl><h2>  <img src="images/method-index.gif" width=207 height=38 alt="Method Index"></h2><dl>  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#CallControlForwarding(java.lang.String)"><b>CallControlForwarding</b></a>(String)  <dd> This constructor is the default constructor, which only takes theaddress to apply this forwarding instruction.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#CallControlForwarding(java.lang.String, int)"><b>CallControlForwarding</b></a>(String, int)  <dd> This constructor takes the address to apply this forwarding instructionand the type of fowarding for all incoming calls.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#CallControlForwarding(java.lang.String, int, boolean)"><b>CallControlForwarding</b></a>(String, int, boolean)  <dd> This constructor takes the address to aplly this forwarding instruction,the type of forwarding desired for this address, and a boolean flagindicating whether this instruction should apply to internal (true) or external (false) calls.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#CallControlForwarding(java.lang.String, int, java.lang.String)"><b>CallControlForwarding</b></a>(String, int, String)  <dd> This constructor takes an address to apply the forwarding instructionfor a specific incoming telephone call, identified by a string address.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getDestinationAddress()"><b>getDestinationAddress</b></a>()  <dd> Returns the destination address of this forwarding instruction.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getFilter()"><b>getFilter</b></a>()  <dd> Returns the filter of this forwarding instruction.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getSpecificCaller()"><b>getSpecificCaller</b></a>()  <dd> If the filter for this forwarding instruction is SPECIFIC_ADDRESS, thenthis method returns that calling address to which this filter applies.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getType()"><b>getType</b></a>()  <dd> Returns the type of this forwarding instruction, either unconditionally,upon no answer, or upon busy.</dl><a name="variables"></a><h2>  <img src="images/variables.gif" width=153 height=38 alt="Variables"></h2><a name="ALL_CALLS"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ALL_CALLS</b><pre>  public final static int ALL_CALLS</pre><dl>  <dd> Forwarding filter: apply instruction to all incomingcalls</dl><a name="INTERNAL_CALLS"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>INTERNAL_CALLS</b><pre>  public final static int INTERNAL_CALLS</pre><dl>  <dd> Forwarding filter: apply instruction to calls originating from the provider domain</dl><a name="EXTERNAL_CALLS"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>EXTERNAL_CALLS</b><pre>  public final static int EXTERNAL_CALLS</pre><dl>  <dd> Forwarding filter: apply instruction to calls originating from outside the provider domain</dl><a name="SPECIFIC_ADDRESS"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>SPECIFIC_ADDRESS</b><pre>  public final static int SPECIFIC_ADDRESS</pre><dl>  <dd> Forwarding filter: apply instruction to calls originating from a specific address</dl><a name="FORWARD_UNCONDITIONALLY"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>FORWARD_UNCONDITIONALLY</b><pre>  public final static int FORWARD_UNCONDITIONALLY</pre><dl>  <dd> Forwarding type: forward calls unconditionally</dl><a name="FORWARD_ON_BUSY"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>FORWARD_ON_BUSY</b><pre>  public final static int FORWARD_ON_BUSY</pre><dl>  <dd> Forwarding type: forward calls on busy</dl><a name="FORWARD_ON_NOANSWER"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>FORWARD_ON_NOANSWER</b><pre>  public final static int FORWARD_ON_NOANSWER</pre><dl>  <dd> Forwarding type: forward calls on no answer</dl><a name="constructors"></a><h2>  <img src="images/constructors.gif" width=231 height=38 alt="Constructors"></h2><a name="CallControlForwarding"></a><a name="CallControlForwarding()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a><b>CallControlForwarding</b><pre>  public CallControlForwarding()</pre><a name="methods"></a><h2>  <img src="images/methods.gif" width=151 height=38 alt="Methods"></h2><a name="CallControlForwarding(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="CallControlForwarding"><b>CallControlForwarding</b></a><pre>  public void CallControlForwarding(<a href="java.lang.String.html#_top_">String</a> destAddress)</pre><dl>  <dd> This constructor is the default constructor, which only takes theaddress to apply this forwarding instruction. The forwarding instructionforwards all call unconditionally.</dl><a name="CallControlForwarding(java.lang.String, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="CallControlForwarding"><b>CallControlForwarding</b></a><pre>  public void CallControlForwarding(<a href="java.lang.String.html#_top_">String</a> destAddress,                                    int type)</pre><dl>  <dd> This constructor takes the address to apply this forwarding instructionand the type of fowarding for all incoming calls.</dl><a name="CallControlForwarding(java.lang.String, int, boolean)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="CallControlForwarding"><b>CallControlForwarding</b></a><pre>  public void CallControlForwarding(<a href="java.lang.String.html#_top_">String</a> destAddress,                                    int type,                                    boolean internalCalls)</pre><dl>  <dd> This constructor takes the address to aplly this forwarding instruction,the type of forwarding desired for this address, and a boolean flagindicating whether this instruction should apply to internal (true) or external (false) calls.</dl><a name="CallControlForwarding(java.lang.String, int, java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="CallControlForwarding"><b>CallControlForwarding</b></a><pre>  public void CallControlForwarding(<a href="java.lang.String.html#_top_">String</a> destAddress,                                    int type,                                    <a href="java.lang.String.html#_top_">String</a> caller)</pre><dl>  <dd> This constructor takes an address to apply the forwarding instructionfor a specific incoming telephone call, identified by a string address.It also takes the type of forwarding desired for this specific address.</dl><a name="getDestinationAddress()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getDestinationAddress"><b>getDestinationAddress</b></a><pre>  public <a href="java.lang.String.html#_top_">String</a> getDestinationAddress()</pre><dl>  <dd> Returns the destination address of this forwarding instruction.<p>  <dl>    <dt> <b>Returns:</b>    <dd> The destination address of this forwarding instruction.  </dl></dl><a name="getType()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getType"><b>getType</b></a><pre>  public int getType()</pre><dl>  <dd> Returns the type of this forwarding instruction, either unconditionally,upon no answer, or upon busy.<p>  <dl>    <dt> <b>Returns:</b>    <dd> The type of this forwarding instruction.  </dl></dl><a name="getFilter()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getFilter"><b>getFilter</b></a><pre>  public int getFilter()</pre><dl>  <dd> Returns the filter of this forwarding instruction. The filter indicateswhich calls should triger this forwarding instruction. Filters include:applying this instruction to all calls, to only internal calls, to onlyexternal call, or for calls from a specific address.<p>  <dl>    <dt> <b>Returns:</b>    <dd> The filter for this forwarding instruction.  </dl></dl><a name="getSpecificCaller()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getSpecificCaller"><b>getSpecificCaller</b></a><pre>  public <a href="java.lang.String.html#_top_">String</a> getSpecificCaller()</pre><dl>  <dd> If the filter for this forwarding instruction is SPECIFIC_ADDRESS, thenthis method returns that calling address to which this filter applies.If the filter is something other than SPECIFIC_ADDRESS, this methodreturns null.<p>  <dl>    <dt> <b>Returns:</b>    <dd> The specific address for this forwarding instruction.  </dl></dl><hr><pre><a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.telephony.callcontrol.html">This Package</a>  <a href="Package-java.telephony.callcontrol.html">Previous</a>  <a href="Package-java.telephony.callcontrol.html">Next</a>  <a href="AllNames.html">Index</a></pre></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -