aboutsummaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authortwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-28 19:57:18 +0000
committertwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-28 19:57:18 +0000
commitaec81d8f107b56424249365073b405e73dfca5df (patch)
tree06e5a5bc8f64c59d16c4d0666287b93f8a7ec546 /configs
parenta9296071c7d109d35f294040985492aaa79e4933 (diff)
Add Calendaring support for Asterisk
This commit add Calendaring support to Asterisk for iCalendar, CalDAV, and MS Exchange calendars. Exchange support has only been tested on Exchange Server 2k3 and does not support forms-based authentication at this time (patches *very* welcome). Exchange support is also currently missing the ability to return a list of a meting's attendees (again, patches are very, very welcome). Features include: Querying a calendar for events over a specific time range Checking a calendar's busy status via the dialplan Writing calendar events via the dialplan (CalDAV and Exchange only) Handling calendar event notifications through the dialplan (closes issue #14771) Tested by: lmadsen, twilson, Shivaprakash Review: https://reviewboard.asterisk.org/r/58 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197738 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs')
-rw-r--r--configs/calendar.conf.sample80
1 files changed, 80 insertions, 0 deletions
diff --git a/configs/calendar.conf.sample b/configs/calendar.conf.sample
new file mode 100644
index 000000000..b9b67c4b4
--- /dev/null
+++ b/configs/calendar.conf.sample
@@ -0,0 +1,80 @@
+;[calendar1]
+;type = ical ; type of calendar--currently supported: ical, caldav, or exchange
+;url = https://example.com/home/jdoe/Calendar/ ; URL to shared calendar (Zimbra example)
+;user = jdoe ; web username
+;secret = supersecret ; web password
+;refresh = 15 ; refresh calendar every n minutes
+;timeframe = 60 ; number of minutes of calendar data to pull for each refresh period
+; ; should always be >= refresh
+;
+; You can set up res_icalendar to execute a call upon an upcoming busy status
+; The following fields are available from the ${CALENDAR_EVENT(<field>)} dialplan function:
+;
+; summary : The VEVENT Summary property or Exchange subject
+; description : The text description of the vent
+; organizer : The organizer of the event
+; location : The location field of the event
+; calendar : The name of the calendar tied to the event
+; uid : The unique ID for this event
+; start : Start time of the event
+; end : The end time of the event
+; busystate : 0=FREE, 1=TENTATIVE, 2=BUSY
+;
+;autoreminder = 10 ; Override event-defined reminder before each busy status (in mins)
+;
+;channel = SIP/60001 ; Channel to dial
+;context = default ; Context to connect to on answer
+;extension = 123 ; Extension to connect to on answer
+;
+; or
+;
+;app = Playback ; Application to execute on answer (instead of context/extension)
+;appdata = tt-weasels ; Data part of application to execute on answer
+;
+;waittime = 30 ; How long to wait for an answer
+
+;[calendar2]
+;type = exchange ; type of calendar--currently supported: ical, caldav, or exchange
+;url = https://example.com/exchange/jdoe ; URL to MS Exchange OWA for user (usually includes exchange/user)
+;user = jdoe ; Exchange username
+;secret = mysecret ; Exchange password
+;refresh = 15 ; refresh calendar every n minutes
+;timeframe = 60 ; number of minutes of calendar data to pull for each refresh period
+; ; should always be >= refresh
+;
+; You can set up res_icalendar to execute a call upon an upcoming busy status
+;autoreminder = 10 ; Override event-defined reminder before each busy status (in mins)
+;
+;channel = SIP/1234 ; Channel to dial
+;context = default ; Context to connect to on answer
+;extension = 1234 ; Extension to connect to on answer
+;
+; or
+;
+;app = Playback ; Application to execute on answer (instead of context/extension)
+;appdata = tt-weasels ; Data part of application to execute on answer
+;
+;waittime = 30 ; How long to wait for an answer
+
+;[calendar3]
+;type = caldav ; type of calendar--currently supported: ical, caldav, or exchange
+;url = https://www.google.com/calendar/dav/username@gmail.com/events/ ; Main GMail calendar (the trailing slash is significant!)
+;user = jdoe@gmail.com ; username
+;secret = mysecret ; password
+;refresh = 15 ; refresh calendar every n minutes
+;timeframe = 60 ; number of minutes of calendar data to pull for each refresh period
+; ; should always be >= refresh
+;
+; You can set up res_icalendar to execute a call upon an upcoming busy status
+;autoreminder = 10 ; Override event-defined reminder before each busy status (in mins)
+;
+;channel = SIP/1234 ; Channel to dial
+;context = default ; Context to connect to on answer
+;extension = 1234 ; Extension to connect to on answer
+;
+; or
+;
+;app = Playback ; Application to execute on answer (instead of context/extension)
+;appdata = tt-weasels ; Data part of application to execute on answer
+;
+;waittime = 30 ; How long to wait for an answer