aboutsummaryrefslogtreecommitdiffstats
path: root/configs/calendar.conf.sample
diff options
context:
space:
mode:
authortwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2011-03-04 23:22:39 +0000
committertwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2011-03-04 23:22:39 +0000
commit77bc3aa8e34931ad899c144dd8f570c65da60151 (patch)
treecc06645a95460a214cd95f3b8a3d95c16a0c6f0d /configs/calendar.conf.sample
parentdaef48f98445b5f00f8f1df07b2c21cbfa99f54c (diff)
Add setvar option to calendaring
Adding the setvar option with variable substitution on the value allows things like setting the outbound caller id name to the summary of a calendar event, etc. Values could be chained together as they are appended in order to do some scripting if necessary. Review: https://reviewboard.asterisk.org/r/1134/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@309640 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs/calendar.conf.sample')
-rw-r--r--configs/calendar.conf.sample7
1 files changed, 7 insertions, 0 deletions
diff --git a/configs/calendar.conf.sample b/configs/calendar.conf.sample
index ad3ce0983..82b8702f0 100644
--- a/configs/calendar.conf.sample
+++ b/configs/calendar.conf.sample
@@ -32,6 +32,13 @@
;appdata = tt-weasels ; Data part of application to execute on answer
;
;waittime = 30 ; How long to wait for an answer, defaults to 30 seconds
+;
+; Channel variables can be set on the notification channel. The format is
+; setvar=name=value. Variable subsitution is done on the value to allow the use of dialplan
+; functions like CALENDAR_EVENT. The variables are set in order, so one can use the value
+; of earlier variables in the definition of later ones.
+;
+;setvar = CALLERID(name)=${CALENDAR_EVENT(summary)}
;[calendar2]
; Note: Support for Exchange Server 2003