aboutsummaryrefslogtreecommitdiffstats
path: root/configs/features.conf.sample
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-04-14 22:57:35 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-04-14 22:57:35 +0000
commit4d81b057bc8aab9a768b3202e755fc2005b850af (patch)
tree6c277226cea670528141d2b21051e0432919dc44 /configs/features.conf.sample
parentd335ea2e7b0c6011d017d2589dd49fc358a9883d (diff)
Yet another issue where the conversion of the application delimiter to comma caused an issue.
Application arguments within the feature map could possibly contain a comma, which conflicts with the syntax of the features.conf configuration file. This patch allows the argument to be wrapped in parentheses or quoted, to allow the application arguments to be interpreted as a single configuration parameter. (closes issue #16646) Reported by: pinga-fogo Patches: 20100414__issue16646.diff.txt uploaded by tilghman (license 14) Tested by: tilghman Review: https://reviewboard.asterisk.org/r/547/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@257262 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs/features.conf.sample')
-rw-r--r--configs/features.conf.sample12
1 files changed, 10 insertions, 2 deletions
diff --git a/configs/features.conf.sample b/configs/features.conf.sample
index 6e582f7a3..e8e428010 100644
--- a/configs/features.conf.sample
+++ b/configs/features.conf.sample
@@ -77,9 +77,11 @@ context => parkedcalls ; Which context parked calls are in (default parking lot
; on the outbound channels, as well. Otherwise, only the original channel
; will have access to these features.)
;
-; The syntax for declaring a dynamic feature is the following:
+; The syntax for declaring a dynamic feature is any of the following:
;
;<FeatureName> => <DTMF_sequence>,<ActivateOn>[/<ActivatedBy>],<Application>[,<AppArguments>[,MOH_Class]]
+;<FeatureName> => <DTMF_sequence>,<ActivateOn>[/<ActivatedBy>],<Application>[,"<AppArguments>"[,MOH_Class]]
+;<FeatureName> => <DTMF_sequence>,<ActivateOn>[/<ActivatedBy>],<Application>([<AppArguments>])[,MOH_Class]
;
; FeatureName -> This is the name of the feature used in when setting the
; DYNAMIC_FEATURES variable to enable usage of this feature.
@@ -94,7 +96,9 @@ context => parkedcalls ; Which context parked calls are in (default parking lot
; The "caller" is the channel that executed the Dial application, while
; the "callee" is the channel called by the Dial application.
; Application -> This is the application to execute.
-; AppArguments -> These are the arguments to be passed into the application.
+; AppArguments -> These are the arguments to be passed into the application. If you need
+; commas in your arguments, you should use either the second or third
+; syntax, above.
; MOH_Class -> This is the music on hold class to play while the idle
; channel waits for the feature to complete. If left blank,
; no music will be played.
@@ -116,6 +120,10 @@ context => parkedcalls ; Which context parked calls are in (default parking lot
;testfeature => #9,peer,Playback,tt-monkeys ;Allow both the caller and callee to play
; ;tt-monkeys to the opposite channel
;
+; Set arbitrary channel variables, based upon CALLERID number (Note that the application
+; argument contains commas)
+;retrieveinfo => #8,peer,Set(ARRAY(CDR(mark),CDR(name))=${ODBC_FOO(${CALLERID(num)})})
+;
;pauseMonitor => #1,self/callee,Pausemonitor ;Allow the callee to pause monitoring
; ;on their channel
;unpauseMonitor => #3,self/callee,UnPauseMonitor ;Allow the callee to unpause monitoring