diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-01 23:07:06 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-01 23:07:06 +0000 |
commit | 38e08dc15bf892b9e117f636911ab1bb4b9dee2b (patch) | |
tree | 79fef18ec8c45e67291404d5718a740a1988202b /res | |
parent | 71c993303b7625c29438c3dacaea33f4ac495f0e (diff) |
ensure that the 'feature digit timeout' value is taken into account when deciding how long the bridge should run (this fixes a problem report where a digit press that did not invoke a feature is never passed across the bridge)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38686 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r-- | res/res_features.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_features.c b/res/res_features.c index 703b7fd82..3d6f22cc5 100644 --- a/res/res_features.c +++ b/res/res_features.c @@ -1472,6 +1472,7 @@ int ast_bridge_call(struct ast_channel *chan,struct ast_channel *peer,struct ast config->start_sound = NULL; config->firstpass = 0; } + config->start_time = ast_tvnow(); config->feature_timer = featuredigittimeout; ast_log(LOG_DEBUG, "Set time limit to %ld\n", config->feature_timer); } |