From 969e1c660dc6726272a38411f9e1649a8d8a0582 Mon Sep 17 00:00:00 2001 From: mikec Date: Tue, 25 Mar 2008 21:00:08 +0000 Subject: [PATCH] Added a features.conf.sample that has Asterisk's blind transfer ability effectively disabled. Made install.pl install features.conf.sample if the user selects to install Asterisk config samples. git-svn-id: svn://192.168.202.10@813 3d104415-ff17-0410-8863-d5cf3c621b8a --- .../docs/conf_examples/features.conf.sample | 53 +++++++++++++++++++ agc_2-X/trunk/install.pl | 1 + 2 files changed, 54 insertions(+) create mode 100644 agc_2-X/trunk/docs/conf_examples/features.conf.sample diff --git a/agc_2-X/trunk/docs/conf_examples/features.conf.sample b/agc_2-X/trunk/docs/conf_examples/features.conf.sample new file mode 100644 index 00000000..f330de93 --- /dev/null +++ b/agc_2-X/trunk/docs/conf_examples/features.conf.sample @@ -0,0 +1,53 @@ +; +; Sample Parking configuration +; + +[general] +parkext => 700 ; What extension to dial to park +parkpos => 701-720 ; What extensions to park calls on. These needs to be + ; numeric, as Asterisk starts from the start position + ; and increments with one for the next parked call. +context => parkedcalls ; Which context parked calls are in +;parkingtime => 45 ; Number of seconds a call can be parked for + ; (default is 45 seconds) +;transferdigittimeout => 3 ; Number of seconds to wait between digits when transferring a call +;courtesytone = beep ; Sound file to play to the parked caller + ; when someone dials a parked call +;xfersound = beep ; to indicate an attended transfer is complete +;xferfailsound = beeperr ; to indicate a failed transfer +;adsipark = yes ; if you want ADSI parking announcements +;findslot => next ; Continue to the 'next' free parking space. + ; Defaults to 'first' available +;pickupexten = *8 ; Configure the pickup extension. Default is *8 +;featuredigittimeout = 500 ; Max time (ms) between digits for + ; feature activation. Default is 500 + + +[featuremap] +;blindxfer => #1 ; Blind transfer +;disconnect => *0 ; Disconnect +;automon => *1 ; One Touch Record +;atxfer => *2 ; Attended transfer + + +; ATTENTION VICIDIAL ADMINS: +; The follow effectively disables the built in blind transfer feature of Asterisk. +; This sets it to a DTMF tone that asterisk cannot even process, that is only available +; on certain telco style test sets. This does NOT disable the VICIDIAL blind transfer +; abilityi as this is implemented through other means. If you are using your VICIDIAL +; server as PBX you may want to comment this out. Be aware however that this can make +; it so that anyone can transfer the call to anyone else that is allowed by your dialplan. +; IE someone you have called could transfer the call to a their mother, the Pope, or +; a 900 number if you do not have your dialplan carefully setup. + +blindxfer => D + + +[applicationmap] +; Note that the DYNAMIC_FEATURES channel variable must be set to use the features +; defined here. The value of DYNAMIC_FEATURES should be the names of the features +; to allow the channel to use separated by '#'. For example: +; Set(DYNAMIC_FEATURES=myfeature1#myfeature2#myfeature3) +; +;testfeature => #9,callee,Playback,tt-monkeys ;Play tt-monkeys to + ;callee if #9 was pressed diff --git a/agc_2-X/trunk/install.pl b/agc_2-X/trunk/install.pl index 3c1b25b9..7941b287 100644 --- a/agc_2-X/trunk/install.pl +++ b/agc_2-X/trunk/install.pl @@ -2195,6 +2195,7 @@ if ($PROMPTcopy_conf_files =~ /y/i) `cp -f ./docs/conf_examples/logger.conf.sample /etc/asterisk/logger.conf`; `cp -f ./docs/conf_examples/iax.conf.sample /etc/asterisk/iax.conf`; `cp -f ./docs/conf_examples/dnsmgr.conf.sample /etc/asterisk/dnsmgr.conf`; + `cp -f ./docs/conf_examples/features.conf.sample /etc/asterisk/features.conf`; }