Wed Jan 8 2020 09:50:23

Asterisk developer's documentation


ast_dial Struct Reference

Main dialing structure. Contains global options, channels being dialed, and more! More...

Data Fields

int actual_timeout
 
struct {
   struct ast_dial_channel *   first
 
   struct ast_dial_channel *   last
 
   ast_mutex_t   lock
 
channels
 
int num
 
void * options [AST_DIAL_OPTION_MAX]
 
enum ast_dial_result state
 
ast_dial_state_callback state_callback
 
pthread_t thread
 
int timeout
 

Detailed Description

Main dialing structure. Contains global options, channels being dialed, and more!

Definition at line 47 of file dial.c.

Field Documentation

int actual_timeout

Actual timeout based on all factors (ie: channels)

Definition at line 50 of file dial.c.

Referenced by ast_dial_create(), ast_dial_set_global_timeout(), ast_dial_set_timeout(), and monitor_dial().

struct ast_dial_channel* first

Definition at line 54 of file dial.c.

struct ast_dial_channel* last

Definition at line 54 of file dial.c.

Definition at line 54 of file dial.c.

Referenced by answer_exec_run(), ast_dial_create(), ast_dial_destroy(), and ast_dial_join().

int num

Current number to give to next dialed channel

Definition at line 48 of file dial.c.

Referenced by ast_dial_append().

ast_dial_state_callback state_callback

Status callback

Definition at line 53 of file dial.c.

Referenced by ast_dial_set_state_callback(), and set_state().

pthread_t thread

Thread (if running in async)

Definition at line 55 of file dial.c.

Referenced by answer_exec_run(), ast_dial_create(), ast_dial_join(), ast_dial_run(), and monitor_dial().

int timeout

Maximum time allowed for dial attempts

Definition at line 49 of file dial.c.

Referenced by ast_dial_create(), ast_dial_set_global_timeout(), ast_dial_set_timeout(), handle_timeout_trip(), page_exec(), and parkandannounce_exec().


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