public class ListDialplanEvent extends ResponseEvent
Available since Asterisk 1.6
It is implemented in main/pbx.c
ShowDialplanAction
,
ShowDialplanCompleteEvent
,
Serialized FormactionId
callerIdName, callerIdNum, channelState, channelStateDesc, connectedLineName, connectedLineNum, context, exten, priority
source
Constructor and Description |
---|
ListDialplanEvent(Object source) |
Modifier and Type | Method and Description |
---|---|
String |
getAppData()
Returns the parameters of the application configured to handle this priority.
|
String |
getApplication()
Returns the application configured to handle this priority.
|
String |
getExtension()
Returns the extension or extension pattern.
|
String |
getExtensionLabel()
Returns the extension label.
|
String |
getRegistrar()
Returns the registrar that registered this priority.
|
boolean |
isHint()
Checks whether this is a hint.
|
void |
setAppData(String appData) |
void |
setApplication(String application) |
void |
setExtension(String extension) |
void |
setExtensionLabel(String extensionLabel) |
void |
setPriority(String priorityString) |
void |
setRegistrar(String registrar) |
getActionId, getInternalActionId, setActionId, setInternalActionId
appendPropertyIfNotNull, getCallerIdName, getCallerIdNum, getChannelState, getChannelStateDesc, getConnectedLineName, getConnectedLineNum, getContext, getDateReceived, getExten, getFile, getFunc, getLine, getPriority, getPrivilege, getSequenceNumber, getServer, getSystemName, getTimestamp, setCallerIdName, setCallerIdNum, setChannelState, setChannelStateDesc, setConnectedLineName, setConnectedLineNum, setContext, setDateReceived, setExten, setFile, setFunc, setLine, setPriority, setPrivilege, setSequenceNumber, setServer, setSystemName, setTimestamp, toString
getSource
public ListDialplanEvent(Object source)
public String getExtension()
public void setExtension(String extension)
public String getExtensionLabel()
null
if none.public void setExtensionLabel(String extensionLabel)
public boolean isHint()
true
if this is a hint, false
otherwise.public void setPriority(String priorityString)
public String getApplication()
public void setApplication(String application)
public String getAppData()
null
if none.public void setAppData(String appData)
public String getRegistrar()
Typical values are "features" for the parkedcalls context, "pbx_config" for priorities
defined in extensions.conf
or "app_dial" for the
app_dial_gosub_virtual_context context.
public void setRegistrar(String registrar)
Copyright © 2004–2022. All rights reserved.