public class NewChannelEvent extends AbstractChannelStateEvent
It is implemented in channel.c
uniqueIdcallerIdName, callerIdNum, channelState, channelStateDesc, connectedLineName, connectedLineNum, context, exten, prioritysource| Constructor and Description |
|---|
NewChannelEvent(Object source) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccountCode()
Returns the account code of the new channel.
|
String |
getLanguage() |
String |
getLinkedid() |
void |
setAccountCode(String accountCode)
Sets the account code of the new channel.
|
void |
setLanguage(String language) |
void |
setLinkedid(String linkedid) |
setStategetCallerIdName, getCallerIdNum, getChannel, getUniqueId, setCallerIdName, setCallerIdNum, setChannel, setUniqueIdappendPropertyIfNotNull, getChannelState, getChannelStateDesc, getConnectedLineName, getConnectedLineNum, getContext, getDateReceived, getExten, getFile, getFunc, getLine, getPriority, getPrivilege, getSequenceNumber, getServer, getSystemName, getTimestamp, setChannelState, setChannelStateDesc, setConnectedLineName, setConnectedLineNum, setContext, setDateReceived, setExten, setFile, setFunc, setLine, setPriority, setPrivilege, setSequenceNumber, setServer, setSystemName, setTimestamp, toJsonString, toStringgetSourcepublic NewChannelEvent(Object source)
public String getLanguage()
public void setLanguage(String language)
public String getAccountCode()
This property is available since Asterisk 1.6.
getAccountCode in class AbstractChannelEventpublic void setAccountCode(String accountCode)
setAccountCode in class AbstractChannelEventaccountCode - the account code of the new channel.public String getLinkedid()
public void setLinkedid(String linkedid)
Copyright © 2018. All rights reserved.