calendar.conf.sample 5.0 KB

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