Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
Structure representing relevant data during a local channel optimization. More...
Data Fields | |
unsigned int | id |
int | in_progress |
const char * | source_chan_uniqueid |
Structure representing relevant data during a local channel optimization.
The reason we care about local channel optimizations is that we want to be able to accurately report when the caller and queue member have stopped talking to each other. A local channel optimization can cause it to appear that the conversation has stopped immediately after it has begun. By tracking that the relevant channels to monitor have changed due to a local channel optimization, we can give accurate reports.
Local channel optimizations for queues are restricted from their normal operation. Bridges created by queues can only be the destination of local channel optimizations, not the source. In addition, move-swap local channel optimizations are the only permitted types of local channel optimization.
This data is populated when we are told that a local channel optimization begin is occurring. When we get told the optimization has ended successfully, we then apply the data here into the queue_stasis_data.
Definition at line 6227 of file app_queue.c.
unsigned int id |
The identifier for this local channel optimization
Definition at line 6233 of file app_queue.c.
Referenced by Section::__cmp__(), Section::__eq__(), Section::__ge__(), Section::__gt__(), Section::__le__(), Section::__lt__(), handle_local_optimization_begin(), handle_local_optimization_end(), and Model::load().
int in_progress |
Indication of whether we think there is a local channel optimization in progress
Definition at line 6231 of file app_queue.c.
Referenced by handle_local_optimization_begin(), and handle_local_optimization_end().
const char* source_chan_uniqueid |
The uniqueid of the channel that will be taking the place of the caller or member
Definition at line 6229 of file app_queue.c.
Referenced by handle_local_optimization_begin(), and handle_local_optimization_end().