asterisk/features.conf

Fri, 15 Oct 2010 19:06:09 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 15 Oct 2010 19:06:09 +0200
changeset 263
f4a0b439d0fb
permissions
-rw-r--r--

Correct shared library and plugin link logic, as well as informal text.
Update file server URL, update build resource estimations, correct RPATH
logic, allow for qmake(1) static to shared library changes via CONFIG
argument, correct documentation broken title and index links, correct
shared library install path, install only one set of (correct) plugins,
install the designer shared library (as required by QtCreator), announce
features related to shared linking using qmake(1), and correclty
substitute hard coded paths in prl and la library files.

michael@202 1 ;
michael@202 2 ; Sample Call Features (parking, transfer, etc) configuration
michael@202 3 ;
michael@202 4
michael@202 5 ;[general]
michael@202 6 ;parkext => 700 ; What extension to dial to park
michael@202 7 ;parkpos => 701-720 ; What extensions to park calls on. These needs to be
michael@202 8 ; numeric, as Asterisk starts from the start position
michael@202 9 ; and increments with one for the next parked call.
michael@202 10 ;context => parkedcalls ; Which context parked calls are in
michael@202 11 ;parkingtime => 45 ; Number of seconds a call can be parked for
michael@202 12 ; (default is 45 seconds)
michael@202 13 ;courtesytone = beep ; Sound file to play to the parked caller
michael@202 14 ; when someone dials a parked call
michael@202 15 ; or the Touch Monitor is activated/deactivated.
michael@202 16 ;parkedplay = caller ; Who to play the courtesy tone to when picking up a parked call
michael@202 17 ; one of: parked, caller, both (default is caller)
michael@202 18 ;adsipark = yes ; if you want ADSI parking announcements
michael@202 19 ;findslot => next ; Continue to the 'next' free parking space.
michael@202 20 ; Defaults to 'first' available
michael@202 21 ;parkedmusicclass=default ; This is the MOH class to use for the parked channel
michael@202 22 ; as long as the class is not set on the channel directly
michael@202 23 ; using Set(CHANNEL(musicclass)=whatever) in the dialplan
michael@202 24
michael@202 25 ;transferdigittimeout => 3 ; Number of seconds to wait between digits when transferring a call
michael@202 26 ; (default is 3 seconds)
michael@202 27 ;xfersound = beep ; to indicate an attended transfer is complete
michael@202 28 ;xferfailsound = beeperr ; to indicate a failed transfer
michael@202 29 ;pickupexten = *8 ; Configure the pickup extension. (default is *8)
michael@202 30 ;featuredigittimeout = 500 ; Max time (ms) between digits for
michael@202 31 ; feature activation (default is 500 ms)
michael@202 32 ;atxfernoanswertimeout = 15 ; Timeout for answer on attended transfer default is 15 seconds.
michael@202 33
michael@202 34 ; Note that the DTMF features listed below only work when two channels have answered and are bridged together.
michael@202 35 ; They can not be used while the remote party is ringing or in progress. If you require this feature you can use
michael@202 36 ; chan_local in combination with Answer to accomplish it.
michael@202 37
michael@202 38 ;[featuremap]
michael@202 39 ;blindxfer => #1 ; Blind transfer (default is #)
michael@202 40 ;disconnect => *0 ; Disconnect (default is *)
michael@202 41 ;automon => *1 ; One Touch Record a.k.a. Touch Monitor
michael@202 42 ;atxfer => *2 ; Attended transfer
michael@202 43 ;parkcall => #72 ; Park call (one step parking)
michael@202 44
michael@202 45 ;[applicationmap]
michael@202 46 ; Note that the DYNAMIC_FEATURES channel variable must be set to use the features
michael@202 47 ; defined here. The value of DYNAMIC_FEATURES should be the names of the features
michael@202 48 ; to allow the channel to use separated by '#'. For example:
michael@202 49 ;
michael@202 50 ; Set(DYNAMIC_FEATURES=myfeature1#myfeature2#myfeature3)
michael@202 51 ;
michael@202 52 ;
michael@202 53 ; The syntax for declaring a dynamic feature is the following:
michael@202 54 ;
michael@202 55 ;<FeatureName> => <DTMF_sequence>,<ActivateOn>[/<ActivatedBy>],<Application>[,<AppArguments>[,MOH_Class]]
michael@202 56 ;
michael@202 57 ; FeatureName -> This is the name of the feature used in when setting the
michael@202 58 ; DYNAMIC_FEATURES variable to enable usage of this feature.
michael@202 59 ; DTMF_sequence -> This is the key sequence used to activate this feature.
michael@202 60 ; ActivateOn -> This is the channel of the call that the application will be executed
michael@202 61 ; on. Valid values are "self" and "peer". "self" means run the
michael@202 62 ; application on the same channel that activated the feature. "peer"
michael@202 63 ; means run the application on the opposite channel from the one that
michael@202 64 ; has activated the feature.
michael@202 65 ; ActivatedBy -> This is which channel is allowed to activate this feature. Valid
michael@202 66 ; values are "caller", "callee", and "both". "both" is the default.
michael@202 67 ; The "caller" is the channel that executed the Dial application, while
michael@202 68 ; the "callee" is the channel called by the Dial application.
michael@202 69 ; Application -> This is the application to execute.
michael@202 70 ; AppArguments -> These are the arguments to be passed into the application.
michael@202 71 ; MOH_Class -> This is the music on hold class to play while the idle
michael@202 72 ; channel waits for the feature to complete. If left blank,
michael@202 73 ; no music will be played.
michael@202 74 ;
michael@202 75 ;
michael@202 76 ; IMPORTANT NOTE: The applicationmap is not intended to be used for all Asterisk
michael@202 77 ; applications. When applications are used in extensions.conf, they are executed
michael@202 78 ; by the PBX core. In this case, these applications are executed outside of the
michael@202 79 ; PBX core, so it does *not* make sense to use any application which has any
michael@202 80 ; concept of dialplan flow. Examples of this would be things like Macro, Goto,
michael@202 81 ; Background, WaitExten, and many more.
michael@202 82 ;
michael@202 83 ; Enabling these features means that the PBX needs to stay in the media flow and
michael@202 84 ; media will not be re-directed if DTMF is sent in the media stream.
michael@202 85 ;
michael@202 86 ; Example Usage:
michael@202 87 ;
michael@202 88 ;testfeature => #9,peer,Playback,tt-monkeys ;Allow both the caller and callee to play
michael@202 89 ; ;tt-monkeys to the opposite channel
michael@202 90 ;
michael@202 91 ;pauseMonitor => #1,self/callee,Pausemonitor ;Allow the callee to pause monitoring
michael@202 92 ; ;on their channel
michael@202 93 ;unpauseMonitor => #3,self/callee,UnPauseMonitor ;Allow the callee to unpause monitoring
michael@202 94 ; ;on their channel
michael@202 95 ;

mercurial