diff options
author | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-26 21:27:32 +0000 |
---|---|---|
committer | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-26 21:27:32 +0000 |
commit | 60f5d61f33736941acf99d8009385ab30bdfbc79 (patch) | |
tree | 0d15eca2eb589f499429501db58d3fa8647135d1 | |
parent | 9f3112ab81363804f57f09dde2e673025c427731 (diff) |
This change moves the default feature digit timeout to 1000 ms from the previous default of 500.
As per bug 14515, a dev discussion arrived at a "mediated concensus"
of a default feature digit timeout of 1.0 sec. Some voted for 1300;
ctooley thought 1500 for distracted phone users in phone booths;
kpfleming put his foot down at 1.0 sec.
Users who found the previous default max delay of 250 msec perfect,
are welcome to override the new default. Notice that I said that
250 msec was the default; wait a minute, you might say, the config
file said it was 500 msec!; well, because of the bug fix for 14515,
we found that 500 msec was actually enforcing a max of 250. The bug
fix would restore 500 msec, but we felt even that was a bit tight
for most users... 2000 msec was pushed earlier by mmichelson, so
that reduces to 1000 msec after the bug fix. Enjoy!
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@178956 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | configs/features.conf.sample | 6 | ||||
-rw-r--r-- | res/res_features.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/configs/features.conf.sample b/configs/features.conf.sample index c5949a97f..2dda81f04 100644 --- a/configs/features.conf.sample +++ b/configs/features.conf.sample @@ -35,9 +35,9 @@ context => parkedcalls ; Which context parked calls are in ;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) -;atxfernoanswertimeout = 15 ; Timeout for answer on attended transfer default is 15 seconds. +;featuredigittimeout = 1000 ; Max time (ms) between digits for + ; feature activation (default is 1000 ms) +;atxfernoanswertimeout = 15 ; Timeout for answer on attended transfer default is 15 seconds. ; Note that the DTMF features listed below only work when two channels have answered and are bridged together. ; They can not be used while the remote party is ringing or in progress. If you require this feature you can use diff --git a/res/res_features.c b/res/res_features.c index 98983270a..819481e8b 100644 --- a/res/res_features.c +++ b/res/res_features.c @@ -66,7 +66,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 1000 #define DEFAULT_NOANSWER_TIMEOUT_ATTENDED_TRANSFER 15000 #define AST_MAX_WATCHERS 256 |