summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorTerry Wilson <twilson@digium.com>2011-03-04 23:22:39 +0000
committerTerry Wilson <twilson@digium.com>2011-03-04 23:22:39 +0000
commit01a453351d06aa8e89101972d10c7d24ef073064 (patch)
treecc06645a95460a214cd95f3b8a3d95c16a0c6f0d /configs
parentf6c2ebff45deaba14e450c09c6deb9d9500c88a2 (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: https://origsvn.digium.com/svn/asterisk/trunk@309640 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-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