Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
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 5933 of file app_queue.c.

Field Documentation

◆ id

unsigned int id

◆ in_progress

int in_progress

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

Definition at line 5937 of file app_queue.c.

Referenced by handle_local_optimization_begin(), and handle_local_optimization_end().

◆ source_chan_uniqueid

const char* source_chan_uniqueid

The uniqueid of the channel that will be taking the place of the caller or member

Definition at line 5935 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: