Mon Oct 8 12:39:31 2012

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 {
   ast_dial_channel *   first
   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_set_global_timeout(), ast_dial_set_timeout(), and monitor_dial().

struct { ... } channels

Channels being dialed

Referenced by ast_dial_answered(), ast_dial_answered_steal(), ast_dial_append(), ast_dial_destroy(), ast_dial_hangup(), ast_dial_join(), ast_dial_option_disable(), ast_dial_option_enable(), ast_dial_run(), begin_dial(), find_dial_channel(), find_relative_dial_channel(), handle_call_forward(), handle_frame(), handle_frame_ownerless(), handle_timeout_trip(), 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.

ast_mutex_t lock

Definition at line 54 of file dial.c.

Referenced by answer_exec_run(), 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().

void* options[AST_DIAL_OPTION_MAX]

Global options

Definition at line 52 of file dial.c.

Referenced by ast_dial_option_global_disable(), ast_dial_option_global_enable(), handle_frame(), monitor_dial(), and page_exec().

enum ast_dial_result state

Status of dial

Definition at line 51 of file dial.c.

Referenced by ast_dial_answered(), ast_dial_answered_steal(), ast_dial_join(), ast_dial_run(), ast_dial_state(), handle_timeout_trip(), monitor_dial(), and set_state().

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_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_set_global_timeout(), handle_timeout_trip(), page_exec(), and parkandannounce_exec().


The documentation for this struct was generated from the following file:
Generated on Mon Oct 8 12:39:31 2012 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7