mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-04 20:33:53 +00:00
cel: Add STREAM_BEGIN, STREAM_END and DTMF event types.
Fixes: #1280
UserNote: Enabling the tracking of the
STREAM_BEGIN and the STREAM_END event
types in cel.conf will log media files and
music on hold played to each channel.
The STREAM_BEGIN event's extra field will
contain a JSON with the file details (path,
format and language), or the class name, in
case of music on hold is played. The DTMF
event's extra field will contain a JSON with
the digit and the duration in milliseconds.
(cherry picked from commit 0391c3f36e)
This commit is contained in:
committed by
George Joseph
parent
850692b52f
commit
8624ed58df
@@ -59,6 +59,12 @@ apps=dial,park
|
||||
; USER_DEFINED -- Triggered from the dialplan, and has a name given by the
|
||||
; user
|
||||
; LOCAL_OPTIMIZE -- A local channel pair is optimizing away.
|
||||
; 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
|
||||
;
|
||||
; Default value: none
|
||||
; (Track no events)
|
||||
|
||||
Reference in New Issue
Block a user