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

📄 redirectaction.html

📁 关于asterisk的java包
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<CODE>&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/asteriskjava/manager/action/RedirectAction.html#getExtraPriority()">getExtraPriority</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the destination priority for the additional channel.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/asteriskjava/manager/action/RedirectAction.html#getPriority()">getPriority</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the destination priority.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/asteriskjava/manager/action/RedirectAction.html#setChannel(java.lang.String)">setChannel</A></B>(java.lang.String&nbsp;channel)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the name of the channel to redirect.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/asteriskjava/manager/action/RedirectAction.html#setContext(java.lang.String)">setContext</A></B>(java.lang.String&nbsp;context)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the destination context.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/asteriskjava/manager/action/RedirectAction.html#setExten(java.lang.String)">setExten</A></B>(java.lang.String&nbsp;exten)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the destination extension.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/asteriskjava/manager/action/RedirectAction.html#setExtraChannel(java.lang.String)">setExtraChannel</A></B>(java.lang.String&nbsp;extraChannel)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the name of the additional channel to redirect.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/asteriskjava/manager/action/RedirectAction.html#setExtraContext(java.lang.String)">setExtraContext</A></B>(java.lang.String&nbsp;extraContext)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the destination context for the additional channel.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/asteriskjava/manager/action/RedirectAction.html#setExtraExten(java.lang.String)">setExtraExten</A></B>(java.lang.String&nbsp;extraExten)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the destination extension for the additional channel.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/asteriskjava/manager/action/RedirectAction.html#setExtraPriority(java.lang.Integer)">setExtraPriority</A></B>(java.lang.Integer&nbsp;extraPriority)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the destination priority for the additional channel.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/asteriskjava/manager/action/RedirectAction.html#setPriority(java.lang.Integer)">setPriority</A></B>(java.lang.Integer&nbsp;priority)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the destination priority.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_org.asteriskjava.manager.action.AbstractManagerAction"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class org.asteriskjava.manager.action.<A HREF="../../../../org/asteriskjava/manager/action/AbstractManagerAction.html" title="class in org.asteriskjava.manager.action">AbstractManagerAction</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/asteriskjava/manager/action/AbstractManagerAction.html#getActionId()">getActionId</A>, <A HREF="../../../../org/asteriskjava/manager/action/AbstractManagerAction.html#setActionId(java.lang.String)">setActionId</A>, <A HREF="../../../../org/asteriskjava/manager/action/AbstractManagerAction.html#toString()">toString</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="RedirectAction()"><!-- --></A><H3>RedirectAction</H3><PRE>public <B>RedirectAction</B>()</PRE><DL><DD>Creates a new empty RedirectAction.<P></DL><HR><A NAME="RedirectAction(java.lang.String, java.lang.String, java.lang.String, java.lang.Integer)"><!-- --></A><H3>RedirectAction</H3><PRE>public <B>RedirectAction</B>(java.lang.String&nbsp;channel,                      java.lang.String&nbsp;context,                      java.lang.String&nbsp;exten,                      java.lang.Integer&nbsp;priority)</PRE><DL><DD>Creates a new RedirectAction that redirects the given channel to the given context, extension, priority triple.<P><DL><DT><B>Parameters:</B><DD><CODE>channel</CODE> - the name of the channel to redirect<DD><CODE>context</CODE> - the destination context<DD><CODE>exten</CODE> - the destination extension<DD><CODE>priority</CODE> - the destination priority<DT><B>Since:</B></DT>  <DD>0.2</DD></DL></DL><HR><A NAME="RedirectAction(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.Integer)"><!-- --></A><H3>RedirectAction</H3><PRE>public <B>RedirectAction</B>(java.lang.String&nbsp;channel,                      java.lang.String&nbsp;extraChannel,                      java.lang.String&nbsp;context,                      java.lang.String&nbsp;exten,                      java.lang.Integer&nbsp;priority)</PRE><DL><DD>Creates a new RedirectAction that redirects the given channels to the given context, extension, priority triple.<p> This constructor only works standard versions of Asterisk, i.e. non-BRIstuffed versions. When used with a BRIstuffed version (and not setting extraContext, extraExten and extraPriority) the second channel is just hung up.<P><DL><DT><B>Parameters:</B><DD><CODE>channel</CODE> - the name of the first channel to redirect<DD><CODE>extraChannel</CODE> - the name of the second channel to redirect<DD><CODE>context</CODE> - the destination context<DD><CODE>exten</CODE> - the destination extension<DD><CODE>priority</CODE> - the destination priority<DT><B>Since:</B></DT>  <DD>0.2</DD></DL></DL><HR><A NAME="RedirectAction(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.Integer, java.lang.String, java.lang.String, java.lang.Integer)"><!-- --></A><H3>RedirectAction</H3><PRE>public <B>RedirectAction</B>(java.lang.String&nbsp;channel,                      java.lang.String&nbsp;extraChannel,                      java.lang.String&nbsp;context,                      java.lang.String&nbsp;exten,                      java.lang.Integer&nbsp;priority,                      java.lang.String&nbsp;extraContext,                      java.lang.String&nbsp;extraExten,                      java.lang.Integer&nbsp;extraPriority)</PRE><DL><DD>Creates a new RedirectAction that redirects the given channels to the given context, extension, priority triples.<p> This constructor works for BRIstuffed versions of Asterisk, if used with a standard version the extraContext, extraExten and extraPriroity attributes are ignored.<P><DL><DT><B>Parameters:</B><DD><CODE>channel</CODE> - the name of the first channel to redirect<DD><CODE>extraChannel</CODE> - the name of the second channel to redirect<DD><CODE>context</CODE> - the destination context for the first channel<DD><CODE>exten</CODE> - the destination extension for the first channel<DD><CODE>priority</CODE> - the destination priority for the first channel<DD><CODE>extraContext</CODE> - the destination context for the second channel<DD><CODE>extraExten</CODE> - the destination extension for the second channel<DD><CODE>extraPriority</CODE> - the destination priority for the second channel<DT><B>Since:</B></DT>  <DD>0.3</DD></DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getAction()"><!-- --></A><H3>getAction</H3><PRE>public java.lang.String <B>getAction</B>()</PRE><DL><DD>Returns the name of this action, i.e. "Redirect".<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/asteriskjava/manager/action/ManagerAction.html#getAction()">getAction</A></CODE> in interface <CODE><A HREF="../../../../org/asteriskjava/manager/action/ManagerAction.html" title="interface in org.asteriskjava.manager.action">ManagerAction</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/asteriskjava/manager/action/AbstractManagerAction.html#getAction()">getAction</A></CODE> in class <CODE><A HREF="../../../../org/asteriskjava/manager/action/AbstractManagerAction.html" title="class in org.asteriskjava.manager.action">AbstractManagerAction</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getChannel()"><!-- --></A><H3>getChannel</H3><PRE>public java.lang.String <B>getChannel</B>()</PRE><DL><DD>Returns name of the channel to redirect.<P><DD><DL><DT><B>Returns:</B><DD>the name of the channel to redirect</DL></DD></DL><HR><A NAME="setChannel(java.lang.String)"><!-- --></A><H3>setChannel</H3><PRE>public void <B>setChannel</B>(java.lang.String&nbsp;channel)</PRE><DL><DD>Sets the name of the channel to redirect.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>channel</CODE> - the name of the channel to redirect</DL></DD></DL><HR><A NAME="getExtraChannel()"><!-- --></A><H3>getExtraChannel</H3><PRE>public java.lang.String <B>getExtraChannel</B>()</PRE><DL><DD>Returns the name of the additional channel to redirect.<P><DD><DL><DT><B>Returns:</B><DD>the name of the additional channel to redirect</DL>

⌨️ 快捷键说明

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