Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Fields
ast_hint Struct Reference

Structure for dial plan hints. More...

Collaboration diagram for ast_hint:
Collaboration graph
[legend]

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

◆ callbacks [1/2]

struct ao2_container* callbacks

◆ callbacks [2/2]

struct ast_state_cb* callbacks

Callback list for this extension

Definition at line 2433 of file extconf.c.

◆ context_name

char context_name[AST_MAX_CONTEXT]

Context of destroyed hint extension.

Definition at line 349 of file pbx.c.

Referenced by ast_remove_hint(), and device_state_cb().

◆ current

size_t current

Definition at line 352 of file pbx.c.

◆ 

struct { ... } devices

Devices associated with the hint

Referenced by add_hintdevice(), ast_add_hint(), destroy_hint(), and remove_hintdevice().

◆ elems

char* * elems

Definition at line 352 of file pbx.c.

◆ exten

struct ast_exten * exten

◆ exten_name

char exten_name[AST_MAX_EXTENSION]

Extension of destroyed hint extension.

Definition at line 350 of file pbx.c.

Referenced by ast_remove_hint(), and device_state_cb().

◆ last_presence_message

char* last_presence_message

Last known presence message string

Definition at line 347 of file pbx.c.

Referenced by ast_add_hint(), ast_merge_contexts_and_delete(), destroy_hint(), execute_state_callback(), and presence_state_notify_callbacks().

◆ last_presence_state

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(), execute_state_callback(), handle_show_hint(), handle_show_hints(), and presence_state_notify_callbacks().

◆ last_presence_subtype

char* last_presence_subtype

Last known presence subtype string

Definition at line 346 of file pbx.c.

Referenced by ast_add_hint(), ast_merge_contexts_and_delete(), destroy_hint(), execute_state_callback(), and presence_state_notify_callbacks().

◆ laststate

int laststate

Dev state variables Last known device state

Last known state

Definition at line 342 of file pbx.c.

Referenced by action_extensionstatelist(), ast_add_hint(), ast_merge_contexts_and_delete(), device_state_cb(), device_state_notify_callbacks(), execute_state_callback(), handle_show_hint(), and handle_show_hints().

◆ max

size_t max

Definition at line 352 of file pbx.c.


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