public class HoldEvent extends AbstractHoldEvent
It is implemented in channels/chan_sip.c.
Available since Asterisk 1.2 for SIP channels, as of Asterisk 1.6 this event is also supported for IAX2 channels.
To receive HoldEvents for SIP channels you must set
callevents = yes in sip.conf.
callerIdName, callerIdNum, channelState, channelStateDesc, connectedLineName, connectedLineNum, context, exten, prioritysource| Constructor and Description |
|---|
HoldEvent(Object source)
Creates a new HoldEvent.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMusicClass() |
void |
setMusicClass(String musicClass) |
getAccountCode, getChannel, getLanguage, getLinkedId, getStatus, getUniqueId, isHold, isUnhold, setAccountCode, setChannel, setLanguage, setLinkedId, setStatus, setUniqueIdappendPropertyIfNotNull, 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, toStringgetSourceCopyright © 2004–2024. All rights reserved.