Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
parking_lot Struct Reference

Data Fields

struct ast_string_field_mgr __field_mgr
 
struct ast_string_field_pool__field_mgr_pool
 
struct parking_lot_cfgcfg
 
int disable_mark
 
enum parking_lot_modes mode
 
const ast_string_field name
 
int next_space
 
struct ao2_containerparked_users
 
struct ast_bridgeparking_bridge
 

Detailed Description

Definition at line 92 of file res_parking.h.

Field Documentation

struct parking_lot_cfg* cfg

Reference to configuration object for the parking lot

Definition at line 96 of file res_parking.h.

Referenced by comeback_goto(), parked_call_retrieve_enable_features(), parking_channel_set_roles(), parking_lot_build_or_update(), and parking_lot_get_space().

int disable_mark

On reload, disable this parking lot if it doesn't receive a new configuration.

Definition at line 98 of file res_parking.h.

Referenced by parking_lot_build_or_update().

enum parking_lot_modes mode

Whether a parking lot is operational, being reconfigured, primed for deletion, or dynamically created.

Definition at line 97 of file res_parking.h.

Referenced by parking_lot_build_or_update(), and parking_lot_remove_if_unused().

const ast_string_field name

Name of the parking lot object

Definition at line 100 of file res_parking.h.

Referenced by PathSegment::__init__(), bridge_parking_new(), find_channel_parking_lot_name(), and PathSegment::get_child().

int next_space

When using parkfindnext, which space we should start searching from next time we park

Definition at line 93 of file res_parking.h.

Referenced by parking_lot_get_space().

struct ao2_container* parked_users

List of parked users rigidly ordered by their parking space

Definition at line 95 of file res_parking.h.

Referenced by parking_lot_get_space(), parking_lot_inspect_parked_user(), parking_lot_remove_if_unused(), parking_lot_retrieve_parked_user(), and unpark_parked_user().

struct ast_bridge* parking_bridge

Bridged where parked calls will rest until they are answered or otherwise leave

Definition at line 94 of file res_parking.h.

Referenced by parking_lot_get_bridge().


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