Merge another change from team/russell/events ...
[asterisk-bristuff.git] / configs / features.conf.sample
blob6e833891fe9f37cbfea2afd9a56aeee9707a53ce
2 ; Sample Call Features (parking, transfer, etc) configuration
5 [general]
6 parkext => 700                  ; What extension to dial to park        (all parking lots)
7 parkpos => 701-720              ; What extensions to park calls on. (defafult parking lot)
8                                 ; These needs to be numeric, as Asterisk starts from the start position
9                                 ; and increments with one for the next parked call.
10 context => parkedcalls          ; Which context parked calls are in (default parking lot)
11 context => parkedcalls          ; Which context parked calls are in
12 ;parkingtime => 45              ; Number of seconds a call can be parked for 
13                                 ; (default is 45 seconds)
14 ;courtesytone = beep            ; Sound file to play to the parked caller 
15                                 ; when someone dials a parked call
16                                 ; or the Touch Monitor is activated/deactivated.
17 ;parkedplay = caller            ; Who to play the courtesy tone to when picking up a parked call
18                                 ; one of: parked, caller, both  (default is caller)
19 ;parkedcalltransfers = caller   ; Enables or disables DTMF based transfers when picking up a parked call.
20                                 ; one of: callee, caller, both, no (default is no)
21 ;parkedcallreparking = caller   ; Enables or disables DTMF based parking when picking up a parked call.
22                                 ; one of: callee, caller, both, no (default is no)
23 ;adsipark = yes                 ; if you want ADSI parking announcements
24 ;findslot => next               ; Continue to the 'next' free parking space. 
25                                 ; Defaults to 'first' available
26 ;parkedmusicclass=default       ; This is the MOH class to use for the parked channel
27                                 ; as long as the class is not set on the channel directly
28                                 ; using Set(CHANNEL(musicclass)=whatever) in the dialplan
30 ;transferdigittimeout => 3      ; Number of seconds to wait between digits when transferring a call
31                                 ; (default is 3 seconds)
32 ;xfersound = beep               ; to indicate an attended transfer is complete
33 ;xferfailsound = beeperr        ; to indicate a failed transfer
34 ;pickupexten = *8               ; Configure the pickup extension. (default is *8)
35 ;featuredigittimeout = 500      ; Max time (ms) between digits for 
36                                 ; feature activation  (default is 500 ms)
37 ;atxfernoanswertimeout = 15 ; Timeout for answer on attended transfer default is 15 seconds.
38 ;atxferdropcall = no        ; If someone does an attended transfer, then hangs up before the transferred
39                             ; caller is connected, then by default, the system will try to call back the
40                             ; person that did the transfer.  If this is set to "yes", the callback will
41                             ; not be attempted and the transfer will just fail.
42 ;atxferloopdelay = 10       ; Number of seconds to sleep between retries (if atxferdropcall = no)
43 ;atxfercallbackretries = 2  ; Number of times to attempt to send the call back to the transferer.
44                             ; By default, this is 2.
46 ; Note that the DTMF features listed below only work when two channels have answered and are bridged together.
47 ; They can not be used while the remote party is ringing or in progress. If you require this feature you can use
48 ; chan_local in combination with Answer to accomplish it.
51 [featuremap]
52 ;blindxfer => #1                ; Blind transfer  (default is #)
53 ;disconnect => *0               ; Disconnect  (default is *)
54 ;automon => *1                  ; One Touch Record a.k.a. Touch Monitor
55 ;atxfer => *2                   ; Attended transfer
56 ;parkcall => #72                ; Park call (one step parking)
57 ;automixmon => *3               ; One Touch Record a.k.a. Touch MixMonitor
59 [applicationmap]
60 ; Note that the DYNAMIC_FEATURES channel variable must be set to use the features
61 ; defined here.  The value of DYNAMIC_FEATURES should be the names of the features
62 ; to allow the channel to use separated by '#'.  For example:
64 ;    Set(__DYNAMIC_FEATURES=myfeature1#myfeature2#myfeature3)
66 ; (Note: The two leading underscores allow these feature settings to be set on
67 ;  on the outbound channels, as well.  Otherwise, only the original channel
68 ;  will have access to these features.)
70 ; The syntax for declaring a dynamic feature is the following:
72 ;<FeatureName> => <DTMF_sequence>,<ActivateOn>[/<ActivatedBy>],<Application>[,<AppArguments>[,MOH_Class]]
74 ;  FeatureName   -> This is the name of the feature used in when setting the
75 ;                   DYNAMIC_FEATURES variable to enable usage of this feature.
76 ;  DTMF_sequence -> This is the key sequence used to activate this feature.
77 ;  ActivateOn    -> This is the channel of the call that the application will be executed
78 ;                   on. Valid values are "self" and "peer". "self" means run the
79 ;                   application on the same channel that activated the feature. "peer"
80 ;                   means run the application on the opposite channel from the one that
81 ;                   has activated the feature.
82 ;  ActivatedBy   -> This is which channel is allowed to activate this feature. Valid
83 ;                   values are "caller", "callee", and "both". "both" is the default.
84 ;                   The "caller" is the channel that executed the Dial application, while
85 ;                   the "callee" is the channel called by the Dial application.
86 ;  Application   -> This is the application to execute.
87 ;  AppArguments  -> These are the arguments to be passed into the application.
88 ;  MOH_Class     -> This is the music on hold class to play while the idle
89 ;                   channel waits for the feature to complete. If left blank,
90 ;                   no music will be played.
94 ; IMPORTANT NOTE: The applicationmap is not intended to be used for all Asterisk
95 ;   applications. When applications are used in extensions.conf, they are executed
96 ;   by the PBX core. In this case, these applications are executed outside of the
97 ;   PBX core, so it does *not* make sense to use any application which has any
98 ;   concept of dialplan flow. Examples of this would be things like Macro, Goto,
99 ;   Background, WaitExten, and many more.
101 ; Enabling these features means that the PBX needs to stay in the media flow and
102 ; media will not be re-directed if DTMF is sent in the media stream.
104 ; Example Usage:
106 ;testfeature => #9,peer,Playback,tt-monkeys  ;Allow both the caller and callee to play
107 ;                                            ;tt-monkeys to the opposite channel
109 ;pauseMonitor   => #1,self/callee,Pausemonitor     ;Allow the callee to pause monitoring
110 ;                                                  ;on their channel
111 ;unpauseMonitor => #3,self/callee,UnPauseMonitor   ;Allow the callee to unpause monitoring
112 ;                                                  ;on their channel
114 ;*** Define another parking lot
116 ; You can set parkinglot with the CHANNEL dialplan function
117 ; or configure it in the device configuration in the channel
119 ;[parkinglot_edvina]
120 ;context => edvinapark
121 ;parkpos => 800-850
122 ;findslot => next
124 ; GROUPS
125 ;   Groups are groupings of features defined in [applicationmap]
126 ;   that can have their own key mappings.
128 ; example:
129 ; [myGroupName]        ; defines the group named myGroupName
130 ; testfeature => #9    ; associates testfeature with the group and the keycode #9
131 ; pauseMonitor         ; associates pauseMonitor with the group and the keycode