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

📄 agirequest.html

📁 关于asterisk的java包
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<TD><CODE><B><A HREF="../../../org/asteriskjava/fastagi/AgiRequest.html#getRdnis()">getRdnis</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If this call has been forwared, the number of the person doing the redirect is returned (Redirected dialed number identification service).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.net.InetAddress</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/asteriskjava/fastagi/AgiRequest.html#getRemoteAddress()">getRemoteAddress</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the remote address of this channel, that is the IP address of the Asterisk server.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/asteriskjava/fastagi/AgiRequest.html#getRemotePort()">getRemotePort</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the remote port of this channel, that is the client port the Asterisk server is using for the AGI connection.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.util.Map</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/asteriskjava/fastagi/AgiRequest.html#getRequest()">getRequest</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a Map containing the raw request name/value pairs.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/asteriskjava/fastagi/AgiRequest.html#getRequestURL()">getRequestURL</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the full URL of the requestURL in the form agi://host[:port][/script][?param1=value1&param2=value2].</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/asteriskjava/fastagi/AgiRequest.html#getScript()">getScript</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the name of the script to execute including its full path.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/asteriskjava/fastagi/AgiRequest.html#getType()">getType</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the type of the channel, for example "SIP".</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/asteriskjava/fastagi/AgiRequest.html#getUniqueId()">getUniqueId</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the unqiue id of the channel.</TD></TR></TABLE>&nbsp;<P><!-- ============ 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="getRequest()"><!-- --></A><H3>getRequest</H3><PRE>java.util.Map <B>getRequest</B>()</PRE><DL><DD>Returns a Map containing the raw request name/value pairs.<P><DD><DL><DT><B>Returns:</B><DD>Map contain raw request name/value pairs.</DL></DD></DL><HR><A NAME="getScript()"><!-- --></A><H3>getScript</H3><PRE>java.lang.String <B>getScript</B>()</PRE><DL><DD>Returns the name of the script to execute including its full path.<p> This corresponds to the request url with protocol, host, port and parameters stripped off.<P><DD><DL><DT><B>Returns:</B><DD>the name of the script to execute.</DL></DD></DL><HR><A NAME="getRequestURL()"><!-- --></A><H3>getRequestURL</H3><PRE>java.lang.String <B>getRequestURL</B>()</PRE><DL><DD>Returns the full URL of the requestURL in the form agi://host[:port][/script][?param1=value1&param2=value2].<P><DD><DL><DT><B>Returns:</B><DD>the full URL of the requestURL in the form         agi://host[:port][/script][?param1=value1&param2=value2].</DL></DD></DL><HR><A NAME="getChannel()"><!-- --></A><H3>getChannel</H3><PRE>java.lang.String <B>getChannel</B>()</PRE><DL><DD>Returns the name of the channel.<P><DD><DL><DT><B>Returns:</B><DD>the name of the channel.</DL></DD></DL><HR><A NAME="getUniqueId()"><!-- --></A><H3>getUniqueId</H3><PRE>java.lang.String <B>getUniqueId</B>()</PRE><DL><DD>Returns the unqiue id of the channel.<P><DD><DL><DT><B>Returns:</B><DD>the unqiue id of the channel.</DL></DD></DL><HR><A NAME="getType()"><!-- --></A><H3>getType</H3><PRE>java.lang.String <B>getType</B>()</PRE><DL><DD>Returns the type of the channel, for example "SIP".<P><DD><DL><DT><B>Returns:</B><DD>the type of the channel, for example "SIP".</DL></DD></DL><HR><A NAME="getLanguage()"><!-- --></A><H3>getLanguage</H3><PRE>java.lang.String <B>getLanguage</B>()</PRE><DL><DD>Returns the language set for the current channel, for example "en".<P><DD><DL><DT><B>Returns:</B><DD>the language set for the current channel, for example "en".</DL></DD></DL><HR><A NAME="getCallerId()"><!-- --></A><H3>getCallerId</H3><PRE>java.lang.String <B>getCallerId</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>will be removed in 0.4, use <A HREF="../../../org/asteriskjava/fastagi/AgiRequest.html#getCallerIdNumber()"><CODE>getCallerIdNumber()</CODE></A> instead.</I><P><DD>Returns the Caller*ID number, for example "1234".<p> Note: even with Asterisk 1.0 is contains only the numerical part of the Caller ID.<P><DD><DL><DT><B>Returns:</B><DD>the Caller*ID number, for example "1234", if no Caller*ID is set or it         is "unknown" <code>null</code> is returned.</DL></DD></DL><HR><A NAME="getCallerIdNumber()"><!-- --></A><H3>getCallerIdNumber</H3><PRE>java.lang.String <B>getCallerIdNumber</B>()</PRE><DL><DD>Returns the Caller*ID number, for example "1234".<p> Note: even with Asterisk 1.0 is contains only the numerical part of the Caller ID.<P><DD><DL><DT><B>Returns:</B><DD>the Caller*ID number, for example "1234", if no Caller*ID is set or it         is "unknown" <code>null</code> is returned.</DL></DD></DL><HR><A NAME="getCallerIdName()"><!-- --></A><H3>getCallerIdName</H3><PRE>java.lang.String <B>getCallerIdName</B>()</PRE><DL><DD>Returns the the Caller*ID Name, for example "John Doe".<P><DD><DL><DT><B>Returns:</B><DD>the the Caller*ID Name, for example "John Doe", if no Caller*ID         Name is set or it is "unknown" <code>null</code> is returned.</DL></DD></DL><HR><A NAME="getDnid()"><!-- --></A><H3>getDnid</H3><PRE>java.lang.String <B>getDnid</B>()</PRE><DL><DD>Returns the number, that has been dialed by the user.<P><DD><DL><DT><B>Returns:</B><DD>the dialed number, if no DNID is available or it is "unknown"         <code>null</code> is returned.</DL></DD></DL><HR><A NAME="getRdnis()"><!-- --></A><H3>getRdnis</H3><PRE>java.lang.String <B>getRdnis</B>()</PRE><DL><DD>If this call has been forwared, the number of the person doing the redirect is returned (Redirected dialed number identification service).<p> This is usally only only available on PRI.<P><DD><DL><DT><B>Returns:</B><DD>the number of the person doing the redirect, , if no RDNIS is         available or it is "unknown" <code>null</code> is returned.</DL></DD></DL><HR><A NAME="getContext()"><!-- --></A><H3>getContext</H3><PRE>java.lang.String <B>getContext</B>()</PRE><DL><DD>Returns the context in the dial plan from which the AGI script was called.<P><DD><DL><DT><B>Returns:</B><DD>the context in the dial plan from which the AGI script was         called.</DL></DD></DL><HR><A NAME="getExtension()"><!-- --></A><H3>getExtension</H3><PRE>java.lang.String <B>getExtension</B>()</PRE><DL><DD>Returns the extension in the dial plan from which the AGI script was called.<P><DD><DL><DT><B>Returns:</B><DD>the extension in the dial plan from which the AGI script was         called.</DL></DD></DL><HR><A NAME="getPriority()"><!-- --></A><H3>getPriority</H3>

⌨️ 快捷键说明

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