]> 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 19:36:51 +0000 (13:36 -0600)
commit8624ed58df6097947cd22aa04775790a258f413d
treeec35ac6d6761721adc7564e56206ecdb635bef00
parent850692b52f6b996c90888c14578db8ff568ad7e5
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 0391c3f36eb436bffa84418983294689df796cd7)
configs/samples/cel.conf.sample
include/asterisk/cel.h
main/cel.c
main/channel.c
main/file.c
res/res_musiconhold.c