mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-26 14:27:14 +00:00
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 fa18f2d71e)
This commit is contained in:
committed by
Asterisk Development Team
parent
a7f1dbc462
commit
1cba481518
@@ -73,8 +73,10 @@ enum ast_cel_event_type {
|
||||
AST_CEL_PICKUP = 15,
|
||||
/*! \brief this call was forwarded somewhere else */
|
||||
AST_CEL_FORWARD = 16,
|
||||
/*! \brief A local channel optimization occurred */
|
||||
/*! \brief A local channel optimization occurred, this marks the end */
|
||||
AST_CEL_LOCAL_OPTIMIZE = 17,
|
||||
/*! \brief A local channel optimization has begun */
|
||||
AST_CEL_LOCAL_OPTIMIZE_BEGIN = 18,
|
||||
};
|
||||
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user