CALENDAR_WRITE()
Synopsis
Write an event to a calendar
Description
Example: CALENDAR_WRITE(calendar,field1,field2,field3)=val1,val2,val3
The field and value arguments can easily be set/passed using the HASHKEYS() and HASH() functions
CALENDAR_SUCCESS- The status of the write operation to the calendar- 1 - The event was successfully written to the calendar.
- 0 - The event was not written to the calendar due to network issues, permissions, etc.
Syntax
CALENDAR_WRITE(calendar,field[,...])
Arguments
calendar- The calendar to write tofieldsummary- A summary of the eventdescription- The full event descriptionorganizer- The event organizerlocation- The event locationcategories- The categories of the eventpriority- The priority of the eventuid- The unique identifier for the eventstart- The start time of the event (in seconds since epoch)end- The end time of the event (in seconds since epoch)busystate- The busy status of the event 0=FREE, 1=TENTATIVE, 2=BUSY
See Also
- Asterisk 12 Function_CALENDAR_BUSY
- Asterisk 12 Function_CALENDAR_EVENT
- Asterisk 12 Function_CALENDAR_QUERY
- Asterisk 12 Function_CALENDAR_QUERY_RESULT
Import Version
This documentation was imported from Asterisk Version Unknown