]> 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)
committerAsterisk Development Team <asteriskteam@digium.com>
Wed, 10 Sep 2025 19:55:23 +0000 (19:55 +0000)
commit01042a1247678487cdabf3ae2db5257fe86a91a1
tree33fa87c7e173a44b138136bb2abd28e0dedb41ff
parente19edb28ffc441c1087a0ee6e578ffdf2f8aca5a
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