Wed Jan 8 2020 09:50:23

Asterisk developer's documentation


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
 
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
 
int pending_deletion:1
 
int refresh
 
struct ast_calendar_techtech
 
void * tech_pvt
 
pthread_t thread
 
int timeframe
 
ast_cond_t unload
 
int unloading:1
 

Detailed Description

Asterisk calendar structure.

Definition at line 117 of file calendar.h.

Field Documentation

struct ast_string_field_mgr __field_mgr

Definition at line 127 of file calendar.h.

struct ast_string_field_pool* __field_mgr_pool

Definition at line 127 of file calendar.h.

int autoreminder

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

Definition at line 128 of file calendar.h.

Referenced by build_calendar(), handle_show_calendar(), and schedule_calendar_event().

const ast_string_field notify_app

Optional dialplan app to execute for notification

Definition at line 127 of file calendar.h.

Referenced by do_notify(), and handle_show_calendar().

const ast_string_field notify_appdata

Optional arguments for dialplan app

Definition at line 127 of file calendar.h.

Referenced by do_notify(), and handle_show_calendar().

const ast_string_field notify_channel

Channel to use for notification

Definition at line 127 of file calendar.h.

Referenced by do_notify(), and handle_show_calendar().

const ast_string_field notify_context

Optional context to execute from for notification

Definition at line 127 of file calendar.h.

Referenced by do_notify(), and handle_show_calendar().

const ast_string_field notify_extension

Optional extension to execute from for notification

Definition at line 127 of file calendar.h.

Referenced by do_notify(), and handle_show_calendar().

int notify_waittime

Maxiumum time to allow for a notification attempt

Definition at line 129 of file calendar.h.

Referenced by build_calendar(), and do_notify().

int pending_deletion

Definition at line 135 of file calendar.h.

Referenced by build_calendar(), cb_pending_deletion(), and cb_rm_pending_deletion().

int refresh

When to refresh the calendar events

Definition at line 130 of file calendar.h.

Referenced by build_calendar(), caldav_load_calendar(), ewscal_load_calendar(), exchangecal_load_calendar(), handle_show_calendar(), and ical_load_calendar().

pthread_t thread

The thread that the calendar is loaded/updated in

Definition at line 132 of file calendar.h.

Referenced by build_calendar(), and calendar_destructor().

int timeframe

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

Definition at line 131 of file calendar.h.

Referenced by build_calendar(), get_ewscal_ids_for(), handle_show_calendar(), icalendar_update_events(), update_caldav(), and update_exchangecal().


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