Sun Oct 16 2011 08:43:12

Asterisk developer's documentation


ast_dial Struct Reference

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

Collaboration diagram for ast_dial:

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!


Field Documentation

Actual timeout based on all factors (ie: channels)

Definition at line 46 of file dial.c.

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

Definition at line 50 of file dial.c.

Definition at line 50 of file dial.c.

int num

Current number to give to next dialed channel

Definition at line 44 of file dial.c.

Referenced by ast_dial_append().

void* options[AST_DIAL_OPTION_MAX]

Status callback

Definition at line 49 of file dial.c.

Referenced by set_state(), and ast_dial_set_state_callback().

pthread_t thread

Thread (if running in async)

Definition at line 51 of file dial.c.

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

int timeout

Maximum time allowed for dial attempts

Definition at line 45 of file dial.c.

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


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