Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
ast_dial Struct Reference

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

Collaboration diagram for ast_dial:
Collaboration graph
[legend]

Data Fields

int actual_timeout
 
ast_callid callid
 
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
 
void * user_data
 

Detailed Description

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

Definition at line 48 of file dial.c.

Field Documentation

◆ actual_timeout

int actual_timeout

Actual timeout based on all factors (ie: channels)

Definition at line 51 of file dial.c.

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

◆ callid

ast_callid callid

callid (if running in async)

Definition at line 58 of file dial.c.

Referenced by ast_dial_run(), and async_dial().

◆ channels

struct { ... } channels

◆ first

struct ast_dial_channel* first

Definition at line 56 of file dial.c.

◆ last

struct ast_dial_channel* last

Definition at line 56 of file dial.c.

◆ lock

Definition at line 56 of file dial.c.

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

◆ num

int num

Current number to give to next dialed channel

Definition at line 49 of file dial.c.

Referenced by dial_append_common().

◆ options

void* options[AST_DIAL_OPTION_MAX]

◆ state

◆ state_callback

ast_dial_state_callback state_callback

Status callback

Definition at line 54 of file dial.c.

Referenced by ast_dial_set_state_callback(), and set_state().

◆ thread

pthread_t thread

Thread (if running in async)

Definition at line 57 of file dial.c.

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

◆ timeout

int timeout

Maximum time allowed for dial attempts

Definition at line 50 of file dial.c.

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

◆ user_data

void* user_data

Attached user data

Definition at line 55 of file dial.c.

Referenced by ast_dial_get_user_data(), and ast_dial_set_user_data().


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