diff options
author | Mark Michelson <mmichelson@digium.com> | 2008-10-30 16:38:19 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2008-10-30 16:38:19 +0000 |
commit | de90c84b1ae659fcfb9f4b0aeb6dc79f56d9444c (patch) | |
tree | 2ac122ef0b88f8ff8a385b7a16f32e9a8f685dd5 | |
parent | 48d17a76d0948fc5b27c75a23809e8f0269e01de (diff) |
After seeing another problem in #asterisk stemming from
the low default value of featuredigittimeout, I decided it
was high time to change it. I have changed the default to
2000 ms based on a suggestion from Leif Madsen.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152807 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | CHANGES | 1 | ||||
-rw-r--r-- | configs/features.conf.sample | 4 | ||||
-rw-r--r-- | main/features.c | 2 |
3 files changed, 4 insertions, 3 deletions
@@ -769,6 +769,7 @@ Call Features (res_features) Changes the first one available. * Added cli command 'features reload' to reload call features from features.conf * Moved into core asterisk binary. + * Changed the default setting for featuredigittimeout to 2000 ms from 500 ms. Language Support Changes ------------------------ diff --git a/configs/features.conf.sample b/configs/features.conf.sample index 90faa1236..924647614 100644 --- a/configs/features.conf.sample +++ b/configs/features.conf.sample @@ -35,8 +35,8 @@ context => parkedcalls ; Which context parked calls are in (default parking lot ;xfersound = beep ; to indicate an attended transfer is complete ;xferfailsound = beeperr ; to indicate a failed transfer ;pickupexten = *8 ; Configure the pickup extension. (default is *8) -;featuredigittimeout = 500 ; Max time (ms) between digits for - ; feature activation (default is 500 ms) +;featuredigittimeout = 2000 ; Max time (ms) between digits for + ; feature activation (default is 2000 ms) ;atxfernoanswertimeout = 15 ; Timeout for answer on attended transfer default is 15 seconds. ;atxferdropcall = no ; If someone does an attended transfer, then hangs up before the transferred ; caller is connected, then by default, the system will try to call back the diff --git a/main/features.c b/main/features.c index ef07b23db..0d3e2c64c 100644 --- a/main/features.c +++ b/main/features.c @@ -58,7 +58,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #define DEFAULT_PARK_TIME 45000 #define DEFAULT_TRANSFER_DIGIT_TIMEOUT 3000 -#define DEFAULT_FEATURE_DIGIT_TIMEOUT 500 +#define DEFAULT_FEATURE_DIGIT_TIMEOUT 2000 #define DEFAULT_NOANSWER_TIMEOUT_ATTENDED_TRANSFER 15000 #define DEFAULT_PARKINGLOT "default" /*!< Default parking lot */ #define DEFAULT_ATXFER_DROP_CALL 0 |