Wed Oct 28 11:53:40 2009

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:

Collaboration graph
[legend]

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 42 of file dial.c.


Field Documentation

Actual timeout based on all factors (ie: channels)

Definition at line 45 of file dial.c.

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

struct { ... } channels

struct ast_dial_channel* first [read]

Definition at line 49 of file dial.c.

struct ast_dial_channel* last [read]

Definition at line 49 of file dial.c.

Definition at line 49 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 43 of file dial.c.

Referenced by ast_dial_append().

void* options[AST_DIAL_OPTION_MAX]

Status callback

Definition at line 48 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 50 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 44 of file dial.c.

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


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

Generated on Wed Oct 28 11:53:41 2009 for Asterisk - the Open Source PBX by  doxygen 1.5.6