]> git.ipfire.org Git - thirdparty/asterisk.git/commit
cel: add local optimization begin event
authorMike Bradeen <mbradeen@sangoma.com>
Tue, 2 May 2023 15:20:22 +0000 (09:20 -0600)
committerAsterisk Development Team <asteriskteam@digium.com>
Mon, 8 May 2023 18:13:36 +0000 (18:13 +0000)
commit21ee5f705a5178c854be8db85b41d737c17afa00
tree92ab2cdaefe4ad6089db6b12b5538dcc8532e967
parent7677e78b4fdb8e5da800889956187006ce36766e
cel: add local optimization begin event

The current AST_CEL_LOCAL_OPTIMIZE event is and has been
triggered on a local optimization end to serve as a flag
indicating the event occurred.  This change adds a second
AST_CEL_LOCAL_OPTIMIZE_BEGIN event for further detail.

Resolves: #52

UpgradeNote: The existing AST_CEL_LOCAL_OPTIMIZE can continue
to be used as-is and the AST_CEL_LOCAL_OPTIMIZE_BEGIN event
can be ignored if desired.

UserNote: The new AST_CEL_LOCAL_OPTIMIZE_BEGIN can be used
by itself or in conert with the existing
AST_CEL_LOCAL_OPTIMIZE to book-end local channel optimizaion.

(cherry picked from commit 8d3d8fcdcd79401dc14c497c251e565fa4481e41)
include/asterisk/cel.h
main/cel.c