public class SimpleAgiRequest extends Object implements AgiRequest
| Constructor and Description |
|---|
SimpleAgiRequest() |
SimpleAgiRequest(String script) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccountCode() |
String[] |
getArguments() |
String |
getCallerId()
Deprecated.
as of 0.3, use
getCallerIdNumber() instead. |
String |
getCallerIdName() |
String |
getCallerIdNumber() |
Integer |
getCallingAni2() |
Integer |
getCallingPres() |
Integer |
getCallingTns() |
Integer |
getCallingTon() |
String |
getChannel() |
String |
getContext() |
String |
getDnid() |
Boolean |
getEnhanced() |
String |
getExtension() |
String |
getLanguage() |
InetAddress |
getLocalAddress() |
int |
getLocalPort() |
String |
getParameter(String name) |
Map<String,String[]> |
getParameterMap() |
String[] |
getParameterValues(String name) |
Integer |
getPriority() |
String |
getRdnis() |
InetAddress |
getRemoteAddress() |
int |
getRemotePort() |
Map<String,String> |
getRequest() |
String |
getRequestURL() |
String |
getScript() |
String |
getType() |
String |
getUniqueId() |
void |
setLocalAddress(InetAddress localAddress) |
void |
setLocalPort(int localPort) |
void |
setRemoteAddress(InetAddress remoteAddress) |
void |
setRemotePort(int remotePort) |
public SimpleAgiRequest()
public SimpleAgiRequest(String script)
public Map<String,String> getRequest()
getRequest in interface AgiRequestpublic String getScript()
getScript in interface AgiRequestpublic String getRequestURL()
getRequestURL in interface AgiRequestpublic String getChannel()
getChannel in interface AgiRequestpublic String getUniqueId()
getUniqueId in interface AgiRequestpublic String getType()
getType in interface AgiRequestpublic String getLanguage()
getLanguage in interface AgiRequestpublic String getCallerId()
getCallerIdNumber() instead.Note: even with Asterisk 1.0 is contains only the numerical part of the Caller ID.
getCallerId in interface AgiRequestnull is returned.public String getCallerIdNumber()
getCallerIdNumber in interface AgiRequestpublic String getCallerIdName()
getCallerIdName in interface AgiRequestpublic String getDnid()
getDnid in interface AgiRequestpublic String getRdnis()
getRdnis in interface AgiRequestpublic String getContext()
getContext in interface AgiRequestpublic String getExtension()
getExtension in interface AgiRequestpublic Integer getPriority()
getPriority in interface AgiRequestpublic Boolean getEnhanced()
getEnhanced in interface AgiRequestpublic String getAccountCode()
getAccountCode in interface AgiRequestpublic Integer getCallingAni2()
getCallingAni2 in interface AgiRequestpublic Integer getCallingPres()
getCallingPres in interface AgiRequestpublic Integer getCallingTns()
getCallingTns in interface AgiRequestpublic Integer getCallingTon()
getCallingTon in interface AgiRequestpublic String getParameter(String name)
getParameter in interface AgiRequestpublic String[] getParameterValues(String name)
getParameterValues in interface AgiRequestpublic Map<String,String[]> getParameterMap()
getParameterMap in interface AgiRequestpublic String[] getArguments()
getArguments in interface AgiRequestpublic InetAddress getLocalAddress()
getLocalAddress in interface AgiRequestpublic void setLocalAddress(InetAddress localAddress)
public int getLocalPort()
getLocalPort in interface AgiRequestpublic void setLocalPort(int localPort)
public InetAddress getRemoteAddress()
getRemoteAddress in interface AgiRequestpublic void setRemoteAddress(InetAddress remoteAddress)
public int getRemotePort()
getRemotePort in interface AgiRequestpublic void setRemotePort(int remotePort)
Copyright © 2004-2012 Stefan Reuter. All Rights Reserved.