2 ; Sample Call Features (parking, transfer, etc) configuration
6 parkext => 700 ; What extension to dial to park
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 ;parkinghints = no ; Add hints priorities automatically for parking slots (default is no).
12 ;parkingtime => 45 ; Number of seconds a call can be parked for
13 ; (default is 45 seconds)
15 ;comebacktoorigin = yes ; Setting this option configures the behavior of call parking when the
16 ; parked call times out (See the parkingtime option). The default value is 'yes'.
18 ; 'yes' - When the parked call times out, attempt to send the call back to the peer
19 ; that parked this call. This is done by saving off the name of the channel
20 ; that parked the call.
22 ; 'no' - This option is useful for performing custom dialplan functionality prior to
23 ; sending the call back to the extension that initially parked the call, or to
24 ; an entirely different destination.
26 ; When the parked call times out, send it back to the dialplan. The location
27 ; will be the 'parkedcallstimeout' context. The extension will be built from
28 ; the saved channel name that parked the call. For example, if a SIP peer named
29 ; '0004F2040001' parked this call, the extension will be 'SIP_0004F2040001'.
30 ; (Note that an underscore is used here because the '/' character has a special
31 ; meaning in extension names for CallerID matching.) If this extension does not
32 ; exist, the call will be sent to the 's' extension, instead. Finally, if the 's'
33 ; extension of 'parkedcallstimeout' does not exist, the call will fall back to the
34 ; 's' extension of the 'default' context.
36 ; Additionally, in this example an extension of 'SIP_0004F2040001' will be
37 ; created in the 'park-dial' context. This extension will be set up to do a
38 ; Dial() to 'SIP/0004F2040001'.
41 ;courtesytone = beep ; Sound file to play to the parked caller
42 ; when someone dials a parked call
43 ; or the Touch Monitor is activated/deactivated.
44 ;parkedplay = caller ; Who to play the courtesy tone to when picking up a parked call
45 ; one of: parked, caller, both (default is caller)
46 ;parkedcalltransfers = caller ; Enables or disables DTMF based transfers when picking up a parked call.
47 ; one of: callee, caller, both, no (default is no)
48 ;parkedcallreparking = caller ; Enables or disables DTMF based parking when picking up a parked call.
49 ; one of: callee, caller, both, no (default is no)
50 ;parkedcallhangup = caller ; Enables or disables DTMF based hangups when picking up a parked call.
51 ; one of: callee, caller, both, no (default is no)
52 ;parkedcallrecording = caller ; Enables or disables DTMF based one-touch recording when picking up a parked call.
53 ; one of: callee, caller, both, no (default is no)
54 ;parkeddynamic = yes ; Enables dynamically created parkinglots. (default is no)
55 ;adsipark = yes ; if you want ADSI parking announcements
56 ;findslot => next ; Continue to the 'next' free parking space.
57 ; Defaults to 'first' available
58 ;parkedmusicclass=default ; This is the MOH class to use for the parked channel
59 ; as long as the class is not set on the channel directly
60 ; using Set(CHANNEL(musicclass)=whatever) in the dialplan
62 ;transferdigittimeout => 3 ; Number of seconds to wait between digits when transferring a call
63 ; (default is 3 seconds)
64 ;xfersound = beep ; to indicate an attended transfer is complete
65 ;xferfailsound = beeperr ; to indicate a failed transfer
66 ;pickupexten = *8 ; Configure the pickup extension. (default is *8)
67 ;pickupsound = beep ; to indicate a successful pickup (default: no sound)
68 ;pickupfailsound = beeperr ; to indicate that the pickup failed (default: no sound)
69 ;featuredigittimeout = 1000 ; Max time (ms) between digits for
70 ; feature activation (default is 1000 ms)
71 ;atxfernoanswertimeout = 15 ; Timeout for answer on attended transfer default is 15 seconds.
72 ;atxferdropcall = no ; If someone does an attended transfer, then hangs up before the transferred
73 ; caller is connected, then by default, the system will try to call back the
74 ; person that did the transfer. If this is set to "yes", the callback will
75 ; not be attempted and the transfer will just fail.
76 ;atxferloopdelay = 10 ; Number of seconds to sleep between retries (if atxferdropcall = no)
77 ;atxfercallbackretries = 2 ; Number of times to attempt to send the call back to the transferer.
78 ; By default, this is 2.
81 ;*** Define another parking lot
83 ; You can set parkinglot with the CHANNEL dialplan function
84 ; or by setting 'parkinglot' directly in the channel configuration file.
86 ; (Note: Leading '0's and any non-numerical characters on parkpos extensions
87 ; will be ignored. Parkext on the other hand can be any string.)
90 ;context => edvinapark
95 ; Note that the DTMF features listed below only work when two channels have answered and are bridged together.
96 ; They can not be used while the remote party is ringing or in progress. If you require this feature you can use
97 ; chan_local in combination with Answer to accomplish it.
101 ;blindxfer => #1 ; Blind transfer (default is #) -- Make sure to set the T and/or t option in the Dial() or Queue() app call!
102 ;disconnect => *0 ; Disconnect (default is *) -- Make sure to set the H and/or h option in the Dial() or Queue() app call!
103 ;automon => *1 ; One Touch Record a.k.a. Touch Monitor -- Make sure to set the W and/or w option in the Dial() or Queue() app call!
104 ;atxfer => *2 ; Attended transfer -- Make sure to set the T and/or t option in the Dial() or Queue() app call!
105 ;parkcall => #72 ; Park call (one step parking) -- Make sure to set the K and/or k option in the Dial() app call!
106 ;automixmon => *3 ; One Touch Record a.k.a. Touch MixMonitor -- Make sure to set the X and/or x option in the Dial() or Queue() app call!
109 ; Note that the DYNAMIC_FEATURES channel variable must be set to use the features
110 ; defined here. The value of DYNAMIC_FEATURES should be the names of the features
111 ; to allow the channel to use separated by '#'. For example:
113 ; Set(__DYNAMIC_FEATURES=myfeature1#myfeature2#myfeature3)
115 ; (Note: The two leading underscores allow these feature settings to be set on
116 ; on the outbound channels, as well. Otherwise, only the original channel
117 ; will have access to these features.)
119 ; The syntax for declaring a dynamic feature is any of the following:
121 ;<FeatureName> => <DTMF_sequence>,<ActivateOn>[/<ActivatedBy>],<Application>[,<AppArguments>[,MOH_Class]]
122 ;<FeatureName> => <DTMF_sequence>,<ActivateOn>[/<ActivatedBy>],<Application>[,"<AppArguments>"[,MOH_Class]]
123 ;<FeatureName> => <DTMF_sequence>,<ActivateOn>[/<ActivatedBy>],<Application>([<AppArguments>])[,MOH_Class]
126 ; FeatureName -> This is the name of the feature used in when setting the
127 ; DYNAMIC_FEATURES variable to enable usage of this feature.
128 ; DTMF_sequence -> This is the key sequence used to activate this feature.
129 ; ActivateOn -> This is the channel of the call that the application will be executed
130 ; on. Valid values are "self" and "peer". "self" means run the
131 ; application on the same channel that activated the feature. "peer"
132 ; means run the application on the opposite channel from the one that
133 ; has activated the feature.
134 ; ActivatedBy -> This is which channel is allowed to activate this feature. Valid
135 ; values are "caller", "callee", and "both". "both" is the default.
136 ; The "caller" is the channel that executed the Dial application, while
137 ; the "callee" is the channel called by the Dial application.
138 ; Application -> This is the application to execute.
139 ; AppArguments -> These are the arguments to be passed into the application. If you need
140 ; commas in your arguments, you should use either the second or third
142 ; MOH_Class -> This is the music on hold class to play while the idle
143 ; channel waits for the feature to complete. If left blank,
144 ; no music will be played.
148 ; IMPORTANT NOTE: The applicationmap is not intended to be used for all Asterisk
149 ; applications. When applications are used in extensions.conf, they are executed
150 ; by the PBX core. In this case, these applications are executed outside of the
151 ; PBX core, so it does *not* make sense to use any application which has any
152 ; concept of dialplan flow. Examples of this would be things like Macro, Goto,
153 ; Background, WaitExten, and many more.
155 ; Enabling these features means that the PBX needs to stay in the media flow and
156 ; media will not be re-directed if DTMF is sent in the media stream.
160 ;testfeature => #9,peer,Playback,tt-monkeys ;Allow both the caller and callee to play
161 ; ;tt-monkeys to the opposite channel
163 ; Set arbitrary channel variables, based upon CALLERID number (Note that the application
164 ; argument contains commas)
165 ;retrieveinfo => #8,peer,Set(ARRAY(CDR(mark),CDR(name))=${ODBC_FOO(${CALLERID(num)})})
167 ;pauseMonitor => #1,self/callee,Pausemonitor ;Allow the callee to pause monitoring
169 ;unpauseMonitor => #3,self/callee,UnPauseMonitor ;Allow the callee to unpause monitoring
172 ; Dynamic Feature Groups:
173 ; Dynamic feature groups are groupings of features defined in [applicationmap]
174 ; that can have their own custom key mappings. To give a channel access to a dynamic
175 ; feature group, add the group name to the value of the DYNAMIC_FEATURES variable.
178 ; [myGroupName] ; defines the group named myGroupName
179 ; testfeature => #9 ; associates testfeature with the group and the keycode '#9'.
180 ; pauseMonitor => ; associates pauseMonitor with the group and uses the keycode specified
181 ; ; in the [applicationmap].