CEL
Arguments
-
EventName- The name of the CEL event being raised. This can include both the system defined CEL events, as well as user defined events.CHAN_START- A channel was created.CHAN_END- A channel was terminated.ANSWER- A channel answered.HANGUP- A channel was hung up.BRIDGE_ENTER- A channel entered a bridge.BRIDGE_EXIT- A channel left a bridge.APP_START- A channel entered into a tracked application.APP_END- A channel left a tracked application.PARK_START- A channel was parked.PARK_END- A channel was unparked.BLINDTRANSFER- A channel initiated a blind transfer.ATTENDEDTRANSFER- A channel initiated an attended transfer.PICKUP- A channel initated a call pickup.FORWARD- A channel is being forwarded to another destination.LINKEDID_END- The linked ID associated with this channel is being retired.LOCAL_OPTIMIZE_BEGIN- A Local channel optimization has begun.LOCAL_OPTIMIZE- A Local channel optimization has occurred.STREAM_BEGIN- A stream started playing: it can be a standalone sound file playing back, or a music-on-hold class started.STREAM_END- A playing stream ended.DTMF- A DTMF digit was processed: these events are dispatched at the end, when the button is released and the duration is present in the extra field-
USER_DEFINED- A user defined type.Note
This event is only present if
show_user_definedincel.confisTrue. Otherwise, the user defined event will be placed directly in the EventName field.
-
AccountCode- The channel's account code. CallerIDnum- The Caller ID number.CallerIDname- The Caller ID name.CallerIDani- The Caller ID Automatic Number Identification.CallerIDrdnis- The Caller ID Redirected Dialed Number Identification Service.CallerIDdnid- The Caller ID Dialed Number Identifier.Exten- The dialplan extension the channel is currently executing in.Context- The dialplan context the channel is currently executing in.Application- The dialplan application the channel is currently executing.AppData- The arguments passed to the dialplan Application.EventTime- The time the CEL event occurred.AMAFlags- A flag that informs a billing system how to treat the CEL.OMIT- This event should be ignored.BILLING- This event contains valid billing data.DOCUMENTATION- This event is for documentation purposes.
UniqueID- The unique ID of the channel.LinkedID- The linked ID of the channel, which ties this event to other related channel's events.UserField- A user defined field set on a channel, containing arbitrary application specific data.Peer- If this channel is in a bridge, the channel that it is in a bridge with.PeerAccount- If this channel is in a bridge, the accountcode of the channel it is in a bridge with.Extra- Some events will have event specific data that accompanies the CEL record. This extra data is JSON encoded, and is dependent on the event in question.
User Notes
No notes yet. Be the first to contribute a tip or example.
Contribute a note
Share a tip, gotcha, or practical example. Keep it under 2000 characters. No questions (use the Asterisk community forums for support). Wrap code in backticks.
Related
AMI Events
AGIExecEnd
AGIExecStart
AOC-D
AOC-E
AOC-S
AgentCalled
AgentComplete
AgentConnect
AgentDump
AgentLogin
AgentLogoff
AgentRingNoAnswer
Agents
AgentsComplete
Alarm
AlarmClear
AorDetail
AorList
AorListComplete
AsyncAGIEnd
AsyncAGIExec
AsyncAGIStart
AttendedTransfer
AuthDetail
AuthList
AuthListComplete
AuthMethodNotAllowed
BlindTransfer
BridgeCreate
BridgeDestroy
BridgeEnter
BridgeInfoChannel
BridgeInfoComplete
BridgeLeave
BridgeMerge
BridgeVideoSourceUpdate
CEL
Cdr
ChallengeResponseFailed
ChallengeSent
ChanSpyStart
ChanSpyStop
ChannelTalkingStart
ChannelTalkingStop
ConfbridgeEnd
ConfbridgeJoin
ConfbridgeLeave
ConfbridgeList
ConfbridgeListRooms
ConfbridgeMute
ConfbridgeRecord
ConfbridgeStart
ConfbridgeStopRecord
ConfbridgeTalking
ConfbridgeUnmute
ContactList
ContactListComplete
ContactStatus
ContactStatusDetail
CoreShowChannel
CoreShowChannelMapComplete
CoreShowChannelsComplete
DAHDIChannel
DNDState
DTMFBegin
DTMFEnd
DeadlockStart
DeviceStateChange
DeviceStateListComplete
DialBegin
DialEnd
DialState
EndpointDetail
EndpointDetailComplete
EndpointList
EndpointListComplete
ExtensionStateListComplete
ExtensionStatus
FAXSession
FAXSessionsComplete
FAXSessionsEntry
FAXStats
FAXStatus
FailedACL
Flash
FullyBooted
Hangup
HangupHandlerPop
HangupHandlerPush
HangupHandlerRun
HangupRequest
Hold
IdentifyDetail
InboundRegistrationDetail
InboundSubscriptionDetail
InvalidAccountID
InvalidPassword
InvalidTransport
Load
LoadAverageLimit
LocalBridge
LocalOptimizationBegin
LocalOptimizationEnd
LogChannel
MCID
MWIGet
MWIGetComplete
MeetmeEnd
MeetmeJoin
MeetmeLeave
MeetmeList
MeetmeListRooms
MeetmeMute
MeetmeTalkRequest
MeetmeTalking
MemoryLimit
MessageWaiting
MiniVoiceMail
MixMonitorMute
MixMonitorStart
MixMonitorStop
MonitorStart
MonitorStop
MusicOnHoldStart
MusicOnHoldStop
NewAccountCode
NewCallerid
NewConnectedLine
NewExten
Newchannel
Newstate
OriginateResponse
OutboundRegistrationDetail
OutboundSubscriptionDetail
ParkedCall
ParkedCallGiveUp
ParkedCallSwap
ParkedCallTimeOut
PeerStatus
Pickup
PresenceStateChange
PresenceStateListComplete
PresenceStatus
QueueCallerAbandon
QueueCallerJoin
QueueCallerLeave
QueueEntry
QueueMemberAdded
QueueMemberPause
QueueMemberPenalty
QueueMemberRemoved
QueueMemberRinginuse
QueueMemberStatus
QueueParams
RTCPReceived
RTCPSent
ReceiveFAX
Registry
Reload
Rename
RequestBadFormat
RequestNotAllowed
RequestNotSupported
ResourceListDetail
SIPQualifyPeerDone
SendFAX
SessionLimit
SessionTimeout
Shutdown
SoftHangupRequest
SpanAlarm
SpanAlarmClear
Status
StatusComplete
SuccessfulAuth
TransportDetail
UnParkedCall
UnexpectedAddress
Unhold
Unload
UserEvent
VarSet
VoicemailPasswordChange
Wink