Make sure time limit is the "backup" one when interpreting features
authorMark Spencer <markster@digium.com>
Wed, 5 Jan 2005 22:13:37 +0000 (22:13 +0000)
committerMark Spencer <markster@digium.com>
Wed, 5 Jan 2005 22:13:37 +0000 (22:13 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4681 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_features.c

index ea911b9..84e22cf 100755 (executable)
@@ -956,6 +956,7 @@ int ast_bridge_call(struct ast_channel *chan,struct ast_channel *peer,struct ast
                                featurecode = peer_featurecode;
                        }
                        featurecode[strlen(featurecode)] = f->subclass;
+                       config->timelimit = backup_config.timelimit;
                        res = ast_feature_interpret(chan, peer, config, featurecode, sense);
                        switch(res) {
                        case FEATURE_RETURN_PASSDIGITS: