]> 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)
committerMike Bradeen <mbradeen@sangoma.com>
Thu, 4 May 2023 14:53:06 +0000 (14:53 +0000)
commitfa18f2d71e431a428b4cc3a412fb14184780a2f9
treeb28c6cdb7ed3b44583a79a9f400211513a2c38a9
parent6f218514fb17e468c46dfa955e9659856efeb402
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.
include/asterisk/cel.h
main/cel.c