]> git.ipfire.org Git - thirdparty/asterisk.git/commit
cel: add local optimization begin event (#54)
authorMike Bradeen <mbradeen@sangoma.com>
Thu, 4 May 2023 14:51:55 +0000 (08:51 -0600)
committerGitHub <noreply@github.com>
Thu, 4 May 2023 14:51:55 +0000 (08:51 -0600)
commitcd48733353a64ca7e404b9c8834e18f5615c340c
tree2a4d4327bf783a873eb1e13396f3c7b727c20ac1
parent0d6b2718314557c4d765d5385f76851aa734b38d
cel: add local optimization begin event (#54)

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.
include/asterisk/cel.h
main/cel.c