]> git.ipfire.org Git - thirdparty/asterisk.git/commit
cel: Add STREAM_BEGIN, STREAM_END and DTMF event types.
authorSperl Viktor <viktike32@gmail.com>
Mon, 30 Jun 2025 11:38:50 +0000 (13:38 +0200)
committerGeorge Joseph <gjoseph@sangoma.com>
Wed, 17 Sep 2025 20:04:27 +0000 (14:04 -0600)
commitbb801f47c13dcf18c0b718aa9ff27ec91ed39f32
tree53a34bae4546ac90609d0d9837e51b4050261fd8
parent377d20f50cc9093556aeaa57f6f7370296a2033d
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 0906282f2593f9635c203a70fc6378a62dced90b)
configs/samples/cel.conf.sample
include/asterisk/cel.h
main/cel.c
main/channel.c
main/file.c
res/res_musiconhold.c