asterisk/features.conf

changeset 202
f29abea29121
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/asterisk/features.conf	Mon Apr 27 12:19:05 2009 +0200
     1.3 @@ -0,0 +1,95 @@
     1.4 +;
     1.5 +; Sample Call Features (parking, transfer, etc) configuration
     1.6 +;
     1.7 +
     1.8 +;[general]
     1.9 +;parkext => 700			; What extension to dial to park
    1.10 +;parkpos => 701-720		; What extensions to park calls on. These needs to be
    1.11 +				; numeric, as Asterisk starts from the start position
    1.12 +				; and increments with one for the next parked call.
    1.13 +;context => parkedcalls		; Which context parked calls are in
    1.14 +;parkingtime => 45		; Number of seconds a call can be parked for 
    1.15 +				; (default is 45 seconds)
    1.16 +;courtesytone = beep		; Sound file to play to the parked caller 
    1.17 +				; when someone dials a parked call
    1.18 +				; or the Touch Monitor is activated/deactivated.
    1.19 +;parkedplay = caller		; Who to play the courtesy tone to when picking up a parked call
    1.20 +				; one of: parked, caller, both  (default is caller)
    1.21 +;adsipark = yes			; if you want ADSI parking announcements
    1.22 +;findslot => next		; Continue to the 'next' free parking space. 
    1.23 +				; Defaults to 'first' available
    1.24 +;parkedmusicclass=default	; This is the MOH class to use for the parked channel
    1.25 +				; as long as the class is not set on the channel directly
    1.26 +				; using Set(CHANNEL(musicclass)=whatever) in the dialplan
    1.27 +
    1.28 +;transferdigittimeout => 3	; Number of seconds to wait between digits when transferring a call
    1.29 +				; (default is 3 seconds)
    1.30 +;xfersound = beep		; to indicate an attended transfer is complete
    1.31 +;xferfailsound = beeperr	; to indicate a failed transfer
    1.32 +;pickupexten = *8		; Configure the pickup extension. (default is *8)
    1.33 +;featuredigittimeout = 500	; Max time (ms) between digits for 
    1.34 +				; feature activation  (default is 500 ms)
    1.35 +;atxfernoanswertimeout = 15	; Timeout for answer on attended transfer default is 15 seconds.
    1.36 +
    1.37 +; Note that the DTMF features listed below only work when two channels have answered and are bridged together.
    1.38 +; They can not be used while the remote party is ringing or in progress. If you require this feature you can use
    1.39 +; chan_local in combination with Answer to accomplish it.
    1.40 +
    1.41 +;[featuremap]
    1.42 +;blindxfer => #1		; Blind transfer  (default is #)
    1.43 +;disconnect => *0		; Disconnect  (default is *)
    1.44 +;automon => *1			; One Touch Record a.k.a. Touch Monitor
    1.45 +;atxfer => *2			; Attended transfer
    1.46 +;parkcall => #72                ; Park call (one step parking)
    1.47 +
    1.48 +;[applicationmap]
    1.49 +; Note that the DYNAMIC_FEATURES channel variable must be set to use the features
    1.50 +; defined here.  The value of DYNAMIC_FEATURES should be the names of the features
    1.51 +; to allow the channel to use separated by '#'.  For example:
    1.52 +;
    1.53 +;    Set(DYNAMIC_FEATURES=myfeature1#myfeature2#myfeature3)
    1.54 +;
    1.55 +;
    1.56 +; The syntax for declaring a dynamic feature is the following:
    1.57 +;
    1.58 +;<FeatureName> => <DTMF_sequence>,<ActivateOn>[/<ActivatedBy>],<Application>[,<AppArguments>[,MOH_Class]]
    1.59 +;
    1.60 +;  FeatureName   -> This is the name of the feature used in when setting the
    1.61 +;                   DYNAMIC_FEATURES variable to enable usage of this feature.
    1.62 +;  DTMF_sequence -> This is the key sequence used to activate this feature.
    1.63 +;  ActivateOn    -> This is the channel of the call that the application will be executed
    1.64 +;                   on. Valid values are "self" and "peer". "self" means run the
    1.65 +;                   application on the same channel that activated the feature. "peer"
    1.66 +;                   means run the application on the opposite channel from the one that
    1.67 +;                   has activated the feature.
    1.68 +;  ActivatedBy   -> This is which channel is allowed to activate this feature. Valid
    1.69 +;                   values are "caller", "callee", and "both". "both" is the default.
    1.70 +;                   The "caller" is the channel that executed the Dial application, while
    1.71 +;                   the "callee" is the channel called by the Dial application.
    1.72 +;  Application   -> This is the application to execute.
    1.73 +;  AppArguments  -> These are the arguments to be passed into the application.
    1.74 +;  MOH_Class     -> This is the music on hold class to play while the idle
    1.75 +;                   channel waits for the feature to complete. If left blank,
    1.76 +;                   no music will be played.
    1.77 +;
    1.78 +;
    1.79 +; IMPORTANT NOTE: The applicationmap is not intended to be used for all Asterisk
    1.80 +;   applications. When applications are used in extensions.conf, they are executed
    1.81 +;   by the PBX core. In this case, these applications are executed outside of the
    1.82 +;   PBX core, so it does *not* make sense to use any application which has any
    1.83 +;   concept of dialplan flow. Examples of this would be things like Macro, Goto,
    1.84 +;   Background, WaitExten, and many more.
    1.85 +;
    1.86 +; Enabling these features means that the PBX needs to stay in the media flow and
    1.87 +; media will not be re-directed if DTMF is sent in the media stream.
    1.88 +;
    1.89 +; Example Usage:
    1.90 +;
    1.91 +;testfeature => #9,peer,Playback,tt-monkeys  ;Allow both the caller and callee to play
    1.92 +;                                            ;tt-monkeys to the opposite channel
    1.93 +;
    1.94 +;pauseMonitor   => #1,self/callee,Pausemonitor     ;Allow the callee to pause monitoring
    1.95 +;                                                  ;on their channel
    1.96 +;unpauseMonitor => #3,self/callee,UnPauseMonitor   ;Allow the callee to unpause monitoring
    1.97 +;                                                  ;on their channel
    1.98 +;

mercurial