Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
ast_hint Struct Reference

Structure for dial plan hints. More...

Data Fields

struct ao2_containercallbacks
 
struct ast_state_cbcallbacks
 
char context_name [AST_MAX_CONTEXT]
 
struct {
   size_t   current
 
   char **   elems
 
   size_t   max
 
devices
 
struct ast_extenexten
 Hint extension. More...
 
char exten_name [AST_MAX_EXTENSION]
 
char * last_presence_message
 
int last_presence_state
 
char * last_presence_subtype
 
int laststate
 

Detailed Description

Structure for dial plan hints.

Note
Hints are pointers from an extension in the dialplan to one or more devices (tech/name)

See Extension and device states in Asterisk

Note
Hints are pointers from an extension in the dialplan to one or more devices (tech/name)

Definition at line 331 of file pbx.c.

Field Documentation

struct ao2_container* callbacks

Device state callback container for this extension

Definition at line 339 of file pbx.c.

Referenced by ast_add_hint(), ast_extension_state_del(), ast_merge_contexts_and_delete(), ast_remove_hint(), find_hint_by_cb_id(), handle_show_hint(), and handle_show_hints().

struct ast_state_cb* callbacks

Callback list for this extension

Definition at line 2433 of file extconf.c.

char context_name[AST_MAX_CONTEXT]

Context of destroyed hint extension.

Definition at line 349 of file pbx.c.

Referenced by ast_remove_hint().

struct { ... } devices

Devices associated with the hint

Referenced by add_hintdevice(), and ast_add_hint().

struct ast_exten * exten

Hint extension.

Note
Will never be NULL while the hint is in the hints container.

Extension

Definition at line 338 of file pbx.c.

Referenced by ast_add_hint(), ast_change_hint(), ast_merge_contexts_and_delete(), ast_remove_hint(), complete_core_show_hint(), handle_show_hint(), and handle_show_hints().

char exten_name[AST_MAX_EXTENSION]

Extension of destroyed hint extension.

Definition at line 350 of file pbx.c.

Referenced by ast_remove_hint().

char* last_presence_message

Last known presence message string

Definition at line 347 of file pbx.c.

Referenced by ast_add_hint(), and ast_merge_contexts_and_delete().

int last_presence_state

Presence state variables Last known presence state

Definition at line 345 of file pbx.c.

Referenced by ast_add_hint(), ast_merge_contexts_and_delete(), handle_show_hint(), and handle_show_hints().

char* last_presence_subtype

Last known presence subtype string

Definition at line 346 of file pbx.c.

Referenced by ast_add_hint(), and ast_merge_contexts_and_delete().

int laststate

Dev state variables Last known device state

Last known state

Definition at line 342 of file pbx.c.

Referenced by ast_add_hint(), ast_merge_contexts_and_delete(), handle_show_hint(), and handle_show_hints().


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