| Asterisk - The Open Source Telephony Project GIT-master-27fb039
    | 

| Data Fields | |
| struct ast_audiohook | audiohook | 
| audiohook used as a callback into this module | |
| char * | context | 
| unsigned char | disabled | 
| char * | exten | 
| unsigned int | hook_id | 
| unsigned int | interval | 
| struct timeval | last_hook | 
State put in a datastore to track the state of the hook
Definition at line 111 of file func_periodic_hook.c.
| struct ast_audiohook audiohook | 
audiohook used as a callback into this module
Definition at line 117 of file func_periodic_hook.c.
Referenced by hook_callback().
| char* context | 
Dialplan context for the hook
Definition at line 123 of file func_periodic_hook.c.
Referenced by hook_state_alloc().
| unsigned char disabled | 
Non-zero if the hook is currently disabled
Definition at line 129 of file func_periodic_hook.c.
| char* exten | 
Dialplan extension for the hook
Definition at line 125 of file func_periodic_hook.c.
Referenced by hook_state_alloc().
| unsigned int hook_id | 
Hook ID
Definition at line 127 of file func_periodic_hook.c.
Referenced by hook_off(), hook_read(), and hook_state_alloc().
| unsigned int interval | 
Seconds between each hook run
Definition at line 119 of file func_periodic_hook.c.
Referenced by hook_state_alloc().
| struct timeval last_hook | 
The last time the hook ran
Definition at line 121 of file func_periodic_hook.c.