local_optimization Struct Reference

Structure representing relevant data during a local channel optimization. More...


Data Fields

unsigned int id
int in_progress
const char * source_chan_uniqueid


Detailed Description

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 5544 of file app_queue.c.


Field Documentation

unsigned int id

The identifier for this local channel optimization

Definition at line 5550 of file app_queue.c.

Referenced by handle_local_optimization_begin(), and handle_local_optimization_end().

Indication of whether we think there is a local channel optimization in progress

Definition at line 5548 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 5546 of file app_queue.c.

Referenced by handle_local_optimization_begin(), and handle_local_optimization_end().


The documentation for this struct was generated from the following file:

Generated on Thu Apr 16 06:36:45 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6