projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61927f7
)
Fix inverted test preventing DTMF disconnect from working.
author
Richard Mudgett
<rmudgett@digium.com>
Thu, 23 May 2013 18:40:50 +0000
(18:40 +0000)
committer
Richard Mudgett
<rmudgett@digium.com>
Thu, 23 May 2013 18:40:50 +0000
(18:40 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@389569
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/features.c
patch
|
blob
|
history
diff --git
a/main/features.c
b/main/features.c
index
be872a8
..
69355e9
100644
(file)
--- a/
main/features.c
+++ b/
main/features.c
@@
-4181,7
+4181,7
@@
static int setup_bridge_features_builtin(struct ast_bridge_features *features, s
}
if (ast_test_flag(flags, AST_FEATURE_DISCONNECT)) {
builtin_feature_get_exten(chan, "disconnect", dtmf, sizeof(dtmf));
- if (ast_strlen_zero(dtmf)) {
+ if (!ast_strlen_zero(dtmf)) {
res |= ast_bridge_features_enable(features, AST_BRIDGE_BUILTIN_HANGUP, dtmf, NULL, NULL, 1);
}
}