]> 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:18 +0000 (14:53 +0000)
commit8d3d8fcdcd79401dc14c497c251e565fa4481e41
tree89f4656ed4587cf5b14c6353e9498539a2d40f38
parent5c6d5ea38fd4c4966a91fa8fe4cff417407fff7c
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