Wed Jan 8 2020 09:50:24

Asterisk developer's documentation


parkeduser Struct Reference

Description of one parked call, added to a list while active, then removed. The list belongs to a parkinglot. More...

Data Fields

struct ast_channelchan
 
char context [AST_MAX_CONTEXT]
 
char exten [AST_MAX_EXTENSION]
 
enum ast_control_frame_type hold_method
 
struct {
   struct parkeduser *   next
 
list
 
unsigned char moh_trys
 
unsigned int notquiteyet:1
 
unsigned int options_specified:1
 
char parkingexten [AST_MAX_EXTENSION]
 
struct ast_parkinglotparkinglot
 
int parkingnum
 
int parkingtime
 
char peername [AST_CHANNEL_NAME]
 
int priority
 
struct timeval start
 

Detailed Description

Description of one parked call, added to a list while active, then removed. The list belongs to a parkinglot.

Definition at line 470 of file features.c.

Field Documentation

char context[AST_MAX_CONTEXT]

Where to go if our parking time expires

Definition at line 475 of file features.c.

Referenced by handle_parkedcalls(), manage_parked_call(), and park_call_full().

char exten[AST_MAX_EXTENSION]

Definition at line 476 of file features.c.

Referenced by handle_parkedcalls(), manage_parked_call(), and park_call_full().

enum ast_control_frame_type hold_method

Method to entertain the caller when parked: AST_CONTROL_RINGING, AST_CONTROL_HOLD, or 0(none)

Definition at line 480 of file features.c.

Referenced by manage_parked_call(), park_call_full(), and parked_call_exec().

struct { ... } list
unsigned char moh_trys

Definition at line 484 of file features.c.

Referenced by manage_parked_call().

struct parkeduser* next

Definition at line 487 of file features.c.

unsigned int notquiteyet
unsigned int options_specified

Definition at line 482 of file features.c.

Referenced by manage_parked_call(), and park_call_full().

char parkingexten[AST_MAX_EXTENSION]

If set beforehand, parking extension used for this call

Definition at line 474 of file features.c.

Referenced by handle_parkedcalls(), manage_parkinglot(), park_call_full(), park_space_reserve(), parked_call_exec(), and post_manager_event().

struct ast_parkinglot* parkinglot

Parking lot this entry belongs to. Holds a parking lot reference.

Definition at line 486 of file features.c.

Referenced by manage_parked_call(), manage_parkinglot(), park_call_full(), park_space_abort(), park_space_reserve(), parked_call_exec(), and post_manager_event().

int parkingnum

Parking lot space used

Definition at line 473 of file features.c.

Referenced by manage_parked_call(), manager_parking_status(), park_call_full(), park_space_reserve(), and parked_call_exec().

int parkingtime

Maximum length in parking lot before return

Definition at line 478 of file features.c.

Referenced by handle_parkedcalls(), manage_parked_call(), manager_parking_status(), and park_call_full().

char peername[AST_CHANNEL_NAME]

Definition at line 483 of file features.c.

Referenced by manage_parked_call(), manager_parking_status(), and park_call_full().

int priority

Definition at line 477 of file features.c.

Referenced by handle_parkedcalls(), manage_parked_call(), and park_call_full().

struct timeval start

Time the park started

Definition at line 472 of file features.c.

Referenced by handle_parkedcalls(), manage_parked_call(), manager_parking_status(), and park_call_full().


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