public class NewChannelEvent extends AbstractChannelStateEvent
It is implemented in channel.c
uniqueId
source
Constructor and Description |
---|
NewChannelEvent(Object source) |
Modifier and Type | Method and Description |
---|---|
String |
getAccountCode()
Returns the account code of the new channel.
|
String |
getContext()
Returns the context of the dialplan entry the channel started at.
|
String |
getExten()
Returns the extension of the dialplan entry the channel started at.
|
void |
setAccountCode(String accountCode)
Sets the account code of the new channel.
|
void |
setContext(String context)
Sets the context of the dialplan entry the channel started at.
|
void |
setExten(String exten)
Sets the extension of the dialplan entry the channel started at.
|
getChannelState, getChannelStateDesc, getConnectedlinename, getConnectedlinenum, getState, setChannelState, setChannelStateDesc, setConnectedlinename, setConnectedlinenum, setState
getCallerId, getCallerIdName, getCallerIdNum, getChannel, getUniqueId, setCallerId, setCallerIdName, setCallerIdNum, setChannel, setUniqueId
appendPropertyIfNotNull, getDateReceived, getFile, getFunc, getLine, getPrivilege, getSequenceNumber, getServer, getTimestamp, setDateReceived, setFile, setFunc, setLine, setPrivilege, setSequenceNumber, setServer, setTimestamp, toString
getSource
public NewChannelEvent(Object source)
public String getAccountCode()
This property is available since Asterisk 1.6.
public void setAccountCode(String accountCode)
accountCode
- the account code of the new channel.public String getContext()
This property is available since Asterisk 1.6.
public void setContext(String context)
context
- the context of the dialplan entry the channel started at.public String getExten()
This property is available since Asterisk 1.6.
public void setExten(String exten)
exten
- the extension of the dialplan entry the channel started at.Copyright © 2004–2016. All rights reserved.