]> 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 17:55:17 +0000 (17:55 +0000)
commit1cba48151867f7c9b810d5537d1013f16d951349
treece0bd7be3eead3f29c0739467c24361bef6950de
parenta7f1dbc462b2d96217d89608f8dfdd93a71b2759
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 fa18f2d71e431a428b4cc3a412fb14184780a2f9)
include/asterisk/cel.h
main/cel.c