| 1 |
;[calendar1] |
| 2 |
;type = ical ; type of calendar--currently supported: ical, caldav, exchange, or ews |
| 3 |
;url = https://example.com/home/jdoe/Calendar/ ; URL to shared calendar (Zimbra example) |
| 4 |
;user = jdoe ; web username |
| 5 |
;secret = supersecret ; web password |
| 6 |
;refresh = 15 ; refresh calendar every n minutes |
| 7 |
;timeframe = 60 ; number of minutes of calendar data to pull for each refresh period |
| 8 |
; ; should always be >= refresh |
| 9 |
;fetch_again_at_reload = no ; to reload the calendar content when the module is reloaded |
| 10 |
; |
| 11 |
; |
| 12 |
; You can set up res_calendar to execute a call upon an upcoming busy status |
| 13 |
; The following fields are available from the ${CALENDAR_EVENT(<field>)} dialplan function: |
| 14 |
; |
| 15 |
; summary : The VEVENT Summary property or Exchange subject |
| 16 |
; description : The text description of the vent |
| 17 |
; organizer : The organizer of the event |
| 18 |
; location : The location field of the event |
| 19 |
; calendar : The name of the calendar tied to the event |
| 20 |
; uid : The unique ID for this event |
| 21 |
; start : Start time of the event |
| 22 |
; end : The end time of the event |
| 23 |
; busystate : 0=FREE, 1=TENTATIVE, 2=BUSY |
| 24 |
; |
| 25 |
;autoreminder = 10 ; Override event-defined reminder before each busy status (in mins) |
| 26 |
; |
| 27 |
;channel = SIP/60001 ; Channel to dial |
| 28 |
;context = default ; Context to connect to on answer |
| 29 |
;extension = 123 ; Extension to connect to on answer |
| 30 |
; |
| 31 |
; or |
| 32 |
; |
| 33 |
;app = Playback ; Application to execute on answer (instead of context/extension) |
| 34 |
;appdata = tt-weasels ; Data part of application to execute on answer |
| 35 |
; |
| 36 |
;waittime = 30 ; How long to wait for an answer, defaults to 30 seconds |
| 37 |
; |
| 38 |
; Channel variables can be set on the notification channel. The format is |
| 39 |
; setvar=name=value. Variable subsitution is done on the value to allow the use of dialplan |
| 40 |
; functions like CALENDAR_EVENT. The variables are set in order, so one can use the value |
| 41 |
; of earlier variables in the definition of later ones. |
| 42 |
; |
| 43 |
;setvar = CALLERID(name)=${CALENDAR_EVENT(summary)} |
| 44 |
|
| 45 |
;[calendar2] |
| 46 |
; Note: Support for Exchange Server 2003 |
| 47 |
; |
| 48 |
;type = exchange ; type of calendar--currently supported: ical, caldav, exchange, or ews |
| 49 |
;url = https://example.com/exchange/jdoe ; URL to MS Exchange OWA for user (usually includes exchange/user) |
| 50 |
;user = jdoe ; Exchange username |
| 51 |
;secret = mysecret ; Exchange password |
| 52 |
;refresh = 15 ; refresh calendar every n minutes |
| 53 |
;timeframe = 60 ; number of minutes of calendar data to pull for each refresh period |
| 54 |
; ; should always be >= refresh |
| 55 |
; |
| 56 |
; You can set up res_calendar to execute a call upon an upcoming busy status |
| 57 |
;autoreminder = 10 ; Override event-defined reminder before each busy status (in mins) |
| 58 |
; |
| 59 |
;channel = SIP/1234 ; Channel to dial |
| 60 |
;context = default ; Context to connect to on answer |
| 61 |
;extension = 1234 ; Extension to connect to on answer |
| 62 |
; |
| 63 |
; or |
| 64 |
; |
| 65 |
;[calendar3] |
| 66 |
; Note: Support for Exchange Server 2007+ |
| 67 |
; |
| 68 |
;type = ews ; type of calendar--currently supported: ical, caldav, exchange, or ews |
| 69 |
;url = https://example.com/ews/Exchange.asmx ; URL to MS Exchange EWS |
| 70 |
;user = jdoe ; Exchange username |
| 71 |
;secret = mysecret ; Exchange password |
| 72 |
;refresh = 15 ; refresh calendar every n minutes |
| 73 |
;timeframe = 60 ; number of minutes of calendar data to pull for each refresh period |
| 74 |
; ; should always be >= refresh |
| 75 |
; |
| 76 |
; You can set up res_calendar to execute a call upon an upcoming busy status |
| 77 |
;autoreminder = 10 ; Override event-defined reminder before each busy status (in mins) |
| 78 |
; |
| 79 |
;channel = SIP/1234 ; Channel to dial |
| 80 |
;context = default ; Context to connect to on answer |
| 81 |
;extension = 1234 ; Extension to connect to on answer |
| 82 |
; |
| 83 |
; or |
| 84 |
; |
| 85 |
;app = Playback ; Application to execute on answer (instead of context/extension) |
| 86 |
;appdata = tt-weasels ; Data part of application to execute on answer |
| 87 |
; |
| 88 |
;waittime = 30 ; How long to wait for an answer, defaults to 30 seconds |
| 89 |
|
| 90 |
;[calendar4] |
| 91 |
;type = caldav ; type of calendar--currently supported: ical, caldav, exchange, or ews |
| 92 |
;url = https://www.google.com/calendar/dav/[email protected]/events/ ; Main GMail calendar (the trailing slash is significant!) |
| 93 |
;user = [email protected] ; username |
| 94 |
;secret = mysecret ; password |
| 95 |
;refresh = 15 ; refresh calendar every n minutes |
| 96 |
;timeframe = 60 ; number of minutes of calendar data to pull for each refresh period |
| 97 |
; ; should always be >= refresh |
| 98 |
; |
| 99 |
; You can set up res_calendar to execute a call upon an upcoming busy status |
| 100 |
;autoreminder = 10 ; Override event-defined reminder before each busy status (in mins) |
| 101 |
; |
| 102 |
;channel = SIP/1234 ; Channel to dial |
| 103 |
;context = default ; Context to connect to on answer |
| 104 |
;extension = 1234 ; Extension to connect to on answer |
| 105 |
; |
| 106 |
; or |
| 107 |
; |
| 108 |
;app = Playback ; Application to execute on answer (instead of context/extension) |
| 109 |
;appdata = tt-weasels ; Data part of application to execute on answer |
| 110 |
; |
| 111 |
;waittime = 30 ; How long to wait for an answer, defaults to 30 seconds |