| Asterisk - The Open Source Telephony Project GIT-master-27fb039
    | 
Main dialing structure. Contains global options, channels being dialed, and more! More...

| 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 | |
Main dialing structure. Contains global options, channels being dialed, and more!
| 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().
| ast_callid callid | 
callid (if running in async)
Definition at line 58 of file dial.c.
Referenced by ast_dial_run(), and async_dial().
| struct { ... } channels | 
Channels being dialed
Referenced by ast_dial_answered(), ast_dial_answered_steal(), ast_dial_create(), ast_dial_destroy(), ast_dial_get_channel(), ast_dial_hangup(), ast_dial_join(), ast_dial_option_disable(), ast_dial_option_enable(), ast_dial_prerun(), ast_dial_reason(), ast_dial_run(), begin_dial(), dial_append_common(), find_dial_channel(), find_relative_dial_channel(), handle_call_forward(), handle_frame(), handle_timeout_trip(), and monitor_dial().
| struct ast_dial_channel* first | 
| struct ast_dial_channel* last | 
| ast_mutex_t lock | 
Definition at line 56 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 49 of file dial.c.
Referenced by dial_append_common().
| void* options[AST_DIAL_OPTION_MAX] | 
Global options
Definition at line 53 of file dial.c.
Referenced by ast_dial_destroy(), ast_dial_option_global_disable(), ast_dial_option_global_enable(), ast_dial_prerun(), begin_dial(), handle_call_forward(), handle_frame(), and monitor_dial().
| enum ast_dial_result state | 
Status of dial
Definition at line 52 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 54 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 57 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 50 of file dial.c.
Referenced by ast_dial_create(), ast_dial_set_global_timeout(), handle_timeout_trip(), and page_exec().
| 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().