📄 agirequest.html
字号:
<PRE>java.lang.Integer <B>getPriority</B>()</PRE><DL><DD>Returns the priority of the dial plan entry the AGI script was called from.<P><DD><DL><DT><B>Returns:</B><DD>the priority of the dial plan entry the AGI script was called from.</DL></DD></DL><HR><A NAME="getEnhanced()"><!-- --></A><H3>getEnhanced</H3><PRE>java.lang.Boolean <B>getEnhanced</B>()</PRE><DL><DD>Returns wheather this agi is passed audio (EAGI - Enhanced AGI).<p> Enhanced AGI is currently not supported on FastAGI.<P><DD><DL><DT><B>Returns:</B><DD>Boolean.TRUE if this agi is passed audio, Boolean.FALSE otherwise.</DL></DD></DL><HR><A NAME="getAccountCode()"><!-- --></A><H3>getAccountCode</H3><PRE>java.lang.String <B>getAccountCode</B>()</PRE><DL><DD>Returns the account code set for the call.<P><DD><DL><DT><B>Returns:</B><DD>the account code set for the call.</DL></DD></DL><HR><A NAME="getCallingPres()"><!-- --></A><H3>getCallingPres</H3><PRE>java.lang.Integer <B>getCallingPres</B>()</PRE><DL><DD>Returns the Callerid presentation/screening.<p> Available since Asterisk 1.2.<P><DD><DL><DT><B>Returns:</B><DD>the Callerid presentation/screening.<DT><B>Since:</B></DT> <DD>0.2</DD></DL></DD></DL><HR><A NAME="getCallingAni2()"><!-- --></A><H3>getCallingAni2</H3><PRE>java.lang.Integer <B>getCallingAni2</B>()</PRE><DL><DD>Returns the Callerid ANI 2 (Info digits).<p> Available since Asterisk 1.2.<P><DD><DL><DT><B>Returns:</B><DD>the Callerid ANI 2 (Info digits).<DT><B>Since:</B></DT> <DD>0.2</DD></DL></DD></DL><HR><A NAME="getCallingTon()"><!-- --></A><H3>getCallingTon</H3><PRE>java.lang.Integer <B>getCallingTon</B>()</PRE><DL><DD>Returns the Callerid Type of Number.<p> Available since Asterisk 1.2.<P><DD><DL><DT><B>Returns:</B><DD>the Callerid Type of Number.<DT><B>Since:</B></DT> <DD>0.2</DD></DL></DD></DL><HR><A NAME="getCallingTns()"><!-- --></A><H3>getCallingTns</H3><PRE>java.lang.Integer <B>getCallingTns</B>()</PRE><DL><DD>Returns the Callerid Transit Network Select.<p> Available since Asterisk 1.2.<P><DD><DL><DT><B>Returns:</B><DD>the Callerid Transit Network Select.<DT><B>Since:</B></DT> <DD>0.2</DD></DL></DD></DL><HR><A NAME="getParameter(java.lang.String)"><!-- --></A><H3>getParameter</H3><PRE>java.lang.String <B>getParameter</B>(java.lang.String name)</PRE><DL><DD>Returns the value of a request parameter as a String, or <code>null</code> if the parameter does not exist. You should only use this method when you are sure the parameter has only one value.<p> If the parameter might have more than one value, use <A HREF="../../../org/asteriskjava/fastagi/AgiRequest.html#getParameterValues(java.lang.String)"><CODE>getParameterValues(String)</CODE></A>.<p> If you use this method with a multivalued parameter, the value returned is equal to the first value in the array returned by <code>getParameterValues</code>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - a String containing the name of the parameter whose value is requested.<DT><B>Returns:</B><DD>a String representing the single value of the parameter.<DT><B>See Also:</B><DD><A HREF="../../../org/asteriskjava/fastagi/AgiRequest.html#getParameterValues(java.lang.String)"><CODE>getParameterValues(String)</CODE></A></DL></DD></DL><HR><A NAME="getParameterValues(java.lang.String)"><!-- --></A><H3>getParameterValues</H3><PRE>java.lang.String[] <B>getParameterValues</B>(java.lang.String name)</PRE><DL><DD>Returns an array of String objects containing all of the values the given request parameter has, or <code>null</coder> if the parameter does not exist.<p> If the parameter has a single value, the array has a length of 1.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - a String containing the name of the parameter whose value is requested.<DT><B>Returns:</B><DD>an array of String objects containing the parameter's values.</DL></DD></DL><HR><A NAME="getParameterMap()"><!-- --></A><H3>getParameterMap</H3><PRE>java.util.Map <B>getParameterMap</B>()</PRE><DL><DD>Returns a java.util.Map of the parameters of this request.<P><DD><DL><DT><B>Returns:</B><DD>a java.util.Map containing parameter names as keys and parameter values as map values. The keys in the parameter map are of type String. The values in the parameter map are of type String array.</DL></DD></DL><HR><A NAME="getLocalAddress()"><!-- --></A><H3>getLocalAddress</H3><PRE>java.net.InetAddress <B>getLocalAddress</B>()</PRE><DL><DD>Returns the local address this channel, that is the IP address of the AGI server.<P><DD><DL><DT><B>Returns:</B><DD>the local address this channel.<DT><B>Since:</B></DT> <DD>0.2</DD></DL></DD></DL><HR><A NAME="getLocalPort()"><!-- --></A><H3>getLocalPort</H3><PRE>int <B>getLocalPort</B>()</PRE><DL><DD>Returns the local port of this channel, that is the port the AGI server is listening on.<P><DD><DL><DT><B>Returns:</B><DD>the local port of this socket channel.<DT><B>Since:</B></DT> <DD>0.2</DD></DL></DD></DL><HR><A NAME="getRemoteAddress()"><!-- --></A><H3>getRemoteAddress</H3><PRE>java.net.InetAddress <B>getRemoteAddress</B>()</PRE><DL><DD>Returns the remote address of this channel, that is the IP address of the Asterisk server.<P><DD><DL><DT><B>Returns:</B><DD>the remote address of this channel.<DT><B>Since:</B></DT> <DD>0.2</DD></DL></DD></DL><HR><A NAME="getRemotePort()"><!-- --></A><H3>getRemotePort</H3><PRE>int <B>getRemotePort</B>()</PRE><DL><DD>Returns the remote port of this channel, that is the client port the Asterisk server is using for the AGI connection.<P><DD><DL><DT><B>Returns:</B><DD>the remote port of this channel.<DT><B>Since:</B></DT> <DD>0.2</DD></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AgiRequest.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>Asterisk-Java</EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../org/asteriskjava/fastagi/AgiOperations.html" title="class in org.asteriskjava.fastagi"><B>PREV CLASS</B></A> <A HREF="../../../org/asteriskjava/fastagi/AgiScript.html" title="interface in org.asteriskjava.fastagi"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?org/asteriskjava/fastagi/AgiRequest.html" target="_top"><B>FRAMES</B></A> <A HREF="AgiRequest.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 2004-2007 Stefan Reuter. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -