System information

The [featuremap] Section
This section allows you to define specific DTMF sequences, which will trigger various
features on channels that have been bridged via options in the Dial() or Queue() ap-
plication. The options are detailed in Table 11-2.
Table 11-2. features.conf [featuremap] section
Option Value/Example Notes Dial()/Queue()
Flags
blindxfer #1 Invokes a blind (unsupervised) transfer T, t
disconnect *0 Hangs up the call H, h
automon *1 Starts recording of the current call using the Monitor() application
(pressing this key sequence a second time stops the recording)
W, w
atxfer *2 Performs an automated transfer T, t
parkcall #72 Parks a call K, k
automixmon *3 Starts recording of the current call using the MixMonitor() ap-
plication (pressing this key sequence again stops the recording)
X, x
The default blindxfer and disconnect codes are # and *, respectively.
Normally you’ll want to change them from the defaults, as they will
interfere with other things that you might want to do (for example, if
you use the Tt option in your Dial() command, every time you press
the # key you’ll initiate a transfer).
The [applicationmap] Section
This section of features.conf allows you to map DTMF codes to dialplan applications.
The caller will be placed on hold until the application has completed execution.
The syntax for defining an application map is as follows (it must appear on a single
line; line breaks are not allowed)
:
<FeatureName> => <DTMF_sequence>,<ActivateOn>[/<ActivatedBy>]
,<Application>([<AppArguments>])[,MOH_Class]
What you are doing is the following:
1. Giving your map a name so that it can be enabled in the dialplan through the use
of the DYNAMIC_FEATURES channel variable.
2. Defining the DTMF sequence that activates this feature (we recommend using at
least two digits for this).
‡ There is some flexibility in the syntax (you can look at the sample file for details), but our example uses the
style we recommend, since it’s the most consistent with typical dialplan syntax.
features.conf | 225