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

Asterisk calendar structure. More...

#include <calendar.h>

Data Fields

struct ast_string_field_mgr __field_mgr
 
struct ast_string_field_pool__field_mgr_pool
 
int autoreminder
 
struct ao2_containerevents
 
int fetch_again_at_reload
 
const ast_string_field name
 
const ast_string_field notify_app
 
const ast_string_field notify_appdata
 
const ast_string_field notify_channel
 
const ast_string_field notify_context
 
const ast_string_field notify_extension
 
int notify_waittime
 
unsigned int pending_deletion:1
 
int refresh
 
const struct ast_calendar_techtech
 
void * tech_pvt
 
pthread_t thread
 
int timeframe
 
ast_cond_t unload
 
unsigned int unloading:1
 
struct ast_variablevars
 

Detailed Description

Asterisk calendar structure.

Definition at line 119 of file calendar.h.

Field Documentation

int autoreminder

If set, override any calendar_tech specific notification times and use this time (in mins)

Definition at line 131 of file calendar.h.

Referenced by build_calendar().

struct ao2_container* events

The events that are known at this time

Definition at line 140 of file calendar.h.

Referenced by ast_calendar_clear_events(), ast_calendar_merge_events(), and build_calendar().

int fetch_again_at_reload

To reload the calendar content when the module is reloaded

Definition at line 134 of file calendar.h.

Referenced by build_calendar().

const ast_string_field name

Name from config file [name]

Definition at line 129 of file calendar.h.

Referenced by PathSegment::__init__(), ast_calendar_clear_events(), build_calendar(), PathSegment::get_child(), and handle_show_calendars().

const ast_string_field notify_app

Optional dialplan app to execute for notification

Definition at line 129 of file calendar.h.

const ast_string_field notify_appdata

Optional arguments for dialplan app

Definition at line 129 of file calendar.h.

const ast_string_field notify_channel

Channel to use for notification

Definition at line 129 of file calendar.h.

Referenced by build_calendar().

const ast_string_field notify_context

Optional context to execute from for notification

Definition at line 129 of file calendar.h.

const ast_string_field notify_extension

Optional extension to execute from for notification

Definition at line 129 of file calendar.h.

int notify_waittime

Maxiumum time to allow for a notification attempt

Definition at line 132 of file calendar.h.

Referenced by build_calendar().

int refresh

When to refresh the calendar events

Definition at line 133 of file calendar.h.

Referenced by build_calendar().

pthread_t thread

The thread that the calendar is loaded/updated in

Definition at line 136 of file calendar.h.

Referenced by build_calendar().

int timeframe

Span (in mins) of calendar data to pull with each request

Definition at line 135 of file calendar.h.

Referenced by build_calendar().

struct ast_variable* vars

Channel variables to pass to notification channel

Definition at line 130 of file calendar.h.

Referenced by build_calendar().


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